- 01 Oct, 2020 1 commit
-
-
Phil Quitslund authored
-
- 17 Sep, 2020 2 commits
-
-
Matěj Žídek authored
-
Jonah Williams authored
Deprecate VelocityTracker default constructor and added VelocityTracker.withKind constructor (#66043) We've gotten feedback that the VelocityTracker change was disruptive, though it did not break any of the flutter framework or customer tests. In order to make the change non-breaking, PointerDeviceKind parameter can be made optional. Nevertheless, this parameter should be provided so that the existing touch handlers can use more accurate gestures on mouse/stylus inputs, so we can encourage this by deprecating the default constructor and pointing users towards the VelocityTracker.withKind constructor that takes a non-optional parameter
-
- 16 Sep, 2020 1 commit
-
-
Tong Mu authored
Expose GestureBinding.handlePointerEvent, replacing dispatchEvent as the preferred way to dispatch events (#64846)
-
- 08 Sep, 2020 1 commit
-
-
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
-
- 28 Aug, 2020 1 commit
-
-
Paul Berry authored
-
- 27 Aug, 2020 1 commit
-
-
Ian Hickson authored
-
- 24 Aug, 2020 2 commits
-
-
Todd Volkert authored
* Add GestureDetector.onDoubleTapDown() * Review comments
-
David Reveman authored
-
- 20 Aug, 2020 2 commits
-
-
Paul Berry authored
-
Tong Mu authored
* Redesigns the interface between MouseTracker and RendererBinding&RenderView. * Simplifies the structure of RenderMouseRegion. * Extracts the common utility code between mouse_tracker_test and mouse_tracker_cursor_test.
-
- 12 Aug, 2020 1 commit
-
-
LongCatIsLooong authored
-
- 08 Aug, 2020 1 commit
-
-
creativecreatorormaybenot authored
-
- 06 Aug, 2020 2 commits
-
-
Nolan Scobie authored
* Add punctuation for unterminated sentences in doc comments * Addressing review nit
-
Mouad Debbar authored
-
- 28 Jul, 2020 3 commits
-
-
Michael Goderbauer authored
-
Alexandre Ardhuin authored
-
-
- 24 Jul, 2020 1 commit
-
-
Kate Lovett authored
-
- 14 Jul, 2020 1 commit
-
-
Todd Volkert authored
-
- 08 Jul, 2020 1 commit
-
-
Kaushik Iska authored
-
- 07 Jul, 2020 3 commits
-
-
Kaushik Iska authored
This reverts commit 2ab50994.
-
Kaushik Iska authored
This field is used to look-up the event in the platform that resuted a given `PointerEvent`. This is currently only used on Android, where the `embedderId` is set to be the `motionEventId` for a given `MotionEvent`. Roll engine to d0d6a4c2362d2ed478006bb3b01c34c0e96033b4
-
Tong Mu authored
-
- 11 Jun, 2020 2 commits
-
-
Alexandre Ardhuin authored
* add language version 2.8 in packages/flutter * enable non-nullable analyzer flag
-
Darren Austin authored
-
- 02 Jun, 2020 1 commit
-
-
Ian Hickson authored
-
- 18 May, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 11 May, 2020 1 commit
-
-
Tong Mu authored
Adds the basic framework for the mouse cursor system. * Adds MouseRegion.cursor * Adds SystemMouseCursors * Adds mouseCursor to some widgets
-
- 06 May, 2020 1 commit
-
-
Kate Lovett authored
-
- 01 May, 2020 1 commit
-
-
Greg Spencer authored
-
- 06 Apr, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 Mar, 2020 1 commit
-
-
Ferhat authored
-
- 20 Mar, 2020 1 commit
-
-
Tong Mu authored
* Move mouse_tracking to rendering * Move test
-
- 13 Mar, 2020 1 commit
-
-
Tong Mu authored
* TapGestureRecognizer no longer adds the pointer after it resets. * Adds an assertion to make sure TapGestureRecognizer.startTrackingPointer is never called when _down is null
-
- 11 Mar, 2020 1 commit
-
-
Greg Spencer authored
This converts Diagnosticable to be a mixin instead of an abstract class, so that it can be used to add diagnostics to classes which already have a base class. It leaves in place the DiagnosticableMixin mixin, since there are some plugins that are still using it, and removing it would mean that those plugins wouldn't work with master branch Flutter anymore. DiagnosticableMixin will be removed once this mixin version of Diagnosticable makes its way to the stable branch.
-
- 21 Feb, 2020 1 commit
-
-
Tanat Boozayaangool authored
-
- 31 Jan, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 28 Jan, 2020 2 commits