1507 Commits

Author SHA1 Message Date
Jason Simmons
a7bde78fb6 Initialize AndroidEGLSurface::presentation_time_proc_ to null (flutter/engine#34509) 2022-07-07 19:46:04 +00:00
Chris Yang
39351b3846 Do not update virtual display size (flutter/engine#34414) 2022-07-06 17:10:04 +00:00
Nayuta403
438c737e98 Avoid crash caused by flutterImageView be null (flutter/engine#34395) 2022-07-03 19:39:03 -07:00
godofredoc
85d391d1f1 Add gen_snapshot for windows. (flutter/engine#34304) 2022-07-01 18:53:03 +00:00
Jia Hao
036265b39e Avoid vsync scheduling delay (flutter/engine#34363) 2022-06-30 05:22:04 +00:00
Gary Qian
2a7cb615dd Add registration calls for ComponentCallbacks2 (flutter/engine#34206) 2022-06-28 00:29:04 -07:00
Gary Qian
2dcf8d3b41 Send locales to Flutter in FlutterEngine initialization instead of FlutterView (flutter/engine#34243) 2022-06-27 22:59:04 -07:00
LongCatIsLooong
f879594eca Clean up text input configuration in clearTextInputClient (flutter/engine#34209) 2022-06-24 18:39:05 +00:00
LongCatIsLooong
185bdbb637 [Android Autofill] Don't set autofillHints to an empty array when there's no autofillhints (flutter/engine#34203) 2022-06-24 01:13:07 +00:00
Jason Simmons
07873d4e21 Delete local JNI references created within AndroidImageGenerator::DoDecodeImage (flutter/engine#34148) 2022-06-23 23:15:04 +00:00
Jason Simmons
729cd3e4a9 Revert "Bump Robolectric to 4.8.1 (#33024)" (flutter/engine#34263)
This reverts commit aaa190f63293b61c0579642a4e979221bf6c5ba1.
2022-06-23 15:29:57 -07:00
Jason Simmons
1243cc12c6 Add a null check to AndroidImageGenerator::GetPixels (flutter/engine#34149) 2022-06-23 20:39:04 +00:00
utzcoz
aaa190f632 Bump Robolectric to 4.8.1 (flutter/engine#33024) 2022-06-23 20:27:05 +00:00
Emmanuel Garcia
135a1c8e56 Handle SurfaceView in a VirtualDisplay (flutter/engine#33599) 2022-06-22 19:39:05 -07:00
Chinmay Garde
0aa7b3495f [Impeller] Log a message when using Impeller. (flutter/engine#34242) 2022-06-22 16:59:07 -07:00
Tong Mu
5de64c88b0 [Keyboard, Android] Mint physical keys on the Android plane (flutter/engine#34122) 2022-06-21 13:14:33 -07:00
godofredoc
5e932a2524 Fixes for gn artifacts. (flutter/engine#34152) 2022-06-18 04:23:04 +00:00
toneyzeng
df87bef96d [android] Fix leak of bitmap object (android.graphics.Bitmap of Java) while using platform image decoder. (flutter/engine#33953) 2022-06-17 19:22:05 +00:00
godofredoc
d1e9f3570d Move flutter_patched_sdk to the correct location. (flutter/engine#34128) 2022-06-17 19:18:03 +00:00
Callum Moffat
072058b4fe Reland "ChromeOS/Android trackpad gestures" (flutter/engine#34060)
* Android trackpad gestures

* Try to fix lint problem
2022-06-15 17:34:51 -07:00
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