907 Commits

Author SHA1 Message Date
Dan Field
88a7c4cc69 Call Shell::NotifyLowMemoryWarning on Android Trim and LowMemory events (flutter/engine#18979) 2020-06-10 17:18:17 -07:00
Emmanuel Garcia
8c8eaf36f0 Revert "Add RAII wrapper for EGLSurface (#18849)" (flutter/engine#18971)
This reverts commit 3ad7a0f8f14f014077f87e28401fee433fbacd1b.
2020-06-10 13:43:36 -07:00
Todd Volkert
816d136b0d Add support for horizontalDoubleArrow and verticalDoubleArrow cursors (flutter/engine#18916) 2020-06-10 07:17:11 -07:00
Emmanuel Garcia
3ad7a0f8f1 Add RAII wrapper for EGLSurface (flutter/engine#18849) 2020-06-09 19:42:43 -07:00
cg021
06a0d3ac93 Add onDisplayOverlaySurface JNI (flutter/engine#18859) 2020-06-09 17:07:53 -07:00
David Worsham
d2b7646e68 Move Surface and friends to flow/ (flutter/engine#18938) 2020-06-09 16:03:01 -07:00
Emmanuel Garcia
0113eaee47 Run the rasterizer on the platform thread (flutter/engine#18841) 2020-06-09 14:52:17 -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
xster
9486f61eb5 Add a deprecation note to FlutterFragmentActivity (flutter/engine#18865) 2020-06-08 00:23:55 -07:00
Emmanuel Garcia
2bee676fe5 Refactor AndroidContextGL, AndroidSurface and AndroidSurfaceGL (flutter/engine#18670) 2020-06-05 09:18:03 -07:00
Jason Simmons
1c8d0396ff Reset AndroidExternalViewEmbedder state when starting a new frame (flutter/engine#18831) 2020-06-04 15:08:04 -07:00
Chris Yang
b842ba72a6 Rework GLContextSwitch, get rid of RendererContextManager (flutter/engine#18601) 2020-06-04 11:37:51 -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
Emmanuel Garcia
61bc45b233 Pass SurfaceFrame to SubmitFrame (flutter/engine#18709) 2020-06-02 21:59:44 -07: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
chenjianguang
db630fbd93 Setup default font manager after engine created, to improve startup performance (flutter/engine#18225) 2020-05-28 17:53:04 -07:00
gaaclarke
851f2e76b0 Made the Rasterizer avoid GPU calls when backgrounded (flutter/engine#18563) 2020-05-26 21:02:40 -07:00
xster
70a4de6878 Let run_tests.py just stream output (flutter/engine#18534) 2020-05-20 21:38:37 -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
Mehmet Fidanboylu
2fcffb2046 Handle Throwable in StandardMethodCodec (flutter/engine#18490) 2020-05-19 15:15:49 -07:00
LongCatIsLooong
e5c70f9996 [Android] setDimens on ViewNodes for autofill (flutter/engine#18444) 2020-05-18 10:23:33 -07:00
Jason Simmons
91f67b420c Move FlutterLoader disk I/O to a background thread to comply with Android strict mode (flutter/engine#18241) 2020-05-13 14:17:03 -07:00
LongCatIsLooong
1723142b9d add new keyboard types and missing autofill hints (flutter/engine#18202) 2020-05-11 19:41:46 -07:00
Jason Simmons
9c611e4cb0 Restore the call to initConfig in FlutterLoader (flutter/engine#18257)
This was accidentally removed in https://github.com/flutter/engine/pull/18182
2020-05-09 11:49:11 -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
Jason Simmons
66a59e3138 Remove the global engine entry timestamp (flutter/engine#18182)
The engine was using a global to store a timestamp representing the
launch of the engine.  This timestamp is initialized with a JNI call
on Android and during shell setup on other platforms.  Later the
timestamp is added to a FlutterEngineMainEnter timeline event used to
measure engine startup time in benchmarks.

This PR removes the global and the JNI call and moves the timestamp
into the settings object.
2020-05-07 11:29:28 -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
Jason Simmons
e2907d3089 Remove the ResourceCleaner from the Android embedding (flutter/engine#18072) 2020-05-04 16:34: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
Wings006
c65ab74a1c make "flutter run --trace-systrace" work. (flutter/engine#18052) 2020-04-30 09:30:24 -07:00
xster
62a64ac11e remove top padding when system UI in fullscreen mode (flutter/engine#17985) 2020-04-28 12:21:37 -07:00
Emmanuel Garcia
f6c5bdea96 Add initial unit tests for the android embedding (flutter/engine#17921) 2020-04-26 20:45:28 -07:00
Gary Qian
b181ae8f63 Hand off presentation properly in VirtualDisplayController.resize() (flutter/engine#17897) 2020-04-23 15:32:20 -07:00
LongCatIsLooong
b4bce4be70 add missing case for TextInput.requestAutofill (flutter/engine#17857) 2020-04-23 10:52:47 -07:00
Mehmet Fidanboylu
fe52878092 Protect LanguageRange behind Android O. (flutter/engine#17882) 2020-04-23 05:59:52 -07:00
Emmanuel Garcia
c6f023fe75 Extend external view embedder on Android (flutter/engine#17839) 2020-04-21 19:14:38 -07:00
Gary Qian
887c1a875e PlatformResolvedLocale localization message channel (flutter/engine#17755) 2020-04-21 15:34:44 -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
Amir Hardon
9e7f2cbd7c Dispatch platform view touch events to the presentation (flutter/engine#17792) 2020-04-17 17:19:10 -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
Brian Osman
948065c3a7 Convert semantics_node from SkMatrix44 to SkM44 (flutter/engine#17763)
* Convert semantics_node from SkMatrix44 to SkM44
2020-04-17 07:24:40 -04: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