1467 Commits

Author SHA1 Message Date
Dan Field
ad60da5e59 Guard impeller references in platform_view_android.cc for google build (flutter/engine#33487) 2022-05-19 12:10:42 -07:00
Camille Simon
bdca9fb447 Correct SpellCheckChannel Javadoc (flutter/engine#33398) 2022-05-18 10:37:05 -07:00
Zachary Anderson
79bb017c96 Parse impeller setting from the bundle on Android (flutter/engine#33442) 2022-05-18 08:33:50 -07:00
Chinmay Garde
7df5e81ea8 [impeller] Wire up the OpenGL ES Backend. (flutter/engine#33405) 2022-05-17 13:16:25 -07:00
Camille Simon
37b70b4abf Remove annotation for getLocaleFromString() (flutter/engine#33409) 2022-05-17 12:52:04 -07:00
Camille Simon
2ad3e5bd6f Add Spell Check Support for Android Engine (flutter/engine#30858) 2022-05-16 09:59:07 -07:00
chunhtai
cad8336790 android accessibility bridge performSetText also removes string attributes (flutter/engine#33217) 2022-05-12 12:41:00 -07:00
Chris Bracken
09285aac02 Use empty in place of size checks vs 0 (flutter/engine#33151) 2022-05-06 13:09:04 -07:00
godofredoc
af7fb4d98b Move processing of flutter jars to gn. (flutter/engine#33124) 2022-05-04 19:59:05 -07:00
godofredoc
0c6e98ac5d Move embedder jar file processing to GN. (flutter/engine#33119) 2022-05-04 18:44:06 -07:00
Tong Mu
a1d38c5056 [Android, Keyboard] Extract KeyboardManager's external dependencies as ViewDelegate; Rework testing framework (flutter/engine#32944)
* Compilable

* Test pass

* recordChannelCallsTo

* respondToTextInputWith

* textInputPluginHasTheSecondHighestPrecedence

* All tests

* Docs
2022-05-04 13:37:09 -07:00
utzcoz
acfe2ab302 Use Robolectric's Config#qualifiers to set locale for tests (flutter/engine#32984) 2022-04-29 09:29:04 -07:00
Kaushik Iska
fe2ff918ca Only call make gl context current if not already current (flutter/engine#32967) 2022-04-28 12:07:31 -04:00
Emmanuel Garcia
327986ef9b Fix SparseArray lookup in PlatformViewsController (flutter/engine#32947) 2022-04-27 10:19:02 -07:00
Jason Simmons
d9de6d31cf Disable the timeline in release mode on Android unless systrace is enabled (flutter/engine#32909) 2022-04-26 10:54:03 -07:00
Nayuta403
5f7d457e80 fix typo (flutter/engine#32890) 2022-04-24 21:24:04 -07:00
utzcoz
b4ad6bd416 Migrate RuntimeEnvironment#sytemContext to ApplicatoinProvider#getApplicationContext (flutter/engine#32725) 2022-04-18 10:34:04 -07:00
nt4f04uNd
c343fd5735 Fix nullability annotation in writeValue (flutter/engine#32706) 2022-04-15 11:04:05 -07:00
utzcoz
3e8a370191 Migrate RuntimeEnvironment#application to ApplicationProvider#getApplicationContext (flutter/engine#32557) 2022-04-14 13:29:05 -07:00
Camille Simon
15bb1b5e86 Add missing window flags for styling system bars (flutter/engine#32167) 2022-04-13 09:44:04 -07:00
utzcoz
f2e7fb8cca Split tests for computePlatformResolvedLocale with N (flutter/engine#32385) 2022-04-07 13:11:04 -07:00
Dan Field
ec99c09baf Soft revert of 3a0d0b6e36deebc6d477daee9a3cc4dbd09a7900 (flutter/engine#32465) 2022-04-07 09:22:08 -07:00
Chris Bracken
e0c11d4dbd Sync Android AccessibilityFeature enum and dart:ui (flutter/engine#32460) 2022-04-06 16:21:04 -07:00
Chris Bracken
6b7a734450 Uncomment SemanticsFlag.isMultiline in enums (flutter/engine#32440)
Uncomments the Java Flag.IS_MULTILINE and C++ SemanticsFlag.kIsMultiline
enum values. While these values aren't used in the Android or iOS
embeddings, in practice we maintain the same set of enum values across
all embeddings so as to match the public API defined in dart:ui, found
in lib/ui/semantics/semantics.dart.

This also helps with automated checking that all enums across all
languages are consistent.

This will be added to the embedder API in
https://github.com/flutter/engine/pull/32332.

Issue: https://github.com/flutter/flutter/issues/101217
2022-04-06 09:59:48 -07:00
Kevin Lubick
cdd2946003 Fix includes of SkColorSpace et al (flutter/engine#32382) 2022-04-01 10:59:23 -07:00
ColdPaleLight
8a886fa8a5 Let FlutterActivity/Fragment/FragmentActivity support dart entrypoint args (flutter/engine#30709) 2022-03-31 22:21:01 -07:00
ColdPaleLight
31e332ee32 Tuning resource cache max bytes in lightweight engine scenarios (flutter/engine#32156) 2022-03-31 21:11:05 -07:00
Matej Knopp
190cee38d1 Specify clip alignment for partial repaint (flutter/engine#31359)
* Specify clip alignment for partial repaint
2022-03-31 23:53:42 +02:00
utzcoz
35632b233b Replace TestUtil#setApiVersion with Robolectric's sdk in Config (flutter/engine#32137) 2022-03-31 13:50:04 -07:00
Emmanuel Garcia
34f36011c5 Fix reattachment of platform views after a device rotation (flutter/engine#32331) 2022-03-30 13:35:07 -07:00
Gary Qian
0422046115 Revert "Delete io.flutter.app android v1 embedding" (flutter/engine#32232) 2022-03-24 00:10:04 -07:00
Gary Qian
08cef2ee55 Delete io.flutter.app android v1 embedding (flutter/engine#32074) 2022-03-23 20:22:54 -07:00
Camille Simon
5b4339f41a Revert "Remove usages of Android's OnSystemUiVisibilityChangeListener (#30931)" (flutter/engine#32217)
This reverts commit b077eda4caae4f5efa402af88632cea6e7aaa0fe.
2022-03-23 10:47:15 -07:00
Emmanuel Garcia
eb5ac3144d Support software rendering when textures are used (flutter/engine#32178) 2022-03-22 14:10:10 -07:00
Camille Simon
b077eda4ca Remove usages of Android's OnSystemUiVisibilityChangeListener (flutter/engine#30931) 2022-03-22 14:00:11 -07:00
Dan Field
f396ea98b7 Enable MSAA behind a flag for Android GL, add TODOs for other platforms (flutter/engine#32128) 2022-03-21 11:10:05 -07:00
Emmanuel Garcia
77ddaf3f09 Handle case where platform view getView() returns null (flutter/engine#32131) 2022-03-19 10:05:11 -07:00
Dan Field
57f4b8e838 Make tracing safe (flutter/engine#32042) 2022-03-15 21:10:11 -07:00
Dan Field
3a0d0b6e36 Support stencil buffers on OpenGL for Windows and Android (flutter/engine#31967) 2022-03-15 16:50:07 -07:00
Chinmay Garde
34f3581a3c Switch the renderer to impeller based on the presence of a command line flag. (flutter/engine#31959)
Specifying the `--enable-impeller` flag will switch the renderer to using
Impeller instead of Skia. On platforms where Impeller is not supported, this
flag is ignored.

The notion of the `flutter::SurfaceFrame` has been augmented. Now, in the
absence of a Skia surface to render to, the surface frame will render into a
display list instead.

Impeller variants of the context and surface variants have been added to
`shell/gpu` and `shell/platform`. The variants prepare surface frames that
don’t/can’t specify a Skia surface thus forcing the surface frame to render to a
display list instead. Then, in the submit callback, they forward the display
list ops to the Impeller display list dispatcher.

This scheme has been chosen as it requires the fewest updates to engine
internals which all depend on Skia data structures. Instead of updating all
call-sites to be Skia neutral, the display list interface itself is being made
graphics package agnostic.
2022-03-15 14:12:53 -07:00
Emmanuel Garcia
539b72705c Revert: Partially remove setSystemUiVisibility() usages (flutter/engine#32007) 2022-03-14 11:15:06 -07:00
utzcoz
7db830289d Use config to set land qualifiers (flutter/engine#31853)
Signed-off-by: utzcoz <utzcoz@outlook.com>
2022-03-09 08:00:49 -08:00
ColdPaleLight
611a350575 Use AChoreographer methods to await vsync when available (flutter/engine#31859) 2022-03-08 21:15:08 -08:00
Rulong Chen(陈汝龙)
4f6f461dac Fix compatibility issues with SurfaceTexture on Android Q. (flutter/engine#31698) 2022-03-07 10:01:26 -08:00
Rulong Chen(陈汝龙)
1e2f796278 [android] Give the shared engine app a chance to take control of application lifecycle state events. (flutter/engine#30208) 2022-03-03 13:06:11 -08:00
Jason Simmons
da146d247c Revert "Reland "Listen for Vsync callback on the UI thread directly"" (flutter/engine#31750) 2022-03-01 15:06:11 -08:00
Camille Simon
29d3cc56ed Undo Deletion in #31092 (flutter/engine#31661) 2022-02-28 09:31:02 -08:00
Emmanuel Garcia
32f6e78828 Fix nullable annotation (flutter/engine#31668) 2022-02-25 11:46:11 -08:00
ColdPaleLight
1a179ecff2 Reland "Listen for Vsync callback on the UI thread directly" (flutter/engine#31494) 2022-02-24 09:51:05 -08:00
Rulong Chen(陈汝龙)
2ccc8c1af6 Using invalidateChildInParent for API levels lower than 26. (flutter/engine#31533) 2022-02-22 21:49:02 -08:00