113 Commits

Author SHA1 Message Date
LongCatIsLooong
d96371e03f
Add autofill save for iOS and Android (#18643) 2020-07-28 10:23:55 -07:00
Emmanuel Garcia
88ebc37106
Remove android view from the Mutator stack (#19972) 2020-07-23 10:50:15 -07:00
Greg Spencer
18200e7e8e
Revert "Implement delayed event synthesis key event handling for Android (#19024)" (#19956)
This reverts commit 8825f9178d884d07b43590ef52bb929ac9a3773f because it breaks flutter_gallery__back_button_memory and a customer test.
2020-07-22 12:36:26 -07:00
Emmanuel Garcia
12847e899e
Support talkback in hybrid composition (#19860) 2020-07-17 18:56:02 -07:00
Greg Spencer
8825f9178d
Implement delayed event synthesis key event handling for Android (#19024)
This implements the design in flutter.dev/go/handling-synchronous-keyboard-events for Android.

I started with Android, but this will be used for all platforms as we add them.

The related framework PR is: flutter/flutter#59358 (which has already landed)
2020-07-17 11:03:19 -07:00
rekire
f21cd8aedf
Prevent that removeActivityResultListener() is causing an ConcurrentModificationException (#19702) 2020-07-15 17:59:08 -07:00
Kaushik Iska
1832613e09
[android] Childview will process its motion events (#19662) 2020-07-14 19:18:14 -07:00
Michael Goderbauer
518fbd1652
Add flag to indicate whether the platform supports state restoration (#19717) 2020-07-14 11:01:25 -07:00
Gary Qian
8d241e4926
[Android] Prevent FlutterRenderer listener from calling JNI after detach (#19558) 2020-07-13 06:29:30 -07:00
Kaushik Iska
3dc81635db
[android] Pass synthesized eventType to VirtualDisplay platform views and fix memory leak (#19620) 2020-07-09 18:06:02 -07:00
Justin McCandless
033c373730
Make DPAD movement consider grapheme clusters (#17420)
Moving the caret with the software Dpad now correctly considers complex characters.
2020-07-08 13:59:58 -07:00
Emmanuel Garcia
d1f3037c4c
Switch to FlutterSurfaceView if no Android view is in the frame (#19487) 2020-07-06 14:51:46 -07:00
Chris Yang
cc9ccf98ae
Implement mutator stack on Android hybrid composition platform view (#19426) 2020-07-04 13:03:04 -07:00
Emmanuel Garcia
c332675a8c
Fix hybrid composition bugs (#19325) 2020-06-26 12:33:02 -07:00
Gary Qian
559d93d978
Android native locale resolution algorithm (#19266) 2020-06-26 02:48:33 -07:00
Maurice Parrish
1913040ebe
Creates a new RenderMode for FlutterView (#19143) 2020-06-22 14:40:00 -07:00
cg021
2c60d87c39
createOverlaySurface JNI method (#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
99442c6c18
Revert add createOverlaySurface JNI #19040 (#19075) 2020-06-16 14:06:15 -07:00
Gary Qian
3a96741247
Platform resolved locale and Android localization refactor (#18645) 2020-06-16 04:29:50 -07:00
cg021
de063512c5
Add createOverlaySurface JNI (#19040) 2020-06-15 19:49:29 -07:00
Michael Goderbauer
f7d241fd8a
Wire up channel for restoration data (#18042) 2020-06-12 16:31:25 -07:00
Dan Field
983b6e198d
Call Shell::NotifyLowMemory when backgrounded/memory pressure occurs on Android (#19026)
* Reland "Call Shell::NotifyLowMemoryWarning on Android Trim and LowMemory events (#18979)" (#19023)"

This reverts commit 0a852d8ad7e0b132d86c0a604f2c41a110f2b3b6.
2020-06-12 15:12:25 -07:00
cg021
7cb7003a11
onEndFrame JNI (#18867)
* onEndFrame JNI

* beginFrame brief change
2020-06-12 16:21:25 -05:00
Emmanuel Garcia
0a852d8ad7
Revert "Call Shell::NotifyLowMemoryWarning on Android Trim and LowMemory events (#18979)" (#19023)
This reverts commit f5ab179e7a793e2bd5d087d59911e99f8b45e6c9.
2020-06-12 12:31:12 -07:00
cg021
ac809b48cb
onBeginFrame JNI (#18866) 2020-06-11 17:15:03 -07:00
Dan Field
f5ab179e7a
Call Shell::NotifyLowMemoryWarning on Android Trim and LowMemory events (#18979) 2020-06-10 17:18:17 -07:00
cg021
82e188d10b
Add onDisplayOverlaySurface JNI (#18859) 2020-06-09 17:07:53 -07:00
cg021
773ac97453
onDisplayPlatformView JNI (#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
5edd766628
Fix intent builder visibility (#18875) 2020-06-08 12:08:04 -07:00
Emmanuel Garcia
fdc457d342
Revert "onDisplayPlatformView JNI (#18786)" (#18826)
This reverts commit c8ab763f79269bf275644cfaa72edeba1c4b0898.
2020-06-04 09:42:51 -07:00
cg021
c8ab763f79
onDisplayPlatformView JNI (#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
b3e7732cf9
System mouse cursor: Android (#18569)
Adds system mouse cursor to the Android engine.
2020-06-01 18:08:43 -07:00
Jason Simmons
042804b06d
Disconnect the channel message handler when releasing the AccessibilityBridge (#18657) 2020-05-29 16:23:01 -07:00
Mehmet Fidanboylu
6c5f2396e1
Add tests for StandardMethodCodec (#18521) 2020-05-20 21:02:03 -07:00
xster
33ea63fbbd
Move robolectric tests to sdk 28 (#18525) 2020-05-20 09:19:35 -07:00
LongCatIsLooong
496585505f
[Android] setDimens on ViewNodes for autofill (#18444) 2020-05-18 10:23:33 -07:00
Gary Qian
e9f1efa280
Add fullscreen padding workarounds to v2 android embedding (#18193) 2020-05-09 04:31:27 -07:00
xster
40167b68ed
Make robolectric tests run against SDK 29 by default (#17996) 2020-05-07 23:29:02 -07:00
Ali Mahdiyar
9cdb5a9b6a
Custom unicode handling for Android backspace via JNI to ICU (#17960) 2020-05-06 14:01:02 -07:00
Gary Qian
7a05fcbdbe
Revert "Remove Samsung workarounds (#17612)" (#18081)
This reverts commit a5e0b2f2f2376cdd87f9c690ae1ab6074321ecc3.
2020-05-01 13:14:27 -07:00
xster
45e6cfd1ff
remove top padding when system UI in fullscreen mode (#17985) 2020-04-28 12:21:37 -07:00
Gary Qian
0273fab759
Hand off presentation properly in VirtualDisplayController.resize() (#17897) 2020-04-23 15:32:20 -07:00
Gary Qian
52a815df0a
Accessibility null check to catch out of bounds hitTest (#17833) 2020-04-21 06:16:42 -07:00
Gary Qian
a5e0b2f2f2
Remove Samsung workarounds (#17612) 2020-04-17 17:38:30 -07:00
Jason Simmons
f9e53c72c6
Unregister the TextInputChannel method handler when the TextInputPlugin is destroyed (#17646)
Fixes https://github.com/flutter/flutter/issues/54275
2020-04-17 14:25:34 -07:00
Michael Goderbauer
f4d6ce13dc
Clear focus if a platform view goes away (#17381) 2020-04-16 13:23:05 -07:00
LongCatIsLooong
cf3d738f50
Android text input autofill (#17465) 2020-04-16 03:41:23 -07:00
Ali Mahdiyar
6b883e9ff7
Fix RTL handling in delete key event for android (#17393) 2020-04-16 01:48:21 -07:00
Jonah Williams
6e1d7f8883
[a11y] Support TalkBack reading by word, character, and paragraph (#17626) 2020-04-15 19:07:12 -07:00
Shi-Hao Hong
63f40903de
Revert getSystemGestureExclusionRects and setSystemGestureExclusionRects (#17613)
* Revert getSystemGestureExclusionRects and setSystemGestureExclusionRects 

* Remove references to removed PlatformChannelTest.java file
2020-04-09 20:44:37 -07:00