Commit Graph

47 Commits

Author SHA1 Message Date
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 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
Michael Goderbauer ef7bcafd5c a11y: expose max character count for text fields (#12269) 2019-09-16 09:37:25 -07:00
Mouad Debbar 8849d3092d Add multi-line flag to semantics (#9850) 2019-07-17 09:51:09 -07:00
chunhtai 9ab6550b45 Introduce read only text field semantics (#9281) 2019-06-19 09:42:23 -07:00
Dan Field 9baf589d19 [iOS] [a11y] Don't allow scroll views to grab a11y focus (#9282) 2019-06-11 18:02:47 -07:00
Dan Field afed5c5476 Mark semantics functions const (#9243) 2019-06-08 15:11:04 -07:00
Chinmay Garde eec74e5c92 Rename the blink namespace to flutter. (#8517)
Some components in the Flutter engine were derived from the forked blink codebase. While the forked components have either been removed or rewritten, the use of the blink namespace has mostly (and inconsistently) remained. This renames the blink namesapce to flutter for consistency. There are no functional changes in this patch.
2019-04-09 12:44:42 -07:00
Michael Goderbauer 5e124ffc13 Fix typos (#8339)
Courtesy of google's "CommonTypos" analysis.
2019-03-29 17:47:55 -07:00
Chris Yang fd7d7fa5a0 Add a11y support for embedded iOS platform view (#8156)
Follow up the framework change in flutter/flutter#29304.
Inject the accessibility element tree in the semantic node if the node is for platform views.

flutter/flutter#29302
2019-03-26 16:04:42 -07:00
Michael Goderbauer bd0f9085e5 Adds a platfromViewId to SemanticsNode (#8055) 2019-03-11 11:30:35 -07:00
Chris Bracken e6a5201f0b Add missing values to semantics action enums (#8033)
This brings the Dart and C++ semantics flag enums back in sync.

In #5902, the ability to move the cursor forward and backward one word
were added to dart:ui, and to the Android embedder, but not to the
SemanticsAction enum on the C++ side.
2019-03-05 07:58:26 -08:00
Chris Bracken ed628da00a Add missing kHasImplicitScrolling enum value (#8030)
This brings the Dart and C++ semantics flag enums back in sync.

In #5941, implicit scrolling support was added to SemanticsFlag in
dart:ui, and to the Android embedder, but not to the SemanticsFlags enum
on the C++ side.

This also clarifies/corrects the documentation for this value in dart:ui
and in the embedder API.
2019-03-04 22:00:54 -08:00
Michael Goderbauer 6c68bf3caf Revert "Revert "Add elevation and thickness to SemanticsNode (#7282)" (#7483)" (#7484)
This reverts commit 24cf93e255.
2019-01-15 18:56:21 -08:00
Michael Goderbauer 24cf93e255 Revert "Add elevation and thickness to SemanticsNode (#7282)" (#7483)
This reverts commit 6c29fb4d5e.
2019-01-15 10:45:49 -08:00
Michael Goderbauer 6c29fb4d5e Add elevation and thickness to SemanticsNode (#7282) 2019-01-15 09:59:44 -08:00
Michael Goderbauer 09ef73ff6e Fix code smells reported by chrome's clang plugin (#6833) 2018-11-12 19:59:29 -08:00
Michael Goderbauer 70a1106b50 Unify copyright lines (#6757) 2018-11-07 12:24:35 -08:00
Jonah Williams abd918eb61 Add scrollIndex and scrollChildren to semantics, add Android implementation (#6239) 2018-09-13 10:28:27 -07:00
Jonah Williams 96f5f5b96c Semantics framework updates (#5601) 2018-07-20 11:17:59 -07:00
Jonah Williams 48d6e1f891 Custom accessibility (local context) action support for iOS and Android. (#5597) 2018-07-11 10:27:50 -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
Yegor ec611470b5 replace nextNodeId/previousNodeId with hitTestPosition (#5066) 2018-04-23 16:16:17 -07:00