Jason Simmons
24cf8ebd86
Support hot and cold reload when using the APK asset provider on Android ( #4746 )
...
* deprecate snapshot_override, which is an obsolete predecessor of hot reload
* give the APKAssetProvider to the engine in the initial call to RunBundle
* later calls to Engine::RunBundleAndSource or Engine::SetAssetBundlePath
will replace the APK asset provider with a DirectoryAssetBundle that uses
the newly pushed assets
2018-03-06 10:40:19 -08:00
Michael Goderbauer
16fe8f6b98
Use android.view.View as default for a11y nodes ( #4737 )
2018-03-05 09:51:08 -08:00
Sarah Zakarias
a00f8e8bc0
Read assets out of APK on Android ( #4742 )
2018-03-05 14:09:45 +01:00
Michael Goderbauer
a4b1fccdaa
Fix traversal order for a11y scrolling ( #4726 )
...
Fixes https://github.com/flutter/flutter/issues/14987 , but why?
2018-03-01 04:53:58 -08:00
Mikkel Nygaard Ravn
3656278894
Make deprecated API unavailable ( #4722 )
2018-02-28 11:14:43 +01:00
xster
ba98f2634b
Add more haptic feedback varieties ( #4699 )
...
* Add more haptic feedback varieties
* Make the specific feedback types do nothing on <iOS 10
2018-02-27 14:55:18 -08:00
Todd Volkert
4cafde3c80
Add flag to skip call to SkGraphics::Init() ( #4694 )
...
https://github.com/flutter/flutter/issues/14519
2018-02-20 17:42:11 -08:00
Jason Simmons
a8bda71e62
Use an alpha type that matches the color type in Android software rendering ( #4681 )
...
Fixes https://github.com/flutter/flutter/issues/14709
2018-02-15 13:00:57 -08:00
Siva
19e8d9b2bf
Fix strong flag setting ( #4683 )
...
* Turn on strong mode by default when a platform file is present in the
bundle instead of using a flag passed into the engine which might not be
true when we invoke an installed app.
* - Roll dart to version fe96de2858f078e4ad04f8f30640184bf3d8102d
* Update license file.
2018-02-15 11:02:31 -08:00
Greg Spencer
f5a4a93787
Swap setTraversalBefore to setTraversalAfter, since setTraversalBefore is broken. ( #4656 )
...
It seems that setTraversalBefore doesn't work as well as setTraversalAfter for some reason, although I'm using them the same way. Some apps would lock up TalkBack when traversing if setTraversalBefore was set, but not with the equivalent setTraversalAfter.
It's not entirely clear why this is, but I'm going with this to at least get it fixed for apps we know about.
Addresses flutter/flutter#14600
See also flutter/flutter#14607
2018-02-12 10:02:25 -08:00
Michael Goderbauer
a00f94582b
Add accessibilityFocus and loseAccessibilityFocus as a11y actions ( #4655 )
2018-02-09 17:47:52 -08:00
Michael Goderbauer
8ac6f6efa1
Encode scrolling status into tree ( #4647 )
2018-02-09 15:39:58 -08:00
Jason Simmons
9d93a07bde
Update PlatformViewAndroid for the new definition of SemanticsNodeUpdates ( #4636 )
2018-02-05 16:11:51 -08:00
Yegor
6dd49f0695
iOS a11y text entry (~70% of it) ( #4575 )
...
* implement iOS text field editing in a11y mode
* address Chinmay's comments
* replace node in child list when changing type
2018-02-05 15:14:13 -08:00
Jason Simmons
15430edc1f
Fix some errors in Javadoc annotations ( #4622 )
2018-01-31 13:56:32 -08:00
Greg Spencer
96acd1a383
Adding semantics traversal order support ( #4540 )
...
This adds support for semantics traversal ordering.
It is a companion to flutter/flutter#14060 , adding support for a sortIndex in the semantics data passed to the engine.
Addresses flutter/flutter#12187
2018-01-30 13:42:12 -08:00
Michael Goderbauer
3107f167dc
Remove unnecessary trim ( #4616 )
...
... which caused trouble for a11y "select all".
2018-01-29 18:12:29 -08:00
Michael Goderbauer
a1e4f2f991
Add semantic actions for copy, cut, and paste ( #4592 )
2018-01-26 12:11:38 -08:00
Michael Goderbauer
7c34dfafc9
Adds a11y action for selecting text (and moving cursor) ( #4589 )
...
See https://github.com/flutter/flutter/pull/14275 for framework side change.
Also includes some minor clean-ups for consistency.
Required for https://github.com/flutter/flutter/issues/13469 .
2018-01-25 15:00:29 -08:00
Michael Goderbauer
4c82c566ed
a11y: Announce changes to cursor position on Android ( #4587 )
2018-01-24 16:54:14 -08:00
Michael Goderbauer
e4cabae56f
Add a11y support for selected text ( #4584 )
2018-01-24 15:08:29 -08:00
Jason Simmons
8b7ebb7730
Convert other Android clipboard formats into text ( #4578 )
...
Fixes https://github.com/flutter/flutter/issues/14093
2018-01-22 13:55:48 -08:00
Michael Goderbauer
c98443ee37
Echo letters and words typed into TextField back ( #4574 )
...
Fixes https://github.com/flutter/flutter/issues/13392 .
2018-01-22 11:14:12 -08:00
Ali Bitek
8e9598df97
Get active Context from the Registrar ( #4523 )
2018-01-20 08:46:40 +01:00
Michael Goderbauer
7173a158db
Announce when checked status changes on Android ( #4557 )
...
Fixes https://github.com/flutter/flutter/issues/14092
2018-01-16 23:10:17 -08:00
Michael Goderbauer
e7e94c6307
Properly identify CheckBox and RadioButton on Android ( #4547 )
2018-01-12 15:27:55 -08:00
Michael Goderbauer
5ce89a0f3d
Fixes crash on Android when activating Now on Tap ( #4536 )
2018-01-12 10:22:55 -08:00
Mikkel Nygaard Ravn
84fc920fde
Deprecate support for big integers in standard message codec ( #4528 )
2018-01-09 23:58:45 +01:00
Mehmet Fidanboylu
9b98d194f2
Fix build break caused by https://github.com/flutter/engine/pull/4491 ( #4524 )
2018-01-07 07:51:46 -08:00
Mehmet Fidanboylu
d43ae0b41b
Add unwrap to JSONUtil ( #4491 )
...
We have a use for this for the internal messaging plugin. Instead of rolling our own, it made sense to add it here especially since it has the mirror functionality (wrap).
2018-01-06 14:32:00 -08:00
Jason Simmons
e1b01d7d7b
API version check for AccessibilityNodeInfo.setEditable call ( #4522 )
...
Fixes https://github.com/flutter/flutter/issues/13896
2018-01-05 14:45:35 -08:00
Michael Goderbauer
12e0e38a8b
Split SemanticsFlags.isDisabled into two ( #4517 )
2018-01-04 15:15:54 -08:00
Alexander Aprelev
6bacf4522e
This adds RPC call to set asset path. ( #4323 )
...
* This adds rpc call to simply set asset path.
This is needed when doing hot reload to pick up updated assets.
* Move asset_directory fetch for after view_id. Clean up return. Fix formatting.
* Add SetAssetBundlePath methods implementations for mac and ios
* Fix mac mm
* Fix formatting
* Merge and use nullptr
2018-01-04 09:48:01 -08:00
Sigurd Meldgaard
9efcd5371a
Apply texture transform on Android ( #4513 )
...
* Apply transform to textures on android
2018-01-04 16:04:30 +01:00
Siva
0f0b144b03
Add support for --strong option in the engine, create a strong mode version of the platform file ( #4504 )
...
* Add a --strong option to the front end server so we can use strong mode with preview-dart-2.
* Plumb the --strong option through the dart controller into the VM.
* - Build a strong version of platform.dill for use with the engine.
- Fix a strong mode static error in the assert statement
* Enable asserts when running debug version even in strong mode.
* Use the correct platform dill file for linking when doing the aot builds.
* Fix formatting issue.
2018-01-03 16:52:24 -08:00
Alexander Aprelev
b6c9ca5552
Revert "Apply transform to textures on android ( #4486 ) ( #4507 )" ( #4510 )
...
This reverts commit 368380cfe1ddcfb8e884b411050bbe6f8d5eb8a5.
This breaks Flutter external_ui test.
2018-01-03 12:37:39 -08:00
Sigurd Meldgaard
368380cfe1
Apply transform to textures on android ( #4486 ) ( #4507 )
...
* Apply transform to textures on android
2018-01-03 11:45:28 +01:00
Michael Goderbauer
26010cf483
Add SemanticsFlag.isDisabled ( #4503 )
2018-01-02 15:57:52 -08:00
Alexander Aprelev
0a93f9ffbf
Revert "Apply transform to textures on android ( #4486 )" ( #4502 )
...
This reverts commit eee4a1ed821e98922476f2ce0b1e99ce1a606704.
Original commit caused external_ui integration test failure on Android.
2018-01-02 13:40:27 -08:00
Mikkel Nygaard Ravn
288897bb46
Fix API typo ( #4487 )
2018-01-02 15:32:53 +01:00
Sigurd Meldgaard
eee4a1ed82
Apply transform to textures on android ( #4486 )
...
* Apply transform to textures on android
* Use RAII canvas save
2017-12-22 11:15:32 +01:00
Sarah Zakarias
00e9b362d5
Read FlutterAssetsDir from the Android manifest XML file ( #4485 )
2017-12-21 09:26:16 +01:00
Michael Goderbauer
937bde8f98
A11y nodes with only value or hint are focusable ( #4481 )
2017-12-20 11:15:10 -08:00
Sarah Zakarias
4cbe26dd37
Handle Flutter assets outside FLX ( #4343 )
2017-12-13 10:55:24 +01:00
Michael Goderbauer
e07eafae1d
Roll forward: Parameters for SemanticActions; a11y text selection ( #4452 )
...
Reverts the revert in #4448 with fixes to pass on the bot.
This change will require framework changes in flutter/flutter#13490 .
2017-12-12 14:25:45 -08:00
Chris Bracken
6c6b709b2c
Model Android keyboard height as view inset ( #4447 )
...
Model top and side system insets as padding and bottom (keyboard) as a
view inset. This avoids applying system insets twice (once as an inset,
once as padding).
2017-12-12 11:04:42 -08:00
Michael Goderbauer
056fd4597f
Revert " Add parameters to SemanticActions; implement extend selection for a11y ( #4444 )" ( #4448 )
...
This reverts commit 59c3a37e6436d60381d9708113228c83ccc6b7f9.
2017-12-12 10:53:15 -08:00
Michael Goderbauer
59c3a37e64
Add parameters to SemanticActions; implement extend selection for a11y ( #4444 )
2017-12-12 10:06:04 -08:00
Jason Simmons
aaa758d619
Check for a detached FlutterNativeView before sending messages ( #4445 )
...
Fixes https://github.com/flutter/flutter/issues/13481
2017-12-11 17:15:21 -08:00
Jason Simmons
a2f488ac7f
Do not report a cursor location if there is no active selection ( #4427 )
...
Fixes https://github.com/flutter/flutter/issues/13398
2017-12-07 17:43:51 -08:00