357 Commits

Author SHA1 Message Date
Dan Field e3e2a3899e Remove suprious warning (#14079) 2019-12-02 16:51:30 -08:00
Dan Field ea721ebf1a Fix live region logic (#14081) 2019-12-02 15:49:15 -08:00
Darren Austin 3ea4005844 Added Semantic header support on Android. (#13262)
Added Semantic header support on Android.
2019-11-05 15:27:25 -08:00
Mehmet Fidanboylu 4092b0c4fe Add isRunningInRobolectricTest back (#13424) 2019-10-29 19:46:21 -07:00
Jason Simmons c081ee7f2c Use DartExecutor.getBinaryMessenger in FlutterNativeView instead of deprecated send methods (#13403) 2019-10-29 09:48:54 -07:00
Jonah Williams 6ab23d37d5 fix NPE in accessibility bridge (#13255) 2019-10-21 15:35:34 -07:00
Michael Klimushyn 531a9cfb8e Fire PlatformViewController FlutterView callbacks (#13015)
Fixes a bug where `PlatformViewController` was not being notified of `FlutterView` attachment changes.
2019-10-14 14:03:25 -07:00
Matt Carroll 9acec4102a Move initialization into FlutterEngine (#12806) 2019-10-11 16:15:55 -07:00
Greg Spencer 21b8224ae1 Send AccessibilityEvent.TYPE_VIEW_FOCUSED when input focus is set. (#12746)
When the focus changes, we should be sending a TYPE_VIEW_FOCUSED event. This enables that.
2019-10-08 16:54:17 -07:00
Kate Lovett 58d7b84177 Re-land Adding Link Semantics (#12972) 2019-10-08 11:27:56 -07:00
Kate Lovett ac45051f2a Revert "Adding Link SemanticsFlag (#12453)" (#12815)
This reverts commit 974ca210f5.
2019-10-04 17:06:32 -07:00
Kate Lovett 974ca210f5 Adding Link SemanticsFlag (#12453) 2019-10-04 12:51:10 -07:00
Greg Spencer e76089a451 Stop setting the accessibility text if a node has SCOPES_ROUTE set. (#12730)
This keeps us from setting the text on a node if it is a SCOPES_ROUTE node, and sends the "TYPE_VIEW_FOCUSED" event when we update the semantics information and a view has the input focus.
2019-10-02 10:35:28 -07:00
Greg Spencer 05f4b33cd2 Add isFocusable to SemanticsFlag (#12618)
This adds an isFocusable to SemanticsFlag so that the framework can tell the engine what semantics nodes are allowed to be focused, which will affect what platform flags are applied to the semantics information.

This flag is not yet in use by the frame
2019-09-30 09:46:48 -07:00
Jonah Williams 6f5eb1332f Add support for JIT release mode (#12446) 2019-09-27 11:20:54 -07:00
Greg Spencer b3f2aad1c6 Revert "Send TYPE_VIEW_FOCUSED for views with input focus. (#12410)" (#12455)
This reverts commit c1773f3c57 because it breaks the Flutter framework build.
2019-09-25 20:35:55 -07:00
Greg Spencer c1773f3c57 Send TYPE_VIEW_FOCUSED for views with input focus. (#12410)
This change modifies the accessibility bridge so that if a node has input focus, then it will tell TalkBack so that it will request the accessibility focus for the view.

It also sets the content change types bit field to include CONTENT_CHANGE_TYPE_SUBTREE to indicate that the subtree for the view has changed for API levels after, and including, KitKat (19)
2019-09-25 14:14:00 -07:00
Michael Goderbauer ef7bcafd5c a11y: expose max character count for text fields (#12269) 2019-09-16 09:37:25 -07:00
Emmanuel Garcia edee1fea58 Add @Keep annotation (#11893) 2019-09-05 13:23:04 -07:00
Matt Carroll fde7c8c334 Rename first frame method and notify FlutterActivity when full drawn (#38714 #36796). (#11357) 2019-09-03 15:49:53 -07:00
Shi-Hao Hong 014ab76ad0 Pass Android Q insets.systemGestureInsets to Window (#10413)
* Pass Android Q system gesture inset information from insets.systemGestureInsets to Window.systemGestureInsets
2019-08-16 13:42:56 -04:00
Michael Klimushyn ed88d0a44d Change SemanticsNode#children lists to be non-null (#10952)
Prevents NPEs and simplifies the code needed to handle these collections. There doesn't seem to have been a meaningful difference between null and empty collection here. The specific crash was happening when `object.scrollChildren > 0` while `object.childrenInHitTestOrder == null`, which looks like it may be a bug on its own and probably needs further investigation.
2019-08-12 17:16:59 -07:00
Jason Simmons d9bbe37ce3 Remove use of the deprecated AccessibilityNodeInfo boundsInParent API (#10773) 2019-08-08 15:25:56 -07:00
Matt Carroll 4c6948a88a Android Embedding Refactor 38: Removed AssetManager from DartEntrypoint. (#10250) 2019-07-30 12:57:01 -07:00
Matt Carroll f336e05a69 Android Embedding PR37: Separated FlutterActivity and FlutterFragment via FlutterActivityAndFragmentDelegate (#9895) 2019-07-29 17:40:25 -07:00