1487 Commits

Author SHA1 Message Date
Emmanuel Garcia
a01c2201b5 Reland: Re-enable scenario tests on Android (flutter/engine#34048) 2022-06-14 21:03:04 -07:00
Tong Mu
02e21614cc Revert "ChromeOS/Android trackpad gestures (#31595)" (flutter/engine#34046) 2022-06-14 14:18:56 -07:00
Emmanuel Garcia
f99e4563b9 Prevent TalkBack from announcing view in non-virtual a11y hierarchies (flutter/engine#34017) 2022-06-14 12:03:05 -07:00
Callum Moffat
0720db98cc ChromeOS/Android trackpad gestures (flutter/engine#31595) 2022-06-13 17:03:04 -07:00
Rulong Chen(陈汝龙)
e915cd6a6b [android] Fixes 'drawRenderNode called on a context with no surface' crash (flutter/engine#33655) 2022-06-13 03:58:05 -07:00
Camille Simon
af20f79b0e Stop sending text to framework (flutter/engine#33892) 2022-06-08 17:13:01 -07:00
Kaushik Iska
7a71b8cbb3 [android] set presentation time via eglPresentationTimeANDROID (flutter/engine#33881)
Attempt to reland: https://github.com/flutter/engine/pull/29727/ with some fixes.
2022-06-08 12:49:58 -04:00
Zachary Anderson
7976841a64 Revert "Re-enable scenario tests on Android (#33574)" (flutter/engine#33813)
This reverts commit ab51155132d7815f51dd2f73c9843eff5174482c.
2022-06-03 13:53:28 -07:00
Emmanuel Garcia
ab51155132 Re-enable scenario tests on Android (flutter/engine#33574) 2022-06-03 08:53:05 -07:00
Kaushik Iska
af6bbe756d Move the args for GLContextPresent into a struct (flutter/engine#33758)
This refactor enables easier additions to the method
for fields that can be optionally consumed by various
platforms.
2022-06-01 23:11:37 -04:00
Gary Qian
c2fb536113 Upgrade android SDK to API 32 (flutter/engine#33524) 2022-06-01 18:58:04 -07:00
Tong Mu
78adf103bf Reland No.2 "Hardware Keyboard: Android" (flutter/engine#33686)
* Original code

* Changes

* Fix and test

Better formatted tests
2022-05-31 13:00:39 -07:00
Emmanuel Garcia
f4887a67d3 Fix Android platform view resize and direction in nested layouts. (flutter/engine#33645) 2022-05-26 19:50:04 -07:00
Jason Simmons
6714554f40 Pass the --enable-skparagraph=false flag if the EnableSkParagraph manifest metadata value is false (flutter/engine#33597) 2022-05-25 10:38:02 -07:00
Tong Mu
861b51a5a1 Revert "Reland "Hardware Keyboard: Android" (#33567)" (flutter/engine#33589)
This reverts commit 8cb40595dc05cd094a1cc27ede4ab59d19365070.
2022-05-24 11:02:28 -07:00
Tong Mu
8cb40595dc Reland "Hardware Keyboard: Android" (flutter/engine#33567) 2022-05-24 09:49:23 -07:00
Chinmay Garde
a35efe4636 [impeller] OpenGL: Add support for threads and contexts. (flutter/engine#33575) 2022-05-23 20:38:01 -07:00
Nils Reichardt
3600d3c97e Fix typo "SetTestFluttterStub", "FluttterActivity" and "implementantions" (flutter/engine#33551)
As recommended in https://github.com/flutter/engine/pull/33547#issuecomment-1134077565, I fixed all typos in one PR.

Fixes https://github.com/flutter/flutter/issues/104366
Fixes https://github.com/flutter/flutter/issues/104367
Fixes https://github.com/flutter/flutter/issues/104368
Fixes https://github.com/flutter/flutter/issues/104369
Fixes https://github.com/flutter/flutter/issues/104370
2022-05-23 13:24:48 -07:00
Tong Mu
a8696c0ef2 Revert "Hardware Keyboard: Android (#33113)" (flutter/engine#33507)
This reverts commit 2555d53f05a058bd20c290ab44eaaf11f02afc73.
2022-05-19 23:28:33 -07:00
Tong Mu
2555d53f05 Hardware Keyboard: Android (flutter/engine#33113)
* Impl

* First test passed

* Runnable and more tests

* Use constants

* static import

* modifier keys

* nonUsKeys

* order test, duplicate/abrupt test

* Synthesize pressing keys

* WIP

* New sync algorithm

* Sync with synonym

* Add all pressing goals and mask constants

* Test all modifiers

* Add tests for capslock

* Gen

* Docs

* mutable

* Extract CharacterCombiner, docs

* doc

* License

* Doc for keydata

* Apply suggestions from code review

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>

* Use &

* Format

* Fix tests

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
2022-05-19 15:03:42 -07:00
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