amirh
51785d244d
Remove unused Java imports ( #5663 )
2018-07-03 09:21:03 -07:00
matthew-carroll
061e899b55
Support all keyboard actions. ( #11344 ) ( #5620 )
...
* Support all keyboard actions. (#11344 )
2018-07-02 06:58:01 +00:00
Jonah Williams
ce06bbac58
ensure a11y state is communicated back to flutter ( #5631 )
2018-06-28 13:30:51 -07:00
Jason Simmons
fbb3436eaa
Remove some unused code from the Android host ( #5619 )
...
These functions were made obsolete by the engine refactoring
(6baff4c821 )
2018-06-27 11:06:15 -07:00
Jason Simmons
2c158b6390
Check for calls to FlutterMain.ensureInitializationComplete before startInitialization ( #5614 )
2018-06-25 16:32:38 -07:00
Jason Simmons
1174a4d9fe
Load the ICU data file asset from the "flutter_shared" path ( #5567 )
...
See https://github.com/flutter/flutter/issues/18514
2018-06-19 14:34:13 -07:00
Ryan Macnak
fe9dd64d70
Replace AssetResolver GetAsBuffer with GetAsMapping. ( #5546 )
...
Toward no-copy loading of kernel.
2018-06-19 14:24:19 -07:00
Chinmay Garde
0c119932c0
Add explicit casts to pointer data members on Android. ( #5558 )
...
This accounts for changes made in https://github.com/flutter/engine/pull/5556
2018-06-18 12:08:11 -07:00
Ian Hickson
824e45e7c1
Remove spurious log messages ( #5547 )
...
These are making some of the tests that are sensitive to output flakey.
2018-06-15 14:15:35 -07:00
Stanislav Baranov
8c6953f869
Fix compile error introduce in #5473 . ( #5488 )
...
Fix compile error introduced in #5473 .
2018-06-07 15:36:35 -07:00
Stanislav Baranov
f51b6b3b07
Support running bundles from zip file. ( #5473 )
...
Support running bundles from zip file.
2018-06-07 15:09:23 -07:00
Zachary Anderson
a09b4fdcb7
Adds dynamic, interpreter configs to tools/gn ( #5446 )
...
Adds --dynamic and --interpreter flags to
tools/gn. These flags result in engines with
properties as follows:
--dynamic:
- JIT targeting native code on Android and
DBC on iOS
--interpreter
- Target DBC even if running on Android.
For example:
gn --android --dynamic --interpreter --runtime-mode release
Will generate an engine:
- Without Dart asserts
- Without Observatory
- With JIT compililation to DBC
into out/android_dynamic_release_dbc
2018-06-05 14:52:52 -07:00
Stanislav Baranov
cce4fd2279
Remove unused argument. ( #5471 )
2018-06-05 13:11:18 -07:00
Chinmay Garde
16f4da984c
Parse --verbose-logging flag from intent and pass to the engine as args. ( #5447 )
2018-06-01 17:34:45 -07:00
Mehmet Fidanboylu
d7e3f2d6e7
Fix lint errors to prepare for building Android files in Google ( #5440 )
2018-06-01 10:16:50 -07:00
Chinmay Garde
8caa7612f8
Create a shell with no GPU configurations unless explicitly specified by the platform. ( #5383 )
2018-05-25 14:31:01 -07:00
Simon Lightfoot
abd74ed5ed
Add support for physical keyboards on Android ( #5324 )
...
* Fixes flutter/flutter#7943
* Fixes flutter/flutter#9347
* Fixes flutter/flutter#11177
2018-05-24 15:21:33 -07:00
Ryan Macnak
86d96fd0ce
Reapply "Don't link the core snapshot in the Android engine." ( #5353 )
...
Add back the core snapshot to runtime_unittests and embedder_unittests.
2018-05-23 17:09:51 -07:00
Ryan Macnak
2e9ff1f09a
Revert "Don't link the core snapshot in the Android engine. ( #5348 )" ( #5352 )
...
This reverts commit e0d4c4641386b8a81c7e9c3bc1a32172d81a785d.
2018-05-23 16:11:57 -07:00
Michael Goderbauer
47f4a2aad4
Remove assert for unsupported SemanticsEvents ( #5349 )
...
Not all platforms are expected to handle all SemanticsEvents. Therefore, it is ok to just drop unsupported events on the floor.
2018-05-23 16:05:15 -07:00
Ryan Macnak
e0d4c46413
Don't link the core snapshot in the Android engine. ( #5348 )
...
Allows one to use a different core snapshot without a custom engine build by just packaging a different one in the APK.
2018-05-23 15:56:28 -07:00
Yegor
f876bd5710
split children into two ordered lists: traversal and hit test ( #5091 )
...
* split `children` into two ordered lists: traversal and hit test
* address comments
* reduce node object byte size
* link to DebugSemanticsDumpOrder
2018-05-21 17:44:23 -07:00
Michael Goderbauer
eb4d823557
Re-add ACTION_LONG_CLICK for Android a11y ( #5330 )
2018-05-21 11:29:50 -07:00
Chinmay Garde
5cba5774c6
Break the FXL from flutter/assets. ( #5316 )
2018-05-18 17:04:36 -07:00
Michael Goderbauer
a7b44d4ab0
Only send a11y events if a11y is turned on ( #5281 )
2018-05-16 13:12:56 -07:00
Jason Simmons
c7ab033f9e
Support a model where the application creates a FlutterNativeView that is never destroyed ( #5256 )
...
This allows applications to start a Flutter engine instance during app startup
and keep it running throughout the app process' lifetime.
FlutterActivity subclasses can override createFlutterNativeView to provide a
preinitialized FlutterNativeView instance and override retainFlutterNativeView
to signal that the FlutterNativeView should be kept alive when the activity
is destroyed.
2018-05-15 12:05:54 -07:00
Jason Simmons
3ec12d4c3f
Detach from JNI before exiting the GPU thread. ( #5231 )
...
The GPU thread calls into Java via JNI in order to update external textures.
Fixes https://github.com/flutter/flutter/issues/17329
2018-05-11 11:42:19 -07:00
Jonah Williams
57f53b98a4
Re-land Enables system chrome customization on Android O/N and greater ( #5171 )
2018-05-07 15:45:59 -07:00
Jonah Williams
e1cd506187
add onStart hook which places flutter in an inactive state ( #5177 )
2018-05-04 14:46:57 -07:00
Jonah Williams
3c583f81d9
Revert "Enables system chrome customization on Android O and greater" ( #5167 )
...
* Revert "Roll dart sdk to e6d7d67f4b35556805dd083fed15bf3ed41f7e33. (#5165 )"
This reverts commit 9e4c5d0e1f9daf0c46fdc7e5d1e81ce9c36b65c4.
* Revert "Enables system chrome customization on Android M/O and greater (#5112 )"
This reverts commit f2db5dfd30f12407acab57f04acc8af7c6158891.
2018-05-03 15:38:25 -07:00
Jonah Williams
f2db5dfd30
Enables system chrome customization on Android M/O and greater ( #5112 )
2018-05-03 13:10:44 -07:00
Jonah Williams
93b85ee68a
Add Android accessibility bridge support for "longPress" and "tap" semantic events
2018-05-02 17:24:29 -07:00
xster
d48ba4c034
Increase the GPU thread priority and add error logging ( #5117 )
2018-04-30 17:18:33 -07:00
Jason Simmons
7004e0654c
Re-land "Hold a global reference to the AssetManager Java object backing the APKAssetProvider" ( #5132 )
...
Fixes https://github.com/flutter/flutter/issues/16222
2018-04-30 12:29:40 -07:00
Jason Simmons
5b4ab0dc80
Detach from JNI during shutdown of the UI thread on Android ( #5120 )
...
The APKAssetProvider will hold a reference to its Java peer
(see ac682632d7 )
After dropping this reference, the UI thread must detach from JNI before exiting.
2018-04-30 10:44:01 -07:00
Yegor
cf026b098d
Revert "Hold a global reference to the AssetManager Java object backing the APKAssetProvider ( #5078 )" ( #5116 )
...
This reverts commit ac682632d7b050463e0461cbb416aaedbcba4bcf.
It causes engine crashes in some Android Espresso tests.
2018-04-27 13:47:26 -07:00
Jonah Williams
e11905c6e5
Add tooltip method to Android AccessibilityBridge ( #5103 )
2018-04-26 15:03:47 -07:00
Ryan Macnak
78f8a0f45a
[fuchsia] Changes for running Dart 2 on flutter_runner. ( #5080 )
...
- Remove assumption that we're in Dart 2 mode only if there's a platform kernel.
- Load core snapshots from the package instead of linking them in.
2018-04-25 13:31:13 -07:00
Jason Simmons
ac682632d7
Hold a global reference to the AssetManager Java object backing the APKAssetProvider ( #5078 )
...
Fixes https://github.com/flutter/flutter/issues/16222
2018-04-24 15:50:52 -07:00
Yegor
ec611470b5
replace nextNodeId/previousNodeId with hitTestPosition ( #5066 )
2018-04-23 16:16:17 -07:00
Jason Simmons
232060828a
Fix syntax error in AccessibilityBridge ( #5059 )
2018-04-20 13:54:27 -07:00
Jason Simmons
944b7dceae
Prevent multiple calls to FlutterMain.startInitialization ( #5058 )
...
See https://github.com/flutter/flutter/issues/16748
and https://github.com/flutter/flutter/issues/16456
2018-04-20 11:38:10 -07:00
Michael Goderbauer
995633ef49
Add SemanticsFlag.isHidden ( #5052 )
2018-04-20 10:37:02 -07:00
Jason Simmons
adee351424
Throw an error or return null if FlutterView.getBitmap fails ( #5051 )
...
getBitmap had been doing FXL_CHECK assertions to check memory allocation
failures and other errors. getBitmap will now return null to the caller
instead.
(The VM may throw OutOfMemoryError or other exceptions if JNI APIs fail)
Fixes https://github.com/flutter/flutter/issues/16750
2018-04-19 16:12:22 -07:00
Jonah Williams
3405e23a32
AccessibilityBridge support for edge triggered semantics (iOS + Android) ( #4901 )
...
AccessibilityBridge support for edge triggered semantics (iOS + Android)
2018-04-19 11:14:47 -07:00
Mikkel Nygaard Ravn
3393c17901
Fix Android platform channels ( #5025 )
2018-04-17 16:02:10 +02:00
Jonah Williams
0b7d6be976
Re-land "do not pause rendering when android view loses focus" ( #5004 )
...
* do not pause rendering when android view loses focus
2018-04-13 17:08:00 -07:00
Chinmay Garde
58e84c8bf0
Re-land "Support multiple shells in a single process. ( #4932 )" ( #4998 )
...
* Re-land "Support multiple shells in a single process. (#4932 )"
This reverts commit 723c7d01439da4261bc836075fb55651ce9e7f03.
2018-04-13 13:48:15 -07:00
Jonah Williams
8a6e64a8ef
Revert "Do not pause rendering when android activity loses focus ( #4848 )" ( #4985 )
...
This reverts commit c83d1ef12df0cf8b11a6dda044f812f8cc6c16ef.
2018-04-12 11:20:24 -07:00
Jonah Williams
c83d1ef12d
Do not pause rendering when android activity loses focus ( #4848 )
...
* do not pause rendering when android view loses focus
2018-04-12 11:00:31 -07:00