1. 03 Mar, 2022 1 commit
  2. 03 Feb, 2022 1 commit
  3. 08 Oct, 2021 3 commits
  4. 19 Jul, 2021 1 commit
    • Callum Moffat's avatar
      Don't synthesize primary pointer button unless buttons = 0 (#85808) · 6909c544
      Callum Moffat authored
      Some embeddings might send pointer events with buttons = 0x2 (right-click) for touch or stylus device kinds. If the primary button is synthesized for those events, they won't behave properly. Without this change it's not possible to trigger "secondary tap" events on a TapGestureRecognizer while using a stylus or on an iPad trackpad, since that recognizer will receive buttons = 0x3.
      6909c544
  5. 15 Jul, 2021 1 commit
  6. 14 Jul, 2021 3 commits
  7. 13 Jul, 2021 2 commits
  8. 22 Apr, 2021 1 commit
  9. 16 Mar, 2021 2 commits
  10. 15 Mar, 2021 1 commit
  11. 17 Feb, 2021 3 commits
  12. 05 Oct, 2020 2 commits
  13. 02 Oct, 2020 1 commit
    • Tong Mu's avatar
      Lazily compute PointerEvent's transformed positions (#63813) · 74fe6bff
      Tong Mu authored
      * PointerEvent.local* properties are calculated lazily; other properties are delegated to original.
      * Transformed PointerEvent becomes a subclass of its original class.
      * Unnamed constructors no longer accepts transform and origin.
      74fe6bff
  14. 27 Aug, 2020 1 commit
  15. 24 Aug, 2020 1 commit
  16. 11 Jun, 2020 1 commit
  17. 07 Jan, 2020 1 commit
  18. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  19. 20 Nov, 2019 1 commit
  20. 30 Sep, 2019 1 commit
  21. 25 May, 2019 1 commit
    • Chris Bracken's avatar
      Americanise spellings (#33323) · 156b4220
      Chris Bracken authored
      Updates documentation and non-public API to use American spellings for
      consistency with the rest of the codebase.
      
      No changes to behaviour... other than how it's spelt.
      156b4220
  22. 20 May, 2019 1 commit
  23. 01 May, 2019 1 commit
  24. 30 Apr, 2019 1 commit
    • Tong Mu's avatar
      Redo: Add buttons to gestures (#31819) · fea2c7d6
      Tong Mu authored
      * Revert "Revert "Add buttons to gestures (#30339)" (#31801)"
      
      This reverts commit 8fd7fa49.
      
      * Synthesise kPrimaryButton for unknown devices
      
      * Change TestPointer to a better API
      fea2c7d6
  25. 05 Apr, 2019 1 commit
  26. 04 Apr, 2019 2 commits
    • Tong Mu's avatar
      Touching the screen adds `0x01` to buttons (#30457) · 13101c1a
      Tong Mu authored
      * Add constants `kPrimaryButton`, `kTouchContact` and `kStylusContact`
      * PointerDownEvent and PointerMoveEvent will always set the 0x01 bit on buttons
      13101c1a
    • Tong Mu's avatar
      Fix edge cases of PointerEventConverter (#29998) · 423cf223
      Tong Mu authored
      * Fix: ui.PointerChange.remove might contain position change, but we used to expand it into a Cancel and Remove, neither of which allows position change. A Hover event is added, and a test is updated accordingly.
      * Fixed the issue where a PointerMoveEvent and a PointerCancelEvent do not receive the correct pressure.
      * Refactor the calculation of delta into deltaTo.
      423cf223
  27. 11 Mar, 2019 1 commit
    • stuartmorgan's avatar
      Add support for scrollwheels (#22762) · 5922a40e
      stuartmorgan authored
      Adds support for discrete scroll events, such as those sent by a scroll wheel.
      
      Includes the plumbing to convert, dispatch, and handle these events, as well as
      Scrollable support for consuming them.
      5922a40e
  28. 29 Jan, 2019 1 commit
    • Greg Spencer's avatar
      Implement hover support for mouse pointers. (#24830) · 1811d574
      Greg Spencer authored
      This implements support for hovering mouse pointers, so that mice connected to Android devices, and ChromeOS devices running Android apps will work properly.
      
      It teaches flutter_test about hover events, which required changing how they are created and used.
      
      Also modifies AnnotatedRegion to allow a region that can be located someplace other than just the origin.
      
      Along with tests for all of the above.
      
      Fixes #5504
      1811d574
  29. 14 Sep, 2018 1 commit
  30. 12 Sep, 2018 1 commit