107 Commits

Author SHA1 Message Date
Kaushik Iska
aed2016ee8 [android] Childview will process its motion events (flutter/engine#19662) 2020-07-14 19:18:14 -07:00
Michael Goderbauer
5555b36877 Add flag to indicate whether the platform supports state restoration (flutter/engine#19717) 2020-07-14 11:01:25 -07:00
Gary Qian
d298a08c85 [Android] Prevent FlutterRenderer listener from calling JNI after detach (flutter/engine#19558) 2020-07-13 06:29:30 -07:00
Kaushik Iska
a292cb8d21 [android] Pass synthesized eventType to VirtualDisplay platform views and fix memory leak (flutter/engine#19620) 2020-07-09 18:06:02 -07:00
Justin McCandless
e52d9ab7fc Make DPAD movement consider grapheme clusters (flutter/engine#17420)
Moving the caret with the software Dpad now correctly considers complex characters.
2020-07-08 13:59:58 -07:00
Emmanuel Garcia
ecc2f07d06 Switch to FlutterSurfaceView if no Android view is in the frame (flutter/engine#19487) 2020-07-06 14:51:46 -07:00
Chris Yang
cf4d2e25d9 Implement mutator stack on Android hybrid composition platform view (flutter/engine#19426) 2020-07-04 13:03:04 -07:00
Emmanuel Garcia
a8aa7dd524 Fix hybrid composition bugs (flutter/engine#19325) 2020-06-26 12:33:02 -07:00
Gary Qian
fa5dca45d5 Android native locale resolution algorithm (flutter/engine#19266) 2020-06-26 02:48:33 -07:00
Maurice Parrish
a51b5b22d6 Creates a new RenderMode for FlutterView (flutter/engine#19143) 2020-06-22 14:40:00 -07:00
cg021
ef2b08d5b6 createOverlaySurface JNI method (flutter/engine#19076)
* createOverlaySurface JNI

* update imports

* remove unused method

* license

* deleted unused file

* remove wrong function call

* removed duplicate createOverlaySurface
2020-06-17 15:21:41 -05:00
Emmanuel Garcia
f44a132c1b Revert add createOverlaySurface JNI #19040 (flutter/engine#19075) 2020-06-16 14:06:15 -07:00
Gary Qian
c9fa545cf3 Platform resolved locale and Android localization refactor (flutter/engine#18645) 2020-06-16 04:29:50 -07:00
cg021
1e0b020dde Add createOverlaySurface JNI (flutter/engine#19040) 2020-06-15 19:49:29 -07:00
Michael Goderbauer
8b7389a9c8 Wire up channel for restoration data (flutter/engine#18042) 2020-06-12 16:31:25 -07:00
Dan Field
d5b8e0ed40 Call Shell::NotifyLowMemory when backgrounded/memory pressure occurs on Android (flutter/engine#19026)
* Reland "Call Shell::NotifyLowMemoryWarning on Android Trim and LowMemory events (#18979)" (#19023)"

This reverts commit c59e68bd173963801870aab396bf443d3b64be49.
2020-06-12 15:12:25 -07:00
cg021
ea31a75bd4 onEndFrame JNI (flutter/engine#18867)
* onEndFrame JNI

* beginFrame brief change
2020-06-12 16:21:25 -05:00
Emmanuel Garcia
c59e68bd17 Revert "Call Shell::NotifyLowMemoryWarning on Android Trim and LowMemory events (#18979)" (flutter/engine#19023)
This reverts commit 88a7c4cc690fc70c016ea9c35e9247ceee610319.
2020-06-12 12:31:12 -07:00
cg021
18b103f955 onBeginFrame JNI (flutter/engine#18866) 2020-06-11 17:15:03 -07:00
Dan Field
88a7c4cc69 Call Shell::NotifyLowMemoryWarning on Android Trim and LowMemory events (flutter/engine#18979) 2020-06-10 17:18:17 -07:00
cg021
06a0d3ac93 Add onDisplayOverlaySurface JNI (flutter/engine#18859) 2020-06-09 17:07:53 -07:00
cg021
1b1eadad59 onDisplayPlatformView JNI (flutter/engine#18828)
* missing imports

* onDisplayPlatformView JNI

* imports

* ran ./ci/format.sh | patch -p0

* missing imports

* onDisplayPlatformView JNI

* imports

* ran ./ci/format.sh | patch -p0

* missing imports

* ran ./ci/format.sh | patch -p0
2020-06-08 16:14:39 -05:00
xster
9a3d13748b Fix intent builder visibility (flutter/engine#18875) 2020-06-08 12:08:04 -07:00
Emmanuel Garcia
162a2c6370 Revert "onDisplayPlatformView JNI (#18786)" (flutter/engine#18826)
This reverts commit 24d7c5c16b1aa9bc263d1428cf228927e96da97b.
2020-06-04 09:42:51 -07:00
cg021
24d7c5c16b onDisplayPlatformView JNI (flutter/engine#18786)
* onDisplayPlatformView JNI

* format

* add todo in onDisplayPlatformView

Co-authored-by: Emmanuel Garcia <egarciad@google.com>

* move methods

* add platformViewsController setter

* remove unnecessary calls

* remove override and add unit test

* remove override

* test

* mockito

* fix formatting

Co-authored-by: Emmanuel Garcia <egarciad@google.com>
2020-06-04 11:20:45 -05:00
Tong Mu
75724a5657 System mouse cursor: Android (flutter/engine#18569)
Adds system mouse cursor to the Android engine.
2020-06-01 18:08:43 -07:00
Jason Simmons
a6d5bd994d Disconnect the channel message handler when releasing the AccessibilityBridge (flutter/engine#18657) 2020-05-29 16:23:01 -07:00
Mehmet Fidanboylu
6baffb9091 Add tests for StandardMethodCodec (flutter/engine#18521) 2020-05-20 21:02:03 -07:00
xster
456a671cbf Move robolectric tests to sdk 28 (flutter/engine#18525) 2020-05-20 09:19:35 -07:00
LongCatIsLooong
e5c70f9996 [Android] setDimens on ViewNodes for autofill (flutter/engine#18444) 2020-05-18 10:23:33 -07:00
Gary Qian
7b4b9dea11 Add fullscreen padding workarounds to v2 android embedding (flutter/engine#18193) 2020-05-09 04:31:27 -07:00
xster
d216d2e76f Make robolectric tests run against SDK 29 by default (flutter/engine#17996) 2020-05-07 23:29:02 -07:00
Ali Mahdiyar
f1e911f717 Custom unicode handling for Android backspace via JNI to ICU (flutter/engine#17960) 2020-05-06 14:01:02 -07:00
Gary Qian
c0ffda5aaf Revert "Remove Samsung workarounds (#17612)" (flutter/engine#18081)
This reverts commit 4dba845101dc6b01e9bf987d04cc97df48cc8368.
2020-05-01 13:14:27 -07:00
xster
62a64ac11e remove top padding when system UI in fullscreen mode (flutter/engine#17985) 2020-04-28 12:21:37 -07:00
Gary Qian
b181ae8f63 Hand off presentation properly in VirtualDisplayController.resize() (flutter/engine#17897) 2020-04-23 15:32:20 -07:00
Gary Qian
05434dc4a4 Accessibility null check to catch out of bounds hitTest (flutter/engine#17833) 2020-04-21 06:16:42 -07:00
Gary Qian
4dba845101 Remove Samsung workarounds (flutter/engine#17612) 2020-04-17 17:38:30 -07:00
Jason Simmons
b3baad9b94 Unregister the TextInputChannel method handler when the TextInputPlugin is destroyed (flutter/engine#17646)
Fixes https://github.com/flutter/flutter/issues/54275
2020-04-17 14:25:34 -07:00
Michael Goderbauer
e60051f0b3 Clear focus if a platform view goes away (flutter/engine#17381) 2020-04-16 13:23:05 -07:00
LongCatIsLooong
1afb95d156 Android text input autofill (flutter/engine#17465) 2020-04-16 03:41:23 -07:00
Ali Mahdiyar
28c34245cf Fix RTL handling in delete key event for android (flutter/engine#17393) 2020-04-16 01:48:21 -07:00
Jonah Williams
152ae6b486 [a11y] Support TalkBack reading by word, character, and paragraph (flutter/engine#17626) 2020-04-15 19:07:12 -07:00
Shi-Hao Hong
7eae32d7f2 Revert getSystemGestureExclusionRects and setSystemGestureExclusionRects (flutter/engine#17613)
* Revert getSystemGestureExclusionRects and setSystemGestureExclusionRects 

* Remove references to removed PlatformChannelTest.java file
2020-04-09 20:44:37 -07:00
Gary Qian
a03f69c53a Implement repeat filtering logic in Android Embedder (flutter/engine#17509) 2020-04-08 12:51:43 -07:00
Jason Simmons
3c089996dc Disconnect from platform views and virtual displays before detaching from the engine (flutter/engine#17379) 2020-04-02 18:16:05 -07:00
Dan Field
f1a58638ad Fix bad texture view config (flutter/engine#17486) 2020-04-02 15:06:03 -07:00
Gary Qian
eff62e12bd Implement getExtractedText in InputConnectionAdaptor (flutter/engine#17426) 2020-04-01 18:51:04 -07:00
Gary Qian
317c96c3ce Partially revert Samsung keyboard force-update workaround (flutter/engine#17391) 2020-03-29 15:46:39 -07:00
Emmanuel Garcia
257b799767 Migrate embedding to AndroidX (flutter/engine#17075) 2020-03-13 21:19:24 -07:00