jslavitz
c57e66fdae
fixes android pressure range ( #7516 )
2019-01-22 15:09:02 -08:00
Greg Spencer
918b28dbe1
Add hover event support to the engine ( #6961 )
...
This adds support for passing ACTION_HOVER_MOVE events to the framework, in preparation for supporting mouse hover events on Android and ChromeOS.
2019-01-14 16:15:20 -08:00
matthew-carroll
6b85ed3d93
Android embedding refactor PR1: JNI Extraction to FlutterJNI.java ( #7098 )
...
Android embedding refactor: JNI Extraction to FlutterJNI.java
2018-12-21 01:07:04 -05:00
Jason Simmons
41222d0555
Update usage of some Android APIs that are deprecated in API level 28 ( #7261 )
2018-12-19 17:39:53 -08:00
Todd Volkert
f79f7f6312
Allow inferred types using diamond syntax ( #7237 )
2018-12-17 16:35:10 -08:00
liyuqian
2bd75ae8ba
Support querying display refresh rate in engine ( #7002 )
...
The current implementation only deals with Android devices and we'll add iOS devices support soon.
2018-12-12 10:28:44 -08:00
Dan Field
114d33d3ca
Set and unset accessibility flags even when re-entrant ( #6853 )
...
* Make sure to not unset a11y flags on reentrant calls to API
2018-11-13 23:54:45 -08:00
Michael Goderbauer
70a1106b50
Unify copyright lines ( #6757 )
2018-11-07 12:24:35 -08:00
Todd Volkert
4cdddbac42
Fix String comparison as if Java were Dart. ( #6781 )
...
This also removes unused imports and sorts imports correctly
2018-11-07 09:59:51 -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
Gary Qian
8cb3965a3e
Properly gate android API < 21 and remove extraneous data array. ( #6619 )
2018-10-19 15:01:43 -07:00
Gary Qian
09dcc3d5ee
Gate locale.getScript() behind version check for android API < 21 ( #6592 )
2018-10-18 14:03:48 -07:00
Gary Qian
35340ceaf0
Pass full locale list with script and variant codes to framework ( #6557 )
...
* Locale Passing
* Pass full locale list and script and variant codes to framework
* Working Android locale list passing and fallback
2018-10-17 10:53:01 -07:00
Gary Qian
61cf4c01fd
Pass scriptcode and variantcode to dart:ui Window. ( #6493 )
2018-10-10 17:22:59 -07:00
Jason Simmons
155ba09619
Use an older version of SurfaceTexture.setOnFrameAvailableListener when running on pre-Lollipop devices ( #6489 )
...
Fixes https://github.com/flutter/flutter/issues/21730
2018-10-10 15:01:48 -07:00
Gary Qian
74625aed32
Keyboard padding detection heuristic to distringuish when to include bottom inset. ( #6288 )
...
Use a screen height ratio to determine if the keyboard is onscreen or not. This is used because Android does not provide a deterministic API to detect this.
We remove the padding when the keyboard is closed and the inset is due to the hidden navigation bar, otherwise, we apply the full keyboard inset.
2018-09-24 11:38:13 -07:00
Gary Qian
f3d51b0cfb
Fix Top, Left, and Right padding for fullscreen android apps. ( #6282 )
...
* Fix Top, Left, and Right padding for fullscreen apps.
* Fix minor nits and comments, simple logic inversion
2018-09-19 18:09:10 -07:00
Michael Klimushyn
108e0a64ef
Add transparency helpers to FlutterView.java ( #6172 )
...
Fixes #9627
2018-09-05 16:47:02 -07:00
Michael Klimushyn
0981731fd7
Enable transparent FlutterViews ( #6163 )
...
- Changes rasterizer to clear the canvas with `SkColor_TRANSPARENT`
- Removes the unused `backgroundColor` param from `FlutterView.java`
2018-09-05 10:44:02 -07:00
Jason Simmons
6af60d716a
Remove obsolete discovery mechanism from FlutterView ( #6157 )
2018-09-05 10:01:33 -07:00
Kirill Nikolaev
b0b8daa7b2
Unregister onFrameAvailable callbacks when a TextureEntry is released. ( #6079 )
...
Otherwise the callbacks may be called after FlutterNativeView is destroyed and is null.
Also defensively check for whether the texture is already released in the callback because the callback may be called from another thread by a stale reference (see the comment).
This closes https://github.com/flutter/flutter/issues/20951 .
2018-09-04 06:31:01 -07:00
Stanislav Baranov
74373462e4
Fix codepush breakage caused by #5954 . ( #5996 )
2018-08-10 13:23:51 -07:00
Keerti Parthasarathy
78f8bcace7
Annotate deprecated methods with @Deprecated ( #5976 )
2018-08-08 13:02:41 -07:00
Ben Konyi
aef94b73d1
Reland "Updated background execution implementation for Android" ( #5954 )
...
* Reland "Updated background execution implementation for Android" w/ JNI fixes for merge breakages
This reverts commit 5442c0a7da .
2018-08-07 12:42:22 -07:00