1. 02 4月, 2019 1 次提交
  2. 30 3月, 2019 3 次提交
  3. 29 3月, 2019 4 次提交
  4. 28 3月, 2019 1 次提交
    • C
      Allow embedders to specify their own task runner interfaces. (#8273) · cb8eb801
      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.
      cb8eb801
  5. 26 3月, 2019 1 次提交
    • A
      Delegate a11y events and action to/from embedded Android platform views. (#8250) · 345ae7d3
      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.
      345ae7d3
  6. 22 3月, 2019 1 次提交
    • A
      Mirror Android platform views a11y tree in the Flutter a11y tree. (#8237) · 06635d38
      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.
      06635d38
  7. 21 3月, 2019 2 次提交
  8. 20 3月, 2019 1 次提交
  9. 19 3月, 2019 1 次提交
  10. 13 3月, 2019 1 次提交
  11. 08 3月, 2019 1 次提交
  12. 06 3月, 2019 1 次提交
  13. 01 3月, 2019 1 次提交
  14. 26 2月, 2019 1 次提交
  15. 25 2月, 2019 1 次提交
  16. 23 2月, 2019 1 次提交
  17. 22 2月, 2019 4 次提交
  18. 21 2月, 2019 6 次提交
  19. 20 2月, 2019 2 次提交
  20. 16 2月, 2019 4 次提交
    • S
      51416802
    • C
      Revert "Android embedding refactor pr3 add remaining systemchannels (#7738)" (#7849) · 163a2fd5
      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.
      163a2fd5
    • C
      Shut down and restart the Dart VM as needed. (#7832) · 0d6ff166
      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.
      0d6ff166
    • M
  21. 12 2月, 2019 2 次提交