Peter_Liang
c8f6bcc6fb
New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (1/n).
...
Create preference fragment layout.
Bug: 211503117
Test: manual test
Change-Id: I16c01476b75c2eb6d83759233d4cc29bddfcd4a7
2022-01-10 04:24:02 +00:00
Peter_Liang
b408e19f4e
Update the background of the Daltonizer preview.
...
Add the corner radii in to be consistent with the Settings style.
Bug: 213440059
Test: manual test
Change-Id: I68edf243ae33e9bb1e39020ad7553451fad66477
2022-01-06 21:02:50 +08:00
TreeHugger Robot
b8c35bc89f
Merge "Move the text under slider bar to the description under title" into sc-v2-dev am: 0f0e27cf6a am: b944d7f110
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16379115
Change-Id: I0d00297b4bdb9844b569f40a6d5cae56929b8f0c
2021-12-10 01:39:54 +00:00
TreeHugger Robot
b944d7f110
Merge "Move the text under slider bar to the description under title" into sc-v2-dev am: 0f0e27cf6a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16379115
Change-Id: I5cf2e273ae5dda74a8491a85588e795203b73c43
2021-12-10 01:23:35 +00:00
TreeHugger Robot
0f0e27cf6a
Merge "Move the text under slider bar to the description under title" into sc-v2-dev
2021-12-10 01:03:24 +00:00
Alex Li
aad70e4cea
Merge "[Settings] Remove override the transition to fade during the Suw flow." into sc-v2-dev am: b1a91c9f95 am: 1ed0cd05c0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16413592
Change-Id: I635c9101377046d974a020a23debef671073d5a8
2021-12-09 11:42:38 +00:00
Alex Li
1ed0cd05c0
Merge "[Settings] Remove override the transition to fade during the Suw flow." into sc-v2-dev am: b1a91c9f95
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16413592
Change-Id: I9db4d5e802cf658ae12c7141b53b30fb77a1c77c
2021-12-09 11:09:05 +00:00
Sunny Shao
b5bb0e85a1
Move the text under slider bar to the description under title
...
- Make this change after discussed with UX team.
Fixes: 206737771
Test: manual test
Change-Id: I9517933312d8db400f6d40b4124815ad275014ec
2021-12-09 17:13:26 +08:00
alexylli
2a7069f561
[Settings] Remove override the transition to fade during the Suw flow.
...
Because Suw side has already override the transition when calling the
font size.
video: https://drive.google.com/file/d/1Lihpj3PFX4-xpg1d3pT3pBqm99noQL-k/view?usp=sharing
Bug: 208374725
Test: manual
Change-Id: Idaa56cdbdc7b9f76fe370ba79130007f7359557c
2021-12-08 17:06:44 +08:00
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