Ryan Lin
94c98af51c
Merge "Fix incorrect UI after triple-tap is disabled" into sc-v2-dev am: 2007a57560 am: 7f704f6c95
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16379103
Change-Id: Ic1ed1eb6e8b74f80bbcc205be3cc45997f2b2ec2
2021-12-03 10:30:05 +00:00
Ryan Lin
7f704f6c95
Merge "Fix incorrect UI after triple-tap is disabled" into sc-v2-dev am: 2007a57560
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16379103
Change-Id: Icce7853960e621266a8817f22cf88a52fae7a7d5
2021-12-03 10:14:30 +00:00
Ryan Lin
2007a57560
Merge "Fix incorrect UI after triple-tap is disabled" into sc-v2-dev
2021-12-03 09:52:13 +00:00
ryanlwlin
a992b611bf
Fix incorrect UI after triple-tap is disabled
...
The preference summary is not changed after
users disable the triple tap shortcut by the confirm
dialog. It is due to the fact that the fragment doesn't
observe the settings value change.
To fix it, we add the settings key to observe the change.
Bug: 208755360
Test: manual test
Change-Id: Ie5b7fc5e67c5491b53485af0d3d68d1789aeace4
2021-12-03 01:58:25 +00:00
Jason Hsu
4c450d6b4c
Merge "Align the "Open activity" UI style with usual accessibility service "Use service"" into sc-v2-dev am: 5c90a9c225 am: 8216c769a9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16321718
Change-Id: I7fdcacbe0cc5939d84e08c5e220ef85956cf2ba8
2021-12-02 11:42:11 +00:00
Jason Hsu
8216c769a9
Merge "Align the "Open activity" UI style with usual accessibility service "Use service"" into sc-v2-dev am: 5c90a9c225
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16321718
Change-Id: I56bfde017611f42e38d16488a5fa02f18d2db253
2021-12-02 11:27:03 +00:00
Lais Andrade
24b2d9e5a1
Move APPLY_RAMPING_RINGER from Global to System
...
This configuration should be user-scoped.
Bug: 184165158
Test: AccessibilitySettingsTest
RingVibrationPreferenceFragmentTest
VibrateForCallsPreferenceControllerTest
VibrateForCallsPreferenceFragmentTest
Change-Id: I7b8684fb1cf03d41872a700fd8732c76422e37c3
2021-11-23 14:51:55 +00:00
jasonwshsu
a8442468ad
Align the "Open activity" UI style with usual accessibility service "Use service"
...
Root Cause: "Open activity" Preference is not part of the widget SettingsMainSwitchBarPreference, so its UI style did not be inherited.
Solution: "Open activity" has different concept from switch bar, we need to manual set its bacground to comply with the SettingsLib style.
Bug: 207067203
Test: manual test
Change-Id: I66f63f6952e5c4770509febc0e53eca6dc6eedb9
2021-11-23 15:13:39 +08:00
TreeHugger Robot
40c0a41756
Merge "Fix suw display size flicker problem" into sc-v2-dev am: 943d68127c am: 579723b4b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16234666
Change-Id: I4454ecfdf367df1c47ac2412d2d75019342d887d
2021-11-17 02:19:59 +00:00
TreeHugger Robot
579723b4b4
Merge "Fix suw display size flicker problem" into sc-v2-dev am: 943d68127c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16234666
Change-Id: Iad78a38a429be9a353176c4fcc529d34ec1023bc
2021-11-17 02:08:45 +00:00
Sunny Shao
d7f302fb4e
Fix suw display size flicker problem
...
- Swipe the preview area will invoke the OnGlobalLayoutListener.
- Sometime it cause a flicker when scroll view scrolling up and
preivew area swiping.
- It is no need to scroll up if the height of scroll view does not change.
Fixes: 205918748
Test: manual test
Change-Id: I8ed5454d32f0cf2a7bc3bac45c7aa054ce929c4b
2021-11-11 15:20:06 +08:00
Jason Chiu
7f6b9e26c9
Merge changes from topic "slice-highlight" into sc-v2-dev am: 6821b6be32 am: 026b1b5df6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16151654
Change-Id: If46903bb26371ea90075d1c6cc063af4d10a88d4
2021-11-02 02:43:42 +00:00
Jason Chiu
026b1b5df6
Merge changes from topic "slice-highlight" into sc-v2-dev am: 6821b6be32
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16151654
Change-Id: Ib03d41631d8bf961fa3ff3957eb5452411da7792
2021-11-02 02:28:16 +00:00
Jason Chiu
6821b6be32
Merge changes from topic "slice-highlight" into sc-v2-dev
...
* changes:
Add highlight menu keys for all toggle pref controllers and custom slices
Support slice deep links highlighting menu entries
2021-11-02 02:14:09 +00:00
Jason Chiu
2989c50a23
Add highlight menu keys for all toggle pref controllers and custom slices
...
Bug: 204695404
Test: manual, robotest build pass, unit
Change-Id: Iad2e28ada8ddb766ffa7eff2c8dc581250cbd6f8
2021-11-01 15:00:18 +08:00
TreeHugger Robot
3cea3fc075
Merge "Fix alignment issue between Vision Settings and Font/Display" into sc-v2-dev am: 17df1ff01f am: 4ef8d14ed7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16056987
Change-Id: If60cc218966a7bfaa6a466b02d5c3419ddd9f386
2021-11-01 03:01:29 +00:00
TreeHugger Robot
4ef8d14ed7
Merge "Fix alignment issue between Vision Settings and Font/Display" into sc-v2-dev am: 17df1ff01f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16056987
Change-Id: I7b9a5992c671ed304e3ad2cdec7f546d6c77b446
2021-11-01 02:50:16 +00:00
Sunny Shao
d2704ad4ca
Fix alignment issue between Vision Settings and Font/Display
...
- Use the same approach of Vision page to tweak the padding of the header
Fixes: 202897526
Test: make RunSettingsGoogleRoboTests -j ROBOTEST_FILTER=com.android.settings.accessibility.AccessibilityScreenSizeForSetupWizardActivityTest
Change-Id: I06eb5cb3ea6952b2cfdaa71f15757e415b61f5cc
2021-10-23 11:09:18 +08:00
Jason Hsu
f876306c36
Merge "Fix software shortcut in dialog did not update when content change." into sc-v2-dev am: 56e82fe112 am: 33914ed556
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16005288
Change-Id: I061d40c46ff678d6199db650e212d32d23ce57db
2021-10-20 10:42:01 +00:00
Jason Hsu
33914ed556
Merge "Fix software shortcut in dialog did not update when content change." into sc-v2-dev am: 56e82fe112
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16005288
Change-Id: I9a37e193ad72c639a10ebe10cb0868215b1823c7
2021-10-20 10:21:32 +00:00
jasonwshsu
eba8e8da19
Fix software shortcut in dialog did not update when content change.
...
Root Cause: Dialog only get updated when clicked the trigger button to show dialog.
Solution: Update the software shortcut content in dialog if needed in onResume() stage.
Bug: 183342594
Test: atest AccessibilityDialogUtilsTest
Change-Id: Ibcd66d6c57f1790f96f234e49f456cbc2c990f64
2021-10-20 16:25:26 +08:00
Menghan Li
ac4448c76b
Merge "Fix Settings app crashes when clicked on the magnification" into sc-v2-dev am: 6de9b2486f am: 6001f86910
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16044202
Change-Id: I841ede3f2254ffe42881ffb28880ae293dee42f9
2021-10-14 07:42:58 +00:00
Menghan Li
6001f86910
Merge "Fix Settings app crashes when clicked on the magnification" into sc-v2-dev am: 6de9b2486f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16044202
Change-Id: I9fdf101e209d7ade30c3da5850ed4499d7fcca3d
2021-10-14 07:32:01 +00:00
menghanli
f9ca092d58
Fix Settings app crashes when clicked on the magnification
...
1. Apply SetupWizardUtils.getTheme for AOSP / Nexus phone
2. Remove Magnification controller
3. Correct the description of the Talkback and Magnification page
Bug: 202792097
Test: manual test and upload fixed demo on bug
Change-Id: I108af30e3e2530bfabfcbdae03a7139a5b4e7a63
2021-10-13 22:34:27 +00:00
Menghan Li
f4c50ff1af
Merge "Apply fade transition for font size and display size Suw page" into sc-v2-dev am: 502f53619f am: a6e6cfbee1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16001288
Change-Id: Ic09486a53a972451dc7548f1ffa4c4fba23c67ca
2021-10-12 13:45:45 +00:00
Menghan Li
a6e6cfbee1
Merge "Apply fade transition for font size and display size Suw page" into sc-v2-dev am: 502f53619f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16001288
Change-Id: I349e5f81d0124ae90cc7149424491dcb12b73282
2021-10-12 13:33:20 +00:00
menghanli
71aca3b7a9
Apply fade transition for font size and display size Suw page
...
- Create font size & screen size controler to simply xml
- Add onPuase animation
Bug: 194447311
Test: atest AccessibilityScreenSizeForSetupWizardActivityTest
Test: atest FontSizePreferenceControllerTest
Test: atest ScreenSizePreferenceControllerTest
Change-Id: I91f3fd4c22aba4f8cd46f6e82e50987544942245
2021-10-12 09:48:16 +08:00
Menghan Li
21eb4d80f4
Merge "Apply GlifPreferenceLayout for accessibility service Setup Wizard two-panel styles" into sc-v2-dev am: 9441d2b289 am: ebdfd05c67
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15773283
Change-Id: Ie70c92947bcff341fe7040e8ce5d2046eea0643d
2021-10-06 11:18:43 +00:00
Menghan Li
ebdfd05c67
Merge "Apply GlifPreferenceLayout for accessibility service Setup Wizard two-panel styles" into sc-v2-dev am: 9441d2b289
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15773283
Change-Id: Icfd8f891f85dc2a179770592fc1168eab2a501b0
2021-10-06 11:00:39 +00:00
Menghan Li
9441d2b289
Merge "Apply GlifPreferenceLayout for accessibility service Setup Wizard two-panel styles" into sc-v2-dev
2021-10-06 10:46:37 +00:00
TreeHugger Robot
fe13cd070d
Merge "Update font/display size pages for support large screen in SuW" into sc-v2-dev am: 9ade901dd7 am: 87895d0893
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15895175
Change-Id: Icb7de5c7fc4bd8f89f7ef04b0cd9e8eb36a1c882
2021-10-06 06:42:34 +00:00
TreeHugger Robot
87895d0893
Merge "Update font/display size pages for support large screen in SuW" into sc-v2-dev am: 9ade901dd7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15895175
Change-Id: Iba75d65a5e896774bfa512831412ee47aaf91139
2021-10-06 06:25:04 +00:00
Sunny Shao
f9beef43c9
Update font/display size pages for support large screen in SuW
...
- Follow the SuW design of the UI guideline.
- Add the footer button for each pages.
- Add a new AccessibilityScreenSizeForSetupWizardActivity for SuW.
- Add suw_font_size_fragment.xml and suw_screen_zoom_fragment.xml
for each fragment.
- Shorten 50% of the preview height.
Bug: 194447311
Fixes: 199369859
Test: manual test
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.accessibility
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.display
Change-Id: I2685e96d37d542490521ec24cfce490f87cbd88d
2021-10-06 11:41:57 +08:00
menghanli
7e8dd64ee4
Apply GlifPreferenceLayout for accessibility service Setup Wizard two-panel styles
...
Bug: 194447311
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilitySetupWizardUtilsTest
Change-Id: Icace09d12c0d2a82eb2591a55f6454f320172ec9
2021-10-05 10:09:04 +08:00
PETER LIANG
a507085d09
Merge "Add the max height restriction into the illustration view." into sc-v2-dev am: 65faee72f5 am: 7260fe0330
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15809052
Change-Id: Id6051ae6b6e43bd78375beee27eb5982423de400
2021-09-28 06:13:05 +00:00
PETER LIANG
7260fe0330
Merge "Add the max height restriction into the illustration view." into sc-v2-dev am: 65faee72f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15809052
Change-Id: Id9e4ca6f0c53a8924b75c7c31120d9776f9469de
2021-09-28 05:58:52 +00:00
Peter_Liang
af5f355b35
Add the max height restriction into the illustration view.
...
Bug: 191721423
Test: manual test
Change-Id: I3829ead500eaf586f6d543855690ee8f0d0913ff
2021-09-24 14:42:53 +08:00
Jason Hsu
1ed5b468f4
Merge "Support ability to add different page id for different accessibility service page in settings." into sc-v2-dev am: 768722fed4 am: da247a3042
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15824482
Change-Id: I58f6e45441389cd1d54d5399aa48c219d4a81ed4
2021-09-23 07:26:46 +00:00
Jason Hsu
da247a3042
Merge "Support ability to add different page id for different accessibility service page in settings." into sc-v2-dev am: 768722fed4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15824482
Change-Id: I8d5053da73433f54491fe9e32f822757d09057ef
2021-09-23 07:12:16 +00:00
Jason Hsu
768722fed4
Merge "Support ability to add different page id for different accessibility service page in settings." into sc-v2-dev
2021-09-23 07:01:58 +00:00
jasonwshsu
3d0f12d043
Support ability to add different page id for different accessibility service page in settings.
...
Bug: 190344664
Test: build pass
Change-Id: I6cc90b27dcbb5075d13e3c59fe754309182b4d0a
2021-09-22 18:36:46 +08:00
Jason Hsu
eb7a8bbe96
Merge "Use the correct pageId for the existing accessibility page" into sc-v2-dev am: e9cea6a4aa am: 22015ac5c5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15785738
Change-Id: If732f5f62ee0d16932bb5f740cc0744f69db027c
2021-09-21 10:31:49 +00:00
Jason Hsu
22015ac5c5
Merge "Use the correct pageId for the existing accessibility page" into sc-v2-dev am: e9cea6a4aa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15785738
Change-Id: Ib0fc4934d24e08086fa8fb50e86c302750d783d4
2021-09-21 10:16:36 +00:00
jasonwshsu
746f4d45f7
Use the correct pageId for the existing accessibility page
...
* correct page id for "Accessibility timeout" and "Select to Speak"
Bug: 190344664
Test: build pass
Change-Id: I3f6b2c389c1ca77e4d3fca3601915caa7a9dd6f8
2021-09-20 19:29:27 +00:00
Wilson Wu
395e839b10
Merge "Update settings PrimarySwitchPreference reference"
2021-09-07 02:51:20 +00:00
Wilson Wu
9edf79741d
Update settings PrimarySwitchPreference reference
...
To make InputMethodPreference support 2 target
reference, CL[1] move the PrimarySwitchPreference
into SettingsLib.
Change all PrimarySwitchPreference reference to
Settingslib one and remove the original one.
[1]: Idea3935d95b8d22b00ca89313e9eb3e979e4aa74
Bug: 197705032
Test: Presubmit
Change-Id: I95d111522344bb7cbdd380382e48fe60a5ebc9a2
2021-09-02 13:10:19 +08:00
Menghan Li
ac74f5e31a
Merge "Fix null pointer issue of accesibility learn more button click event" into sc-v2-dev am: e8582f9c31 am: 355ae871b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15678258
Change-Id: I199e6d1b3f30cacfac3a15010242f9f5a4dc3239
2021-09-01 06:56:27 +00:00
Menghan Li
355ae871b5
Merge "Fix null pointer issue of accesibility learn more button click event" into sc-v2-dev am: e8582f9c31
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15678258
Change-Id: Ifc595fa8d33e5244b96d28ef17615e1955b20551
2021-09-01 06:28:24 +00:00
Lucy Chang
d4035c2cdf
Merge "Log accessibility privacy warning status (2/2)"
2021-09-01 06:04:04 +00:00
menghanli
d665ecb86d
Fix null pointer issue of accesibility learn more button click event
...
Root cause: Some OEMs can not provide valid intent for help & feedback
Solution: Check the intent is vaild before show up the help strings
Bug: 197786797
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityFooterPreferenceControllerTest
Change-Id: I8103730ed48a343f7b72c16647f7e8047aee34b2
2021-08-31 16:35:44 +08:00