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
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
Jonah Williams
e1cd506187
add onStart hook which places flutter in an inactive state ( #5177 )
2018-05-04 14:46:57 -07:00
Jonah Williams
93b85ee68a
Add Android accessibility bridge support for "longPress" and "tap" semantic events
2018-05-02 17:24:29 -07:00
Jonah Williams
e11905c6e5
Add tooltip method to Android AccessibilityBridge ( #5103 )
2018-04-26 15:03:47 -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
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
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
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
Jason Simmons
5e8557330a
Allow FirstFrameListeners to remove themselves from the FlutterView's list ( #4871 )
...
Fixes https://github.com/flutter/flutter/issues/15884
2018-03-26 15:43:38 -07:00
Michael Goderbauer
c3ab0c9143
Rename isPassword to isObscured ( #4815 )
2018-03-19 15:52:16 -07:00
Jason Simmons
a9b5e1bdac
Fix a missing paren ( #4808 )
2018-03-19 12:07:28 -07:00
Michael Goderbauer
cc6b45014b
Support password fields on Android ( #4781 )
2018-03-19 10:25:09 -07:00
Sarah Zakarias
2c5a1bf507
Provide lookup key to access Flutter assets in the APK ( #4785 )
2018-03-16 12:59:57 +01:00
Michael Goderbauer
7d9e42ac61
Add API guard to a11y setTraversalAfter ( #4794 )
2018-03-15 10:15:56 -07:00
Michael Goderbauer
d042b3e830
Send TYPE_VIEW_SELECTED event for changes to SemanticsFlag.isSelected ( #4780 )
2018-03-13 12:49:30 -07:00
Michael Goderbauer
7f7634fa17
Add SemanticsFlag for Header ( #4752 )
2018-03-06 15:43:13 -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
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
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
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
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
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
Michael Goderbauer
26010cf483
Add SemanticsFlag.isDisabled ( #4503 )
2018-01-02 15:57:52 -08: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