1. 14 Jun, 2023 1 commit
    • LouiseHsu's avatar
      Remove temporary default case for PointerSignalKind (#128900) · 4effd9c4
      LouiseHsu authored
      This PR cleans up some prep that was added as part of
      https://github.com/flutter/flutter/pull/120731 which was done to unblock
      https://github.com/flutter/engine/pull/39637
      Since the work done in that PR was reverted, this should be removed.
      
      ## Pre-launch Checklist
      
      - [x] I read the [Contributor Guide] and followed the process outlined
      there for submitting PRs.
      - [x] I read the [Tree Hygiene] wiki page, which explains my
      responsibilities.
      - [x] I read and followed the [Flutter Style Guide], including [Features
      we expect every widget to implement].
      - [x] I signed the [CLA].
      - [x] I listed at least one issue that this PR fixes in the description
      above.
      - [x] I updated/added relevant documentation (doc comments with `///`).
      - [ ] I added new tests to check the change I am making, or this PR is
      [test-exempt].
      - [x] All existing and new tests are passing.
      4effd9c4
  2. 08 Jun, 2023 1 commit
  3. 07 Jun, 2023 1 commit
  4. 23 Mar, 2023 1 commit
  5. 15 Feb, 2023 1 commit
  6. 30 Jan, 2023 1 commit
  7. 23 Jan, 2023 1 commit
  8. 05 Oct, 2022 1 commit
  9. 22 Sep, 2022 1 commit
  10. 21 Jul, 2022 1 commit
  11. 19 Jul, 2022 1 commit
  12. 18 Jul, 2022 1 commit
  13. 07 Jul, 2022 1 commit
  14. 17 Jun, 2022 1 commit
  15. 13 Apr, 2022 1 commit
    • Callum Moffat's avatar
      Support trackpad gestures in framework (#89944) · 30a50180
      Callum Moffat authored
      * Implement trackpad gestures in framework
      
      * Touch and Pan/Zoom pointers have separate IDs now
      
      * Handle trackpad pointer device type
      
      * Respect supportedDevices for pan/zoom events
      
      * Update after rebase
      
      * Fix check failures
      
      * Avoid error with very short drags
      
      * Address feedback
      
      * Refactor drag event handler
      
      * Address more feedback
      
      * Add some missing punctuation
      30a50180
  16. 01 Feb, 2022 1 commit
  17. 12 Dec, 2021 1 commit
  18. 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
  19. 18 Mar, 2021 1 commit
  20. 09 Nov, 2020 1 commit
  21. 15 Oct, 2020 1 commit
  22. 27 Aug, 2020 1 commit
  23. 28 Jul, 2020 1 commit
  24. 08 Jul, 2020 1 commit
  25. 07 Jul, 2020 2 commits
  26. 11 Jun, 2020 2 commits
  27. 07 Jan, 2020 2 commits
  28. 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
  29. 20 Nov, 2019 1 commit
  30. 30 May, 2019 1 commit
    • Greg Spencer's avatar
      Fix onExit calling when the mouse is removed. (#33477) · 07aede4c
      Greg Spencer authored
      This PR solves two problems: currently, the onExit is called for a mouse pointer the moment the removal message is received, except that by the time it actually calls it, there is no _lastEvent for it in the mouse tracker (it's already been removed), resulting in an event being passed to the onExit that contains nulls for the position. Also, removePointer events don't actually get created with a position, although they easily could be, so that even the the _lastEvent in the mouse tracker were still populated, it would still give a null position and delta.
      
      This PR adds support for the position and delta in a PointerRemovedEvent, and populates them. In addition, when a remove event is received, it doesn't actually remove the pointer until the mouse position check that gets scheduled actually happens.
      07aede4c
  31. 20 May, 2019 1 commit
  32. 03 May, 2019 1 commit
  33. 01 May, 2019 1 commit
  34. 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
  35. 10 Apr, 2019 2 commits
  36. 05 Apr, 2019 1 commit