summaryrefslogtreecommitdiff
path: root/packages/SystemUI/accessibility
AgeCommit message (Collapse)Author
2025-04-12Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Bug: 408276020 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0284d740ad966f5b84ff0cfddb8c004e142fb117) Merged-In: I363dcc00426ae6d24fc83f18d5a4360e0184b825 Change-Id: I363dcc00426ae6d24fc83f18d5a4360e0184b825
2025-04-02Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Bug: 406841318 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:53bb0be248bf8c5fbe443445866d4a85f6249782) Merged-In: I8495fb8f0a06f88718f2c44aac024eb039b76152 Change-Id: I8495fb8f0a06f88718f2c44aac024eb039b76152
2025-03-20Revert "Removing use of WindowManagerProvider to create window manager for" Archisha Baranwal
This reverts commit a5f871fda7dab276e3647f183119ee7e81382656. Reason for revert: This was a quick fix solution for b/404724787. Reverting this change with modification to provide correct fix Change-Id: Iff783b61f8ae3f14c0cbfe50087f01c271223571
2025-03-19Removing use of WindowManagerProvider to create window manager for archisha
window context. Bug: 404724787 Flag: com.android.systemui.enable_view_capture_tracing Test: mp droid Change-Id: Ie668b836959cc0024eb2fd5e9297a6cac9a627e6
2025-03-16Use WindowManagerProvider to instantiate WindowManager. archisha
This class returns an appropriate WindowManager instance based on the view tracing flag. Bug: 378798789 Flag: NONE replacing all usage of context.getSystemService(WindowManager.class) with ViewCaptureAwareWindowManager Test: tested locally Change-Id: I43f51a0b22679fa2b8afa80cd4adcc16de30c05f
2025-03-16Modified Revert of "Adding ViewCaptureAwareWindowManager to ↵ Archisha Baranwal
A11yMenuOverlayLayout window." This reverts commit 26bf2458523919ed2d4bd61ee28d07a1902508f3. Reason for revert: Reverting change due to the restructure of ViewCaptureAwareWindowManager ( go/wm-for-viewcapture ) Flag: com.android.systemui.enable_view_capture_tracing Change-Id: I5260236d158eb17e68c1c3b36b9befa9bc2b3aca
2025-03-12Merge "Import translations. DO NOT MERGE ANYWHERE" into main Bill Yi
2025-03-11Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I53c1e4c8d466786581a38e95aea51c3d80c4f261
2025-03-06uiautomatorhelpers is correct package name David Saff
Bug: 376676853 Test: presubmit Flag: TEST_ONLY Change-Id: I9a30232f767cb5f2fe97e143f15f33a79d0098ab
2025-01-27Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I68053812704ee528392cc4f91ada3c8b3c18deca
2025-01-22Merge "com_android_a11y_menu_flags is used from system_ext app" into main ↵ Treehugger Robot
am: 2cd201e993 am: 83e1d02cdf Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3460647 Change-Id: Id0a9cd1f6c869171080234498c462689391447ba Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-22com_android_a11y_menu_flags is used from system_ext app Justin Yun
As a system_ext app is using the flags, the flags must be in the system_ext container instead of the system container. Bug: 385213580 Test: "adb shell aflags list" must not be changed. Flag: EXEMPT refactor Change-Id: I37c2807766b85cf3d5b6c9b2f1e43c278755b3a4
2025-01-14Merge "Import translations. DO NOT MERGE ANYWHERE" into main Bill Yi
2025-01-13Allow SystemUI Accessibility Menu to restore itself from previous versions. Chun-Ku Lin
- restoreAnyVersion is needed for System image apps. - allowBackup is true by default. It's recommended to set it to true explicitly if the app supports backup. Bug: 385280337 Bug: 389772251 Change-Id: Ic4571819e459d38ce1aff07099af8d73b45dee5e Test: manually run the D2D tests with test_d2d.sh Flag: EXEMPT manifest only
2025-01-13Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I5ce08f57eb7f3e33093f6fe5b60745055931c628
2024-12-05Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I69a4b1d44a808a05c866a20d13d217e3b0939dee
2024-12-03Merge "Cleanup flag "a11y_menu_snackbar_live_region"" into main Daniel Norman
2024-11-27Merge "Apply edge-to-edge insets in A11yMenuSettingsActivity" into main Daniel Norman
2024-11-27Cleanup flag "a11y_menu_snackbar_live_region" Cam Bickel
Bug: b/338351484 Test: presubmit Flag: EXEMPT flag cleanup Change-Id: I96528bab7ae428e8bcdf1b021a7afb92825b7ea5
2024-11-26Apply edge-to-edge insets in A11yMenuSettingsActivity Daniel Norman
Fix: 380054834 Test: open this page, observe preferences and top bar are not hidden by system / navigation bars; repeat for small/med/large font and display sizes Flag: EXEMPT minor bugfix with resource changes Change-Id: I3d2d3ee62ba521cc60e6836a1fd84ef42dd14100
2024-11-26Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: Ifd4d52873a5fd1ffb676fcf33f06c1560e9b4677
2024-11-22Merge "Cleanup flag "hide_restricted_actions"" into main Daniel Norman
2024-11-21Cleanup flag "hide_restricted_actions" Cam Bickel
Bug: b/347269196 Test: presubmit Flag: EXEMPT flag cleanup Change-Id: I9d2b08c7b67ff1c3204da77a6ddcfd4baafc886d
2024-11-21Cleanup flag "action_bar_wrap_content" Cam Bickel
Bug: b/347911378 Test: presubmit Flag: EXEMPT flag cleanup Change-Id: Iafec132c6c5247564bd0496db8ba015a7e923cde
2024-11-07Merge "TEST_MAPPING: remove bug tag and leave module in postsubmit" into main Lucas Henneman (xWF)
2024-11-06TEST_MAPPING: remove bug tag and leave module in postsubmit Lucas Henneman
Even after fixing the tests, AccessibilityMenuServiceTests is still slightly too flaky to run in presubmit. The module owners are fine leaving the module in postsubmit. Bug: 324945360 Test: git diff Flag: TEST_ONLY Change-Id: If924aeb2a4d92bba3cc94c5fc8a9e00a3e1743c0 Signed-off-by: Lucas Henneman <henneman@google.com>
2024-11-06Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I2a713010652b9f42a9aa15612f849f63d12d08ed
2024-10-29Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I2a72d23a374d1737514eef83fd131662fc526fff
2024-10-22Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: Ief1bab3706d3b147b28e416d50d0117e08980ba6
2024-10-07Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I8f110906b0e98cca331a710d626830f6ebd8c37f
2024-10-04Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Bug: 369418613 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ef61cc23f9e4e5a5ea9ddd4513db7460074d988f) Merged-In: Ic99297a5adecd4f6dc41477bd33b65b82d6f19f7 Change-Id: Ic99297a5adecd4f6dc41477bd33b65b82d6f19f7
2024-09-16Merge "Batch migration of frameworks/base TEST_MAPPING to test_module_config ↵ Ronald Braunstein
modules" into main am: cb650f8398 am: 0c9ffcdcf5 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3263804 Change-Id: I6d38c92169c7c58c4c8dec3d6c1caaeb70804038 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-15Batch migration of frameworks/base TEST_MAPPING to test_module_config modules Ronald Braunstein
As part of go/test-module-config we are moving test options from TEST_MAPPING -> Android.bp files. In previous Cls, we created the new `test_module_config` rules in Android.bp This is updating the TEST_MAPPING file to use those rules. It is also removing "FlakyTest and IgnoreTest" exclude annoations as they are now added in gcl files per run rather than ad-hoc per module. I have a script that looks at the generated tradefed config file for the new options added in Android.bp files, then it looks at TEST_MAPPING files and find the places to update where the options match for the test. I am also doing abtd runs of each TEST_MAPPING file before and after my change and ensuring the number of tests run is the same (or at least as many). There are cases where tradefed would comping include-filters across TEST_MAPPING entries for the same module, but now they will be purposefully split up, causing some tests to be run under two different modules. Flag: TEST_ONLY Test: Ran adbt on each TEST_MAPPING and compared before and after results. Verified we were still running all the tests we were before. i.e. after the adbt run, I would download the test artfiact for the tradefed detailed evenvt and compare test counts. You can see CtsAppTestCases became CtsAppTestCases_cts_requesttileserviceaddtest, etc. I'm not including results for all 100 TEST_MAPPING files, but I did verify with scripts and eyes. Minor differences (like 2011 vs 2009) on a test that didn't change are ignored, but in general there were more tests run, not fewer. % diff <(grep started frameworks_base_services_core_java_com_android_server_statusbar_TEST_MAPPING/BASE.details) <(grep started frameworks_base_services_core_java_com_android_server_statusbar_TEST_MAPPING/NEW.details) | grep run < [run x86_64 CtsAppTestCases (testCount: 6,attempt: 0) started] > [run x86_64 CtsAppTestCases_cts_requesttileserviceaddtest (testCount: 6,attempt: 0) started] < [run x86_64 CtsLocationFineTestCases (testCount: 96,attempt: 0) started] > [run x86_64 CtsLocationFineTestCases_android_server_location (testCount: 96,attempt: 0) started] < [run x86_64 FrameworksNetTests (testCount: 2009,attempt: 0) started] > [run x86_64 FrameworksNetTests (testCount: 2011,attempt: 0) started] Test-Mapping-Slo-Bypass-Bug: b/335015078 Change-Id: If6e3cd0624ac1c16f1cd088566d967769f47199c
2024-09-11Merge "Import translations. DO NOT MERGE ANYWHERE" into main Treehugger Robot
2024-09-11Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: Ia5fba276a6c10e19b401686da259baefc2c91ef0
2024-09-11Merge "Make java_sdk_library dependencies explicit" into main Treehugger Robot
2024-09-11Make java_sdk_library dependencies explicit Jihoon Kang
modules should specify the submodule of java_sdk_library that the module actually depends on Test: CI Flag: EXEMPT build dependency cleanup Bug: 358613520 Merged-In: I80af0b9efa88c668306f0ff1d51491a8180dc57f Change-Id: I80af0b9efa88c668306f0ff1d51491a8180dc57f
2024-09-11Make java_sdk_library dependencies explicit Jihoon Kang
modules should specify the submodule of java_sdk_library that the module actually depends on Test: CI Ignore-AOSP-First: resolving merge conflicts Flag: EXEMPT build dependency cleanup Bug: 358613520 Change-Id: I80af0b9efa88c668306f0ff1d51491a8180dc57f
2024-09-05Make RippleDrawable as the only background drawable to be borderless Chun-Ku Lin
If we use LayerDrawable with RippleDrawable as one of its layer, due to the RippleDrawable is a borderless drawable, the entire LayerDrawable would try to render outside of the views bound where you'd see a circle over the footer buttons. By moving the adaptiveIcon as the ImageView's source and use RippleDrawable as the only background drawable, we're able to keep the RippleDrawable as borderless, and won't see the AdaptiveIconDrawable being rendered over the footer view. Bug: 361454352 Test: manual. Maxout the display and font size and view the a11yMenu on phone in landscape mode, verify no overlapping images on footer view. Also verify the Ripple affect is still borderless. Flag: EXEMPT low risk bugfix Change-Id: I8c30dab3c52b3c821fdb067d93b755a4ed040587
2024-09-05Enforce the gridview vertical spacing to be >= 0 Chun-Ku Lin
In landscape mode on phone, when the viewpager's height is not able to fit the grid items, the calculated vertical spacing is negative number, which results in overlapping text Bug: 361454352 Test: manual. Maxout the display and font size and view the a11yMenu on phone in landscape mode Flag: EXEMPT low risk bugfix Change-Id: I2fea76399ba6f2b2bbb713ab578e00c439dafb04
2024-09-04Merge "A11yMenu Layout fixes" into main Riley Jones
2024-09-04Adding ViewCaptureAwareWindowManager to A11yMenuOverlayLayout window. archisha
Bug: 361227057 Flag: com.android.systemui.enable_view_capture_tracing Test: Ran checkbuild. Change-Id: Iba20bf39cc245dd8aa3bc7624adf1c804d886cb5
2024-09-03A11yMenu Layout fixes Riley Jones
Adjusts A11yMenu to use proper vertical spacing between grid items, and to do a better job at keeping the footer on the screen with larger display sizes. Notably, on larger display sizes there is still vertical overlap between text & buttons. Test: Open a11yMenu in portrait & landscape modes to verify the above behavior. Make sure to test with small & large display sizes. Bug: 361449952 Flag: EXEMPT small internal change, partially involving xml Change-Id: If2977338c3b1521f85e903f661f33cf6a9917cc6
2024-08-31Use uiContext when trying to get WindowManager or UI related work Chun-Ku Lin
There is a silent error log when trying to getWindowManager with a11yService as the context. Creating a WindowContext before getting the WindowManager clears out the error log Bug: 268743197 Test: manually. Turn on/off a11y menu, rotate the screen, clicking on the menu item all works Test: atest AccessibilityMenuServiceTests Flag: EXEMPT low risk bugfix Change-Id: I0f5f5df85f766f8dc14bd1bc1a534a1eac245faf
2024-08-19Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: Ic63baf5b7fa3d3756925c15b08e2e0a2a680ad38
2024-08-13Merge "Add RTL support for A11yMenu ViewPager." into main Riley Jones
2024-08-13Add RTL support for A11yMenu ViewPager. Riley Jones
When in RTL languages, reverses the direction of the left & right buttons. Demonstration video: https://x20web.corp.google.com/users/jo/jonesriley/fabFootage/viewPager2.mp4 Bug: 279191187 Flag: EXEMPT internal refactoring Test: atest A11yMenuServiceTests Change-Id: I9626f504a444928d717f3f9b03600d7058203c78
2024-08-12Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Change-Id: I9946dc96a22bf9d2a9fbccba0eafae3f8c521bb5
2024-08-08Recalculate restricted actions each time A11yMenu is opened. Daniel Norman
The set of restricted actions may change at runtime, and this also fixes a testing flake caused by restarting the service multiple times mid test. Bug: 347269196 Bug: 357747420 Test: atest AccessibilityMenuServiceTest Test: Same test on go/abtd Flag: com.android.systemui.accessibility.accessibilitymenu.hide_restricted_actions Change-Id: I5517a8a36ceb55f5f4b35d22a1b24ab569cd0426
2024-08-07Merge "Fix DoubleBraceInitialization errorprone issues" into main am: ↵ Treehugger Robot
09a4c07e09 am: 507707027e Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3204742 Change-Id: Iacc51557eab0652ad333bae4764a76d35f4ab025 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>