79 Commits

Author SHA1 Message Date
Mouad Debbar
f111c9f844 [web] Move ui files to lib/ (flutter/engine#30051) 2022-01-14 11:20:10 -08:00
Ian Hickson
7fc8ee9773 ensure web_ui and ui have the same toString methods for StringAttributes (flutter/engine#29323) 2021-10-26 13:08:01 -07:00
chunhtai
9761b7371a Issues/86577 reland (flutter/engine#28211) 2021-08-20 12:27:01 -07:00
Zachary Anderson
c4fb8a6051 Revert "Adds semantics tooltip support (#27893)" (flutter/engine#28207)
This reverts commit 366e66802a35abf55bcb649b9bf58921b174b59a.
2021-08-19 14:40:34 -07:00
chunhtai
366e66802a Adds semantics tooltip support (flutter/engine#27893) 2021-08-18 15:37:01 -07:00
chunhtai
9cca57abef Reland ios accessibility scrolling support (flutter/engine#26860) 2021-06-23 13:36:16 -07:00
chunhtai
2a526b317d Revert "Issues/80711 reland (#26813)" (flutter/engine#26859)
This reverts commit d03313b7b3f97d2083e3977d9e62974687760a33.
2021-06-21 10:21:04 -07:00
chunhtai
d03313b7b3 Issues/80711 reland (flutter/engine#26813) 2021-06-18 12:34:02 -07:00
chunhtai
29ea8111ac Revert "Support scrolling in iOS accessibility (#26671)" (flutter/engine#26803)
This reverts commit e933c9ab3e24dfa9e19da5d764edecec45ad19b4.
2021-06-17 10:59:46 -07:00
chunhtai
e933c9ab3e Support scrolling in iOS accessibility (flutter/engine#26671) 2021-06-14 15:29:02 -07:00
chunhtai
4f0008101f Reland "Add API to the engine to support attributed text (#25373)" (flutter/engine#26528) 2021-06-02 10:14:02 -07:00
Kaushik Iska
187c6a3ec2 Revert "Add API to the engine to support attributed text (#25373)" (flutter/engine#26524)
This reverts commit f64abc695eb8badcdb2639a6321ba9575d3c7c3d.
2021-06-01 17:30:58 -07:00
chunhtai
f64abc695e Add API to the engine to support attributed text (flutter/engine#25373) 2021-06-01 11:54:01 -07:00
Alexander Brusher
3ebaf4f764 [fuchsia][a11y] Adds isKeyboardKey semantics flag. (flutter/engine#25167)
This change introduces a semantics flag to indicate whether a node
represents a virtual keyboard key.
2021-03-30 13:26:56 -07:00
chunhtai
92d11213ff Adds set text action for voice access (flutter/engine#24734) 2021-03-04 17:44:01 -08:00
Nolan Scobie
abbd68919d Minor a11y documentation breadcrumbs (flutter/engine#20330)
Adds a reference to RenderObject.describeSemanticsClip to
`SemanticsFlag.isHidden` and a hint that lets readers know that the
`SemanticsNode` rect is specified in local coordinates.
2020-10-02 23:30:23 -07:00
Alexander Brusher
2afe2bffaf Revert "Revert "Adds fuchsia node roles to accessibility bridge updates. (#20385)" (#20936)" (flutter/engine#21367)
This reverts commit 22e1f69704ed0f67b6b57d72197abac4a35f94b3.
2020-09-25 11:07:10 -07:00
Chris Bracken
2586db3b22 Clean up C++ includes (flutter/engine#21127)
Cleans up header order/grouping for consistency: associated header, C/C++ system/standard library headers, library headers, platform-specific #includes.

Adds <cstring> where strlen, memcpy are being used: there are a bunch of places we use them transitively.

Applies linter-required cleanups. Disables linter on one file due to included RapidJson header. See https://github.com/flutter/flutter/issues/65676

This patch does not cover flutter/shell/platform/darwin. There's a separate, slightly more intensive cleanup for those in progress.
2020-09-11 21:18:35 -07:00
Chris Bracken
d03692449b Prefer C++ standard headers to their C counterpart (flutter/engine#21091)
We currently use a mix of C standard includes (e.g. limits.h) and their
C++ variants (e.g. climits). This migrates to a consistent style for all
cases where the C++ variants are acceptable, but leaves the C
equivalents in place where they are required, such as in the embedder
API and other headers that may be used from C.
2020-09-11 17:10:00 -07:00
Jim Graham
22e1f69704 Revert "Adds fuchsia node roles to accessibility bridge updates. (#20385)" (flutter/engine#20936)
This reverts commit 26659fa0fd05b2f3cc3c2e530298659702e1f869.
2020-09-01 21:21:07 -07:00
Alexander Brusher
26659fa0fd Adds fuchsia node roles to accessibility bridge updates. (flutter/engine#20385) 2020-09-01 13:33:02 -07:00
gaaclarke
96ba83732d Added a more complete docstring for SemanticsFlags (flutter/engine#19817) 2020-07-16 13:13:26 -07:00
Alexander Aprelev
4b5878c6ab Introduce runtime check that it is root isolate that makes UI native calls. (flutter/engine#18050)
* Revert "Do not register UI-related native functions in secondary isolates (#6401)"

This reverts commit c23deb818efc3813273d28ce7d965d0eb261cca9 as it doesn't work when root and secondary isolates run in the same isolate group.

* Confirm it is root isolate that makes UI native calls.

* Fix format, UIDartState reference from Fuchsia source

* No UI isolate check for fuchsia calls

* Fix typo. Remove redundant runtime calls
2020-05-01 09:05:41 -07:00
Brian Osman
948065c3a7 Convert semantics_node from SkMatrix44 to SkM44 (flutter/engine#17763)
* Convert semantics_node from SkMatrix44 to SkM44
2020-04-17 07:24:40 -04:00
Dan Field
4a2a7fbaa3 Avoid using Dart_New for semantics (flutter/engine#16849) 2020-02-28 10:31:03 -08:00
Kate Lovett
73b60d4d7c Re-land Adding Link Semantics (flutter/engine#12972) 2019-10-08 11:27:56 -07:00
Kate Lovett
0106398abd Revert "Adding Link SemanticsFlag (#12453)" (flutter/engine#12815)
This reverts commit 62e4f42e7640ee5f50fef9958b50906a5527d81a.
2019-10-04 17:06:32 -07:00
Kate Lovett
62e4f42e76 Adding Link SemanticsFlag (flutter/engine#12453) 2019-10-04 12:51:10 -07:00
Greg Spencer
b174801460 Add isFocusable to SemanticsFlag (flutter/engine#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
bffaa526a2 a11y: expose max character count for text fields (flutter/engine#12269) 2019-09-16 09:37:25 -07:00
Mouad Debbar
046005bf1f Add multi-line flag to semantics (flutter/engine#9850) 2019-07-17 09:51:09 -07:00
chunhtai
9fe6a47ab6 Introduce read only text field semantics (flutter/engine#9281) 2019-06-19 09:42:23 -07:00
Dan Field
899cd81833 [iOS] [a11y] Don't allow scroll views to grab a11y focus (flutter/engine#9282) 2019-06-11 18:02:47 -07:00
Dan Field
41f7455e7d Mark semantics functions const (flutter/engine#9243) 2019-06-08 15:11:04 -07:00
Matthew Dempsky
8b4a5398ae Roll tonic and update #includes (flutter/engine#8950) 2019-05-14 11:57:09 -07:00
Dan Field
712fc0f99e Add asserts to semantics.dart (flutter/engine#8846) 2019-05-04 07:47:22 -07:00
Chinmay Garde
1fd28a143a Rename the blink namespace to flutter. (flutter/engine#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
e6c3046fcb Fix typos (flutter/engine#8339)
Courtesy of google's "CommonTypos" analysis.
2019-03-29 17:47:55 -07:00
Chris Yang
19be572305 Add a11y support for embedded iOS platform view (flutter/engine#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
40e0467f60 Adds a platfromViewId to SemanticsNode (flutter/engine#8055) 2019-03-11 11:30:35 -07:00
Chris Bracken
e23839700a Add missing values to semantics action enums (flutter/engine#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
e560943579 Add missing kHasImplicitScrolling enum value (flutter/engine#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
4b8cfb84e5 Revert "Revert "Add elevation and thickness to SemanticsNode (#7282)" (#7483)" (flutter/engine#7484)
This reverts commit ba3b5d9c9e5d275b1f1be4a77d961750a2857dc6.
2019-01-15 18:56:21 -08:00
Michael Goderbauer
ba3b5d9c9e Revert "Add elevation and thickness to SemanticsNode (#7282)" (flutter/engine#7483)
This reverts commit c1ab82c7d556013ca8dc33b2fc8179994f5be29a.
2019-01-15 10:45:49 -08:00
Michael Goderbauer
c1ab82c7d5 Add elevation and thickness to SemanticsNode (flutter/engine#7282) 2019-01-15 09:59:44 -08:00
Michael Goderbauer
082336e7c2 Fix code smells reported by chrome's clang plugin (flutter/engine#6833) 2018-11-12 19:59:29 -08:00
Michael Goderbauer
0def82ddb0 Unify copyright lines (flutter/engine#6757) 2018-11-07 12:24:35 -08:00
Jonah Williams
b258e126f3 Add scrollIndex and scrollChildren to semantics, add Android implementation (flutter/engine#6239) 2018-09-13 10:28:27 -07:00
Chinmay Garde
6ab2c166fd Remove all dependencies on Garnet. (flutter/engine#5869) 2018-07-26 12:49:34 -07:00
Jonah Williams
4cf4ffab2e Support customizing standard accessibility actions on Android. (flutter/engine#5823) 2018-07-25 15:26:02 -07:00