1. 29 Nov, 2023 2 commits
  2. 22 Nov, 2023 1 commit
  3. 21 Nov, 2023 1 commit
  4. 15 Nov, 2023 2 commits
  5. 22 Oct, 2023 1 commit
    • Todd Volkert's avatar
      Add timeline events for post frame callbacks (#136435) · cb9a3f69
      Todd Volkert authored
      Before this change, long-running post-frame callbacks wouldn't show up in the timeline at all.  This adds a timeline event for post-frame callbacks, with a debug flag that will add timeline events for each individual callback.
      
      #testexempt -- we have no way to test calls to the timeline.
      cb9a3f69
  6. 09 Jun, 2023 1 commit
    • Tong Mu's avatar
      Remove single view assumption from MouseTracker, and unify its hit testing code flow (#127060) · ab3c5bfc
      Tong Mu authored
      This is a refactor to make `MouseTracker` use the same callback for both kinds of device update. Instead of using two different callbacks for the two device updating methods, `MouseTracker` now receives a hit testing callback at construction, which is the same hit testing method as the one used for other gestures.
      
      This PR not only makes the code cleaner, but also removes the single view assumption from `MouseTracker`, whose code no longer refers to `RendererBinding.renderView`. In the future, we only need to modify `hitTest` (which we will have to do to support gestures for multi-view anyway) to make mouse tracker support multi-view.
      ab3c5bfc
  7. 08 Jun, 2023 1 commit
  8. 07 Jun, 2023 1 commit
  9. 15 Mar, 2023 1 commit
  10. 01 Feb, 2023 1 commit
  11. 31 Jan, 2023 1 commit
  12. 23 Jan, 2023 1 commit
  13. 19 Aug, 2022 1 commit
  14. 24 Jun, 2022 1 commit
  15. 17 Jun, 2022 1 commit
  16. 25 May, 2022 2 commits
    • Pierre-Louis's avatar
      Use `curly_braces_in_flow_control_structures` for `foundation`, `gestures`,... · 9cc72df7
      Pierre-Louis authored
      Use `curly_braces_in_flow_control_structures` for `foundation`, `gestures`, `painting`, `physics` (#104610)
      
      * Use `curly_braces_in_flow_control_structures` for `foundation`
      
      * Use `curly_braces_in_flow_control_structures` for `gestures`
      
      * Use `curly_braces_in_flow_control_structures` for `painting`
      
      * Use `curly_braces_in_flow_control_structures` for `physics`
      
      * fix comments
      
      * remove trailing space
      
      * fix TODO style
      9cc72df7
    • Greg Spencer's avatar
      A bunch of cleanups and a missing `ShortcutRegistar` in `WidgetsApp` (#104560) · 0a417c3b
      Greg Spencer authored
      A bunch of random cleanup things I found while doing MenuBar development.
      
      Changes an if test to an assert in binding.dart, since the if should always be true.
      Adds the default ShortcutRegistrar that should have been in the ShortcutRegistry PR.
      Moves a debug message in the FocusManager to print the result after the focus change instead of before.
      Reorders the test parameters in theme_data_test.dart to match the order of the theme data fields everywhere else.
      0a417c3b
  17. 14 Apr, 2022 1 commit
  18. 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
  19. 04 Mar, 2022 1 commit
  20. 09 Feb, 2022 1 commit
  21. 03 Feb, 2022 1 commit
  22. 12 Dec, 2021 1 commit
  23. 08 Oct, 2021 3 commits
  24. 15 Jul, 2021 1 commit
  25. 14 Jul, 2021 3 commits
  26. 13 Jul, 2021 2 commits
  27. 12 Jun, 2021 1 commit
  28. 15 Apr, 2021 1 commit
  29. 17 Feb, 2021 3 commits
  30. 12 Nov, 2020 1 commit
    • Greg Spencer's avatar
      Revert usages of the binding's platformDispatcher to use window instead (#70319) · 86f9ab51
      Greg Spencer authored
      This reverts usages of the binding's platformDispatcher to use window again temporarily, because there isn't a TestPlatformDispatcher yet, and so some tests were failing because they mocked the TestWindow to return certain things (locales) that were returning the real values instead of the test values.
      
      Once I've created a TestPlatformDispatcher to allow fake data to be passed to it, we can go back to using the platformDispatcher in all of these places
      86f9ab51