vsmenon
0ef67b5e74
opt out dart:ui from nnbd ( #16473 )
...
* opt out dart:ui from nnbd
* Annotate tests as well
2020-02-20 11:04:00 -08:00
chunhtai
132d38cd22
Moves pointer event sanitizing to engine. ( #13697 )
...
* Moves pointer event sanitizing to engine
* fix comment format
* fix formatting
* addressing comment
* fix format
* fix format
* addressing comment
2019-11-19 09:48:25 -08:00
Dan Field
2b1f9925e4
new lints ( #8849 )
...
Dart lints added:
* Avoid optional new
* Avoid optional const
* Prefer single quotes
* Prefer default assignment `=`
2019-05-07 16:10:21 -07:00
Jonah Williams
1d062db4db
remove unecessary usage of runtimeType in dart:ui ( #8844 )
2019-05-04 00:24:41 -07:00
Jonah Williams
ca0bac4fb0
Revert "add signal to pointer kinds" ( #8066 )
2019-03-06 20:55:34 -08:00
Jonah Williams
3fb627f2c0
add signal to pointer kinds ( #8065 )
2019-03-06 18:45:01 -08:00
stuartmorgan
dd80fc9ff6
Add engine support for scrollwheel events ( #7494 )
...
Adds support for pointer signals, in a way that will support both discrete events (e.g., scroll wheels, flutter/flutter#22762 ) and continuous gestures (e.g., trackpad scroll, flutter/flutter#21953 ).
Also exposes these new event options to the embedder. Does not include code to send the
new events from the platform shells.
2019-03-05 14:12:07 -08:00
Michael Goderbauer
70a1106b50
Unify copyright lines ( #6757 )
2018-11-07 12:24:35 -08:00
Stanislav Baranov
b5758d0d38
Propagate positions of secondary pointers in UP events on Android ( #6716 )
2018-11-02 10:51:35 -07:00
Stanislav Baranov
dd791f36ac
Propagate pointer size from Android MotionEvent ( #6662 )
2018-10-26 09:39:10 -07:00
amirh
3b66f20d96
Don't drop MotionEvents with unknown tool type. ( #5931 )
...
Instead, send them with the new unknown PointerDeviceKind.
We hit this when running `adb shell input tap` in tests which sends events with
an unknown tool type.
This also fills in a missing conversion for TOOL_TYPE_ERASER.
2018-08-02 16:05:55 -07:00
Jason Simmons
e2c4b27600
Use Dart 2 camel case constants in the engine Dart libraries ( #4766 )
2018-03-09 13:11:21 -08:00
Adam Barth
3ed4684a09
Rename library to dart.ui ( #3608 )
...
This name is consistent with how the other `dart:` libraries are named now.
2017-04-19 09:56:22 -07:00
Adam Barth
d1bc4c4850
Add support for hover pointer events ( #3227 )
...
These are implemented on macOS and Fuchsia.
2016-11-15 20:18:22 -08:00
Adam Barth
1a40ee953a
PointerChange.cancel should have a zero index ( #3135 )
...
To make the default state all zeros.
Fixes https://github.com/flutter/flutter/issues/6236
2016-10-14 15:46:46 -07:00
Adam Barth
613c86f2b4
Fix analyze.sh
2016-09-28 17:05:36 -07:00
Adam Barth
5f7b060522
Switch to manually encoded pointer data ( #3073 )
...
Rather than using mojom to encode pointer data, we now encode and decode it
manually. A future patch will remove the mojom codepath once the framework is
updated.
2016-09-28 15:50:09 -07:00