- 02 4月, 2019 1 次提交
-
-
由 Chinmay Garde 提交于
When attempting to shutdown and subsequently restart the VM, having the VM own this data introduces lifecycle issues due to circular references.
-
- 30 3月, 2019 3 次提交
-
-
由 Chinmay Garde 提交于
Previously, only the most basic tests were run in AOT mode.
-
由 Jonah Williams 提交于
-
由 Jason Simmons 提交于
The font manager returned by SkFontMgr::RefDefault is determined by Skia's build configuration flags. Embedders may want to use a default font manager other than the one selected by their build of Skia.
-
- 29 3月, 2019 4 次提交
-
-
由 Jonah Williams 提交于
-
由 Chinmay Garde 提交于
Also cleans up the a11y unittests to use the new builder API and avoids polluting the global namespace with state for assertions.
-
由 Jonah Williams 提交于
-
由 Jonah Williams 提交于
-
- 28 3月, 2019 1 次提交
-
-
由 Chinmay Garde 提交于
Currently, all Flutter threads are managed by the engine itself. This works for all threads except the platform thread. On this thread, the engine cannot see the underlying event multiplexing mechanism. Using the new task runner interfaces, the engine can relinquish the task of setting up the event multiplexing mechanism and instead have the embedder provide one for it during setup. This scheme is only wired up for the platform thread. But, the eventual goal is to expose this message loop interoperability for all threads.
-
- 26 3月, 2019 1 次提交
-
-
由 Amir Hardon 提交于
Delegate a11y events and action to/from embedded Android platfrom views. This handles delegation of: * AccessibilityNodeProvider#performAction * ViewGroup#requestSendAccessibilityEvent * View#onHoverEvent Additionally updates the currently input accessibility focused node state that is tracked by the a11y bridge when an embedded view's node is focused.
-
- 22 3月, 2019 1 次提交
-
-
由 Amir Hardon 提交于
This PR mirrors virtual a11y tree of embedded platform views in the Flutter a11y tree. Non virtual hierarchies are not currently supported. Only works on Android versions earlier than Android P as it relies on reflection access to hidden system APIs which cannot be done starting Android P. A11y is not yet working as we also need to delegate a11y events from the platform view to the FlutterView. This will be done in a following PR to keep the change size a little saner.
-
- 21 3月, 2019 2 次提交
-
-
由 stuartmorgan 提交于
Changes include: - File structure - Header guards - Include paths - Namespaces - Integration with the engine's GN build - Conversion from jsoncpp to rapidjson - Style and clang-format adjustment to match engine repository
-
由 Matt Carroll 提交于
-
- 20 3月, 2019 1 次提交
-
-
由 Amir Hardon 提交于
This is in preparation for implementing platform views a11y on Android. And e2e working prototype is available here: https://github.com/amirh/engine/tree/a11y_hacks flutter/flutter#19418
-
- 19 3月, 2019 1 次提交
-
-
由 Jonah Williams 提交于
-
- 13 3月, 2019 1 次提交
-
-
由 liyuqian 提交于
This reverts commit f1f19bba. Now we shouldn't break the engine build as https://chromium-review.googlesource.com/c/chromium/tools/build/+/1480746 is landed. The golden test is disabled by default and we'll enable it later in our recipe and test it in presubmit tests.
-
- 08 3月, 2019 1 次提交
-
-
由 Jonah Williams 提交于
-
- 06 3月, 2019 1 次提交
-
-
由 Chinmay Garde 提交于
There is already fml/memory/thread_checker.h
-
- 01 3月, 2019 1 次提交
-
-
由 Matt Carroll 提交于
Android Embedding PR 9: Introduce an AndroidTouchProcessor to convert MotionEvents to Flutter touch data. (#7947)
-
- 26 2月, 2019 1 次提交
-
-
由 Matt Carroll 提交于
-
- 25 2月, 2019 1 次提交
-
-
由 Matt Carroll 提交于
Android Embedding PR 6: Introduce FlutterView structure with FlutterSurfaceView and FlutterTextureView. (#7896)
-
- 23 2月, 2019 1 次提交
-
-
由 Chinmay Garde 提交于
We should not be exporting anything from FML anyway.
-
- 22 2月, 2019 4 次提交
-
-
-
由 Chris Bracken 提交于
Revert "Revert "Revert "Reland PerformanceOverlayLayer golden test (#7863)" (#7895)" (#7911)" (#7916) This breaks the Linux build with: ``` [ RUN ] PerformanceOverlayLayer.Gold ../../flutter/flow/layers/performance_overlay_layer_unittests.cc:70: Failure Value of: golden_data != nullptr Actual: false Expected: true Golden file not found: "/b/s/w/ir/k/src/flutter/testing/resources"/performance_overlay_gold.png. Please either set --golden-dir, or make sure that the unit test is run from the right directory (e.g., flutter/engine/src). ``` This reverts commit 3f0ce769.
-
由 Stanislav Baranov 提交于
-
- 21 2月, 2019 6 次提交
-
-
由 Chris Bracken 提交于
Reverting this broke the flow tests for the performance overlay: ``` ../../flutter/flow/layers/performance_overlay_layer_unittests.cc:70: Failure Value of: golden_data != nullptr Actual: false Expected: true ``` This reverts commit 8427d73c.
-
由 Chris Bracken 提交于
Flutter's accessibility APIs consist of three main calls from the embedder to the Dart application: 1. FlutterEngineUpdateSemanticsEnabled: enables/disables semantics support. 2. FlutterEngineUpdateAccessibilityFeatures: sets embedder-specific accessibility features. 3. FlutterEngineDispatchSemanticsAction: dispatches an action (tap, long-press, scroll, etc.) to a semantics node. and two main callbacks triggered by Dart code: 1. FlutterUpdateSemanticsNodeCallback: notifies the embedder of updates to the properties of a given semantics node. 2. FlutterUpdateSemanticsCustomActionCallback: notifies the embedder of updates to custom semantics actions registered in Dart code. In the Flutter framework, when accessibility is first enabled, the embedder will receive a stream of update callbacks notifying the embedder of the full semantics tree. On further changes in the Dart application, only updates will be sent.
-
-
由 Matt Carroll 提交于
Merging back in after reversion. Fixed some messaging issues in FlutterNativeView and corrected some message parsing.
-
- 20 2月, 2019 2 次提交
-
-
由 Matt Carroll 提交于
- 16 2月, 2019 4 次提交
-
-
由 Stanislav Baranov 提交于
This reverts commit d48de7a3.
-
由 Chris Bracken 提交于
From build log: ``` ../../flutter/shell/platform/android/io/flutter/view/FlutterView.java:95: error: cannot find symbol private final LocalizationChannel localizationChannel; ^ symbol: class LocalizationChannel location: class FlutterView ../../flutter/shell/platform/android/io/flutter/view/FlutterView.java:172: error: cannot find symbol localizationChannel = new LocalizationChannel(dartExecutor); ^ symbol: class LocalizationChannel location: class FlutterView 2 errors ``` This reverts commit 256db4bc.
-
由 Chinmay Garde 提交于
The shell was already designed to cleanly shut down the VM but it couldnt earlier as |Dart_Initialize| could never be called after a |Dart_Cleanup|. This meant that shutting down an engine instance could not shut down the VM to save memory because newly created engines in the process after that point couldn't restart the VM. There can only be one VM running in a process at a time. This patch separate the previous DartVM object into one that references a running instance of the DartVM and a set of immutable dependencies that components can reference even as the VM is shutting down. Unit tests have been added to assert that non-overlapping engine launches use difference VM instances.
-
由 Matt Carroll 提交于
-
- 12 2月, 2019 2 次提交
-
-
由 Stanislav Baranov 提交于
-
由 Matt Carroll 提交于
-