15679 Commits

Author SHA1 Message Date
Jonah Williams
94ee03e40a Dont use TypedData.fromList if you dont have a list already (flutter/engine#30293) 2021-12-14 11:54:01 -08:00
Chris Bracken
a2d82caeab Desktop: Support a11y slider widgets (flutter/engine#30322)
Adds support to the common desktop accessibility bridge for widgets that
include a semantics node with the `isSlider` flag set.

Issue: https://github.com/flutter/flutter/issues/77838
2021-12-14 11:20:16 -08:00
Jenn Magder
aaaf467b08 Add logging to scrollable semantics test (flutter/engine#30321) 2021-12-14 11:14:02 -08:00
skia-flutter-autoroll
27006f9b59 Roll Fuchsia Linux SDK from ApA7xAqGG... to a24HIbo9e... (flutter/engine#30319) 2021-12-14 09:14:01 -08:00
skia-flutter-autoroll
5f3e5f2a8f Roll Skia from ecbad283619c to e3c0d7356c05 (1 revision) (flutter/engine#30318) 2021-12-14 08:44:01 -08:00
skia-flutter-autoroll
b20f338a8c Roll Skia from d26057a2c0e1 to ecbad283619c (1 revision) (flutter/engine#30316) 2021-12-14 07:24:02 -08:00
skia-flutter-autoroll
a285539a4a Roll Skia from 33c28b9fa986 to d26057a2c0e1 (3 revisions) (flutter/engine#30312) 2021-12-13 23:29:03 -08:00
skia-flutter-autoroll
52603742bb Roll Skia from ddbf93159f00 to 33c28b9fa986 (1 revision) (flutter/engine#30311) 2021-12-13 22:04:04 -08:00
Dan Field
b38b90c039 Revert "Fix eglPresentationTimeANDROID is no effective" (flutter/engine#30310)
* Revert "Fix eglPresentationTimeANDROID is no effective (#30182)"

This reverts commit 0d7ba05d3456807e7e24353fe911738952a02888.

* Revert "Use eglPresentationTimeANDROID to avoid bogging down the GPU (#29727)"

This reverts commit edb87942de0404a2802351c050a4f1b6de239bd7.
2021-12-13 20:02:20 -08:00
skia-flutter-autoroll
89ee0bfe2e Roll Fuchsia Linux SDK from U9YfhhG6K... to ApA7xAqGG... (flutter/engine#30309) 2021-12-13 18:34:03 -08:00
Dan Field
87dcc5293f Optmize path volatility tracker (flutter/engine#30299) 2021-12-13 16:59:04 -08:00
skia-flutter-autoroll
165a82c79b Roll Skia from 3ad6e531c331 to ddbf93159f00 (3 revisions) (flutter/engine#30307) 2021-12-13 16:49:04 -08:00
skia-flutter-autoroll
0edea12671 Roll Skia from 4d35c0d31d79 to 3ad6e531c331 (25 revisions) (flutter/engine#30302) 2021-12-13 15:19:02 -08:00
Chris Bracken
a9722681ef Support toggle buttons for desktop accessibility (flutter/engine#30297) 2021-12-13 11:04:05 -08:00
Harry Terkelsen
4b41bad357 [canvaskit] Only dispose views to release overlays as long as there are overlays available (flutter/engine#30274) 2021-12-13 09:51:36 -08:00
skia-flutter-autoroll
ce1c91dc5e Roll Fuchsia Linux SDK from W030EYSZS... to U9YfhhG6K... (flutter/engine#30295) 2021-12-13 05:14:09 -08:00
voicewitness
600e46b8b0 Fix wrong context when use platfromview (flutter/engine#30184) 2021-12-12 22:14:05 -08:00
Marcel Kirchhoff
f27c7836eb Fix typo in jni registration (flutter/engine#30282) 2021-12-12 18:14:09 -08:00
skia-flutter-autoroll
0d9de80db7 Roll Fuchsia Linux SDK from V2JLZw4H1... to W030EYSZS... (flutter/engine#30291) 2021-12-12 15:49:09 -08:00
Dan Field
9a45b6d009 Revert "iOS Background Platform Channels (#29665)" (flutter/engine#30289)
This reverts commit 7ab226eaf44a58e380fee9023b5eaf2eb6f73233.
2021-12-12 13:43:48 -08:00
skia-flutter-autoroll
7935ab58e6 Roll Fuchsia Linux SDK from NAkkk-Vn5... to V2JLZw4H1... (flutter/engine#30285) 2021-12-12 02:29:02 -08:00
skia-flutter-autoroll
241760d657 Roll Fuchsia Linux SDK from hhFGKobVD... to NAkkk-Vn5... (flutter/engine#30281) 2021-12-11 13:09:10 -08:00
skia-flutter-autoroll
9abbdc81e5 Roll Fuchsia Linux SDK from UPWdoQziF... to hhFGKobVD... (flutter/engine#30279) 2021-12-10 23:49:09 -08:00
Greg Spencer
e7c6deaef6 Revert "Accessibility number formatting improvements for Windows (#29773)" (flutter/engine#30267) 2021-12-10 13:09:10 -08:00
skia-flutter-autoroll
6dc1b49528 Roll Skia from a964a72174e8 to 4d35c0d31d79 (16 revisions) (flutter/engine#30269) 2021-12-10 12:59:09 -08:00
MiracleSoul
0d7ba05d34 Fix eglPresentationTimeANDROID is no effective (flutter/engine#30182)
* Fix eglPresentationTimeANDROID is no effective

* Update android_environment_gl.cc

Co-authored-by: Dan Field <dfield@gmail.com>
2021-12-10 11:05:25 -08:00
skia-flutter-autoroll
2df8400d72 Roll Fuchsia Linux SDK from 3rLypXNTd... to UPWdoQziF... (flutter/engine#30266) 2021-12-10 10:29:09 -08:00
Jenn Magder
3eb35a2df7 Add iOS version to scenario golden images (flutter/engine#30263) 2021-12-10 10:24:10 -08:00
Emmanuel Garcia
dceed9cd73 Migrate to Mockito 4.1.0 (flutter/engine#30257) 2021-12-10 10:19:10 -08:00
skia-flutter-autoroll
76633447f0 Roll Skia from 44c81d149273 to a964a72174e8 (9 revisions) (flutter/engine#30255) 2021-12-10 10:14:06 -08:00
Gary Qian
84773ccee9 Cleanup old ndk CIPD upload script (flutter/engine#30253) 2021-12-10 10:09:11 -08:00
Chris Bracken
2474482021 Override FlutterPlatformNodeDelegate::GetUniqueId (flutter/engine#30261)
The default implementation of GetUniqueId on ui::AXPlatformNodeDelegate
always returns ID 1. We had previously implemented this on the windows
platform node delegate, but for consistency's sake, and because the
default implementation is surprising, we're promoting this to the
FlutterPlatformNodeDelegate base class.

Issue: https://github.com/flutter/flutter/issues/77838
2021-12-10 10:05:00 -08:00
chunhtai
95eab38132 Android accessibility bridge also fire selection change event when it predict selection change. (flutter/engine#30199) 2021-12-10 10:04:08 -08:00
Chris Bracken
f5dc978476 Test shell/platform/common a11y code on Windows (flutter/engine#30262)
This enables unittests for the accessibility bridge in
common_cpp_unittests, when running on Windows. Previously, we only
tested on macOS.

Issue: https://github.com/flutter/flutter/issues/77838
2021-12-09 22:49:50 -08:00
Chris Bracken
82f25e5da7 Fix TestAccessibilityBridgeDelegate event caching (flutter/engine#30260)
TestAccessibilityBridgeDelegate::accessibility_events previously held
values of type ui::AXEventGenerator::TargetedEvent. TargetedEvent
contains an AXNode pointer and a const reference to a
ui::AXEventGenerator::EventParams object, and as such it's unsafe to
make or read copies of TargetedEvent values outside the scope of the
AccessibilityBridgeDelegate::OnAccessibilityEvent callback.

In this patch, we update the accessibility_events vector to simply hold
EventType values since this is the only part of the value we use in our
existing tests. If in future we need the full TargetedEvent, we'll need
to properly copy these values.

This patch also fixes a typo in the accessibility_events identifier and
converts an EXPECT_EQ to an ASSERT_EQ in a case where the following
test expectations are meaningless/could crash if the
accessibility_events size isn't as expected.

Issue: https://github.com/flutter/flutter/issues/77838
2021-12-09 22:08:58 -08:00
Chris Bracken
616ed57c9b Simplify win32 platform node delegate GetParent (flutter/engine#30258)
In the Win32 accessibility tree, each AXTree node has an associated
IAccessible object. In WindowWin32, our WM_GETOBJECT handler returns the
IAccessible associated with the root node of the tree (node 0). On other
platforms, we often add our root accessibility object as a subnode of
some existing accessibility object associated with the view. On Windows,
the root IAccessible _is_ the accessibility object associated with the
view (on Windows, and HWND).

In the previous implementation, AccessibleObjectFromWindow actually just
returns the root IAccessible object, which is equivalent to just
returning GetNativeViewAccessible. Instead, we just return null once we
hit the root of the tree.

Issue: https://github.com/flutter/flutter/issues/77838
2021-12-09 19:29:11 -08:00
Chris Bracken
01b8db3de9 Call IAccessible::accFocus to move a11y focus (flutter/engine#30256)
On receipt of a FOCUS_CHANGED event from the AX tree, call
IAccessible::accFocus to tell screen readers to move the accessibility
focus to that node. This is in addition to setting the keyboard focus
via the EVENT_OBJECT_FOCUS event.

Issue: https://github.com/flutter/flutter/issues/77838
2021-12-09 15:58:07 -08:00
Jason Simmons
7fd4a58766 Revert the latest rolls of the Fuchsia SDK (flutter/engine#30254) 2021-12-09 14:46:11 -08:00
Chris Bracken
5992275cdb Win32: Handle OnAccessibilityEvent (flutter/engine#30176)
Implements OnAccessibilityEvent, which translates events from the AXTree
into Windows MSAA event notifications.

This also eliminates the UIA root object lookup in response to
WM_GETOBJECT, since our initial implementation, like Chromium's default
implementation, is based on MSAA.

Issue: https://github.com/flutter/flutter/issues/77838
2021-12-09 14:38:24 -08:00
Amanda
6819f18463 [fuchsia] Use network-legacy-deprecated pkg in embedder test (flutter/engine#30244) 2021-12-09 13:34:05 -08:00
Greg Spencer
3911c3d5d8 Accessibility number formatting improvements for Windows (flutter/engine#29773)
This adds some accessibility improvements for reading out numbers. Currently this code is only used on Windows.

Fixes flutter#78460
2021-12-09 13:04:00 -08:00
skia-flutter-autoroll
42e1552621 Roll Skia from c95c53ed0fcf to 44c81d149273 (2 revisions) (flutter/engine#30248) 2021-12-09 12:29:06 -08:00
skia-flutter-autoroll
30b5246022 Roll Skia from ca916f705fc5 to c95c53ed0fcf (2 revisions) (flutter/engine#30245) 2021-12-09 11:09:05 -08:00
Rulong Chen(陈汝龙)
915625716a [android] Fix unexpected behavior in |detachFromFlutterEngine|. (flutter/engine#30202) 2021-12-09 10:44:04 -08:00
skia-flutter-autoroll
23ae2eb08e Roll Fuchsia Linux SDK from 3rLypXNTd... to dNYehjXUM... (flutter/engine#30241) 2021-12-09 09:59:04 -08:00
skia-flutter-autoroll
c87595ca98 Roll Skia from 5d1d92c505c0 to ca916f705fc5 (2 revisions) (flutter/engine#30243) 2021-12-09 09:49:05 -08:00
skia-flutter-autoroll
1c77fd60aa Roll Skia from b4d01cbe41b1 to 5d1d92c505c0 (1 revision) (flutter/engine#30238) 2021-12-09 06:29:06 -08:00
Gary Qian
f1b058072c Merge NDK and licenses into Android dependencies script (flutter/engine#30230) 2021-12-09 01:54:04 -08:00
skia-flutter-autoroll
50b8eacafe Roll Skia from 3bcc80e9c387 to b4d01cbe41b1 (2 revisions) (flutter/engine#30233) 2021-12-08 23:19:06 -08:00
skia-flutter-autoroll
4a2fda76dc Roll Skia from d2eb1d90b3b9 to 3bcc80e9c387 (1 revision) (flutter/engine#30232) 2021-12-08 21:59:05 -08:00