1. 16 Sep, 2020 1 commit
  2. 10 Sep, 2020 1 commit
  3. 08 Sep, 2020 1 commit
    • Jonah Williams's avatar
      [framework] make hit slop based on device pointer kind for drag/pan/scale gestures (#64267) · 29898812
      Jonah Williams authored
      Currently the framework uses fairly large "hit slop" values to disambiguate taps from drags/pans. This makes sense on touch devices where the interaction is not very precise, on mice however it can feel as if the UI is lagging. This is immediately noticeable on our infra dashboard, where it takes almost half of a grid square of drag before the actual drag kicks in.
      
      One potential solution is to always use smaller constants depending on whether the interaction is mouse or touch based. The only reasonable choice is to use the pointer device kind and not target platform - same platform can have different input sources. This requires exposing the pointer device kind in a few new places in several of the gesture detectors, and using the enum to compute the correct hit slop from an expanded set of constants.
      
      This almost works, however there are a few places (notably ListViews) which uses the touch hit slop as a default value in scroll physics. It does not seem like it will be easy to disambiguate a user provided scroll physics constant from the default and/or adjust it somehow - this might require significant changes to scroll physics which I have left out of this PR.
      
      This PR does not adjust:
      
      kTouchSlop used in scroll_physics.dart's minFlingDistance
      kTouchSlop used in PrimaryPointerGestureRecognizer/LongPressGestureRecognizer
      29898812
  4. 02 Sep, 2020 1 commit
  5. 19 Aug, 2020 2 commits
  6. 15 Aug, 2020 1 commit
  7. 12 Aug, 2020 2 commits
  8. 11 Aug, 2020 2 commits
  9. 06 Aug, 2020 1 commit
  10. 04 Aug, 2020 2 commits
  11. 03 Aug, 2020 1 commit
  12. 28 Jul, 2020 1 commit
  13. 24 Jul, 2020 2 commits
  14. 21 Jul, 2020 2 commits
  15. 20 Jul, 2020 2 commits
  16. 17 Jul, 2020 2 commits
  17. 16 Jul, 2020 3 commits
  18. 09 Jul, 2020 1 commit
  19. 07 Jul, 2020 1 commit
  20. 23 Jun, 2020 1 commit
    • Jonah Williams's avatar
      [versions] update all versions and fix tool tests (#60127) · 37db92be
      Jonah Williams authored
      Update all versions, specifically file which fixes some bugs that caused tests to fail if run in different orders:
      
      - systemTemp directories created by MemoryFileSystem will allot names based on the file system instance instead of globally.
      - MemoryFile.readAsLines()/readAsLinesSync() no longer treat a final newline in the file as the start of a new, empty line.
      - RecordingFile.readAsLine()/readAsLinesSync() now always record a final newline.
      37db92be
  21. 19 Jun, 2020 1 commit
  22. 15 Jun, 2020 1 commit
  23. 11 Jun, 2020 1 commit
  24. 29 May, 2020 1 commit
  25. 16 May, 2020 1 commit
  26. 13 May, 2020 1 commit
  27. 01 May, 2020 1 commit
  28. 23 Apr, 2020 1 commit
  29. 22 Apr, 2020 1 commit
  30. 16 Apr, 2020 1 commit