1199 Commits

Author SHA1 Message Date
Jeff Ward
2438363a2e Add Float32List support to StandardMessageCodec (flutter/engine#26386) 2021-05-27 14:49:02 -07:00
gaaclarke
8137eddf08 android platform channels: moved to direct buffers for c <-> java interop (flutter/engine#26331) 2021-05-27 13:09:02 -07:00
Gary Qian
d3de3f1f24 Fix deferred components startup threading and improve .so search algorithm. (flutter/engine#26429) 2021-05-26 19:27:20 -07:00
chunhtai
d3f4069e34 Sets a11y traversal order in android accessibility bridge (flutter/engine#26335) 2021-05-24 15:34:02 -07:00
Gary Qian
4ba3454b35 Handle only asset-only deferred components case (flutter/engine#26333) 2021-05-21 17:08:01 -07:00
Emmanuel Garcia
562e87e3f4 Fix hybrid composition case and enable test (flutter/engine#26272) 2021-05-19 20:44:03 -07:00
Emmanuel Garcia
23f32a5cee Fix composition when multiple platform views and layers are combined (flutter/engine#26158) 2021-05-14 15:19:01 -07:00
Chris Bracken
776cec5c28 Revert "Fix composition when multiple platform views and layers are combined (#25900)" (flutter/engine#26142)
This appears to be reliably crashing the devicelab
linux_android_view_scroll_perf__timeline_summary test.

Example crashes:
* https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20android_view_scroll_perf__timeline_summary/1369/overview
* https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20android_view_scroll_perf__timeline_summary/1370/overview

This reverts commit e222385589b62add0b88efbe5d51858f96419c4d.
2021-05-13 18:50:54 -07:00
Emmanuel Garcia
e222385589 Fix composition when multiple platform views and layers are combined (flutter/engine#25900) 2021-05-13 11:44:01 -07:00
gaaclarke
4d98fd9744 Switch PlatformMessages to hold data in Mappings (flutter/engine#25867) 2021-05-13 10:28:25 -07:00
gaaclarke
46ccd1d5f3 Added exception if you try to reply with a non-direct ByteBuffer. (flutter/engine#25952) 2021-05-12 16:12:38 -07:00
Hrishikesh Kadam
578a22a54e Update documentation for embedding SplashScreen (flutter/engine#25943) 2021-05-12 13:59:02 -07:00
Mohit Kanwal
16fda154a3 Remove unused parameter. (flutter/engine#25940) 2021-05-10 13:19:01 -07:00
gaaclarke
1734ce7f8a Moved PlatformMessage's to unique_ptrs (flutter/engine#25860) 2021-05-06 20:19:01 -07:00
xster
7e60885377 Fix crash when both FlutterFragmentActivity and FlutterFragment are destroyed and recreated (flutter/engine#25851) 2021-05-03 09:35:45 -07:00
xster
5233f959a5 Fix crash when FlutterFragmentActivity is recreated with an existing FlutterFragment (flutter/engine#25770) 2021-04-26 22:23:45 -07:00
xster
5c59e9637d Add more doc for how the plugin registration process works and how to customize it (flutter/engine#25578) 2021-04-26 17:14:01 -07:00
Jason Simmons
93c02ed46c Do not use android_context after it is std::moved in the PlatformViewAndroid constructor (flutter/engine#25757) 2021-04-24 18:35:31 -07:00
Emmanuel Garcia
4842a3a52e Fix accessibility of embedded views in Android 9 and below (flutter/engine#25709) 2021-04-23 11:16:09 -07:00
Dan Field
f8754257da Refactor Android PlatformView constructors (flutter/engine#25632) 2021-04-22 15:13:55 -07:00
Emmanuel Garcia
a8bee24681 TalkBack shouldn't announce platform views that aren't in the a11y tree (flutter/engine#25666) 2021-04-20 12:39:02 -07:00
eggfly
bddb13004d Fix: add Android accessibility bounds offset when FlutterView's location is not left top corner (flutter/engine#25670) 2021-04-20 09:37:25 -07:00
xster
ae13029ab3 change the Android FlutterEngine class doc around multiple engines (flutter/engine#25575) 2021-04-15 06:14:01 -07:00
xster
a04eb5db2b Deduplicate plugin registration logic and make error logs visible - take 2 (flutter/engine#25395) 2021-04-14 09:34:01 -07:00
xster
76df94bbde Reduce the warning severity for FlutterEngineGroup (flutter/engine#25544) 2021-04-13 10:14:02 -07:00
Ari Weiland
ce085d0129 Add automatic onBackPressed behavior to FlutterFragment (flutter/engine#25453) 2021-04-09 13:18:43 -07:00
Dan Field
22da76000a Refactor GPU access switch (flutter/engine#24356) 2021-04-06 22:16:06 -07:00
Ari Weiland
48df08e088 Update FlutterFragment to implement ComponentCallbacks2. (flutter/engine#25428) 2021-04-05 23:04:46 -07:00
Chris Bracken
f4d1c89df1 Extract Dart logging to the embedders (flutter/engine#25402)
Previously messages logged from Dart code (e.g. via the print function)
were handled directly in the engine by platform-specific code. This
factors out a LogMessage(tag, message) callback that embedders can
implement with platform-specific code.

This also eliminates a dependency on platform-specific code in the core,
and provides more flexibility to embedders than the current fallback to
stdout, which can be a problem on platforms without a traditional stdout
or with restrictions on stdout.

Fixes https://github.com/flutter/flutter/issues/79685
2021-04-05 15:43:21 -07:00
xster
6f92b73ba2 Revert "Deduplicate plugin registration logic and make error logs visible (#25297)" (flutter/engine#25393) 2021-04-02 12:44:01 -07:00
Chris Bracken
9b4a0264d5 Correct typos throughout the engine/embedder (flutter/engine#25346)
Used the the `misspell` tool available at
https://github.com/client9/misspell, then applied hand-corrections. It's
possible we could adopt this as a presubmit, but there are still enough
false positives that it may not be worth the effort.
2021-04-01 11:08:19 -07:00
Emmanuel Garcia
c34705f5dd Reland: "Fix memory leak and bug in the RunsOnCreationTaskRun" (flutter/engine#25317) 2021-03-31 15:16:38 -07:00
Alexander Brusher
3ebaf4f764 [fuchsia][a11y] Adds isKeyboardKey semantics flag. (flutter/engine#25167)
This change introduces a semantics flag to indicate whether a node
represents a virtual keyboard key.
2021-03-30 13:26:56 -07:00
xster
59ff1d3735 Deduplicate plugin registration logic and make error logs visible (flutter/engine#25297) 2021-03-30 11:19:01 -07:00
chunhtai
0b40ddfde0 Reland "Fixes android voice access delete text, redo, and undo action" (flutter/engine#25289)
* Reland "Fixes android voice access delete text, redo, and undo actions. (#25050)"

This reverts commit b1b20aedd68a6cfea50b61e4f4aca74c3909407c.

* fix condition
2021-03-30 10:21:21 -07:00
xster
058ebe70e5 Turn off insecure socket policy configuration in the engine (flutter/engine#25299) 2021-03-30 10:15:10 -07:00
LongCatIsLooong
bc034502d7 [Android Text Input] restart when framework changes composing region (flutter/engine#25180) 2021-03-29 16:29:01 -07:00
Karl
fcb807db42 Add clear method in FlutterEngineCache to clear all cached Flutter engines #78420 (flutter/engine#25280) 2021-03-29 09:59:01 -07:00
chunhtai
b1b20aedd6 Revert "Fixes android voice access delete text, redo, and undo actions. (#25050)" (flutter/engine#25286)
This reverts commit dd9fcd6de3b0f3279153fd6549e828389b9124d3.
2021-03-29 09:31:07 -07:00
shuoch-g
7a83f0694b Let FlutterEngine to turn off automaticallyRegisterPlugins from AndroidManifest.xml. (flutter/engine#24479) 2021-03-25 14:59:02 -07:00
chunhtai
dd9fcd6de3 Fixes android voice access delete text, redo, and undo actions. (flutter/engine#25050)
* Fixes android voice access delete text, redo, and undo actions

* account for unicode
2021-03-25 10:42:01 -07:00
xster
708d427d93 Make DartExecutor.isExecutingDart account for spawned engines (flutter/engine#25171) 2021-03-23 09:50:03 -07:00
gaaclarke
58151aed7d Switched assert(x > 0) to assert(x != 0) to handle tagged pointers in java (flutter/engine#25174) 2021-03-23 18:19:56 +08:00
Gary Qian
5359dffc36 [deferred components] Handle base module loading units (flutter/engine#24983) 2021-03-15 17:48:01 -07:00
Gary Qian
3f022df5d0 Rename moduleName to componentName for consistency (flutter/engine#24906) 2021-03-10 03:20:01 -08:00
xster
c0b9da55ea update links from https://github.com/flutter/engine/pull/24766 (flutter/engine#24818) 2021-03-09 23:45:02 -08:00
Ren You
4885af8ae3 Revert "Fix memory leak and bug in the RunsOnCreationTaskRunner check (#24690)" (flutter/engine#24874)
This reverts commit e0a475111216cf4775e08441100c0b6a24fd8b84.
2021-03-09 06:29:42 -08:00
Chris Bracken
13cf185e1c Correct setup-related typos (flutter/engine#24846)
Corrects uses of setup as a verb to 'set up', leaves noun/noun-phrase
forms of setup as 'setup'. Also settles on 'teardown' as opposed to
tear-down for consistency across the codebase.

A few other minor comment/wording corrections.
2021-03-08 17:31:10 -08:00
Emmanuel Garcia
503af63aef Prevent race condition while switching surfaces (flutter/engine#24838) 2021-03-05 21:50:13 -08:00
Emmanuel Garcia
e5ca96cc41 Revert "Replace Flutter surface only after all platform views are destroyed (#24363)" (flutter/engine#24800)
This reverts commit 5d850382d4205a9e2f5d42383d63ecb8cae2247b.
2021-03-05 10:45:20 -08:00