Commit Graph

5105 Commits

Author SHA1 Message Date
Edgar Wang
a1acf685d0 Change the text of the search bar in Homepage screen
Bug: 348069291
Change-Id: I35771e9a347715819e65e0d86f1cd38eaa5618ae
Test: visual
Flag: com.android.settings.flags.homepage_revamp
2024-06-21 04:51:11 +00:00
Edgar Wang
57fa134ade [Homepage revamp] Adjust the padding of Search bar in the homepage container.
Bug: 340773713
Test: visual
Flag: com.android.settings.flags.homepage_revamp
Change-Id: I3fc8a8f56ba8e8c401e907fbb45fc980eb335538
2024-06-20 17:21:32 +00:00
Treehugger Robot
45c36458ca Merge "Fix edge-to-edge issue in certificate manager UI" into main 2024-06-20 11:29:45 +00:00
Rubin Xu
c7eded46e1 Fix edge-to-edge issue in certificate manager UI
Bug: 348083996
Flag: EXEMPT bugfix
Test: maunally start the certificate manager UI via TestDPC
Change-Id: Id92897c81087febfdf02c8b90d69cd3e4270a22c
2024-06-20 10:27:34 +00:00
Matías Hernández
0bf4899f3e Support adding an automatic schedule to previously-manual system-owned modes
Bug: 342156843
Bug: 326442408
Flag: android.app.modes_ui
Test: atest com.android.settings.notification.modes
Change-Id: Ib7d15b8fc949fa73015537f03a882ef7eb6b4bcd
2024-06-19 15:06:08 +02:00
Matías Hernández
ec5b25eb48 Merge "Add icon picker for zen modes" into main 2024-06-10 22:38:36 +00:00
Yuri Lin
00c7a2c16b Merge "Add schedule setting page for time-based modes." into main 2024-06-10 20:50:57 +00:00
Matías Hernández
8d397f038f Add icon picker for zen modes
Bug: 333901673
Test: atest ZenModeIconPickerListPreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: Ib6faaac7c93b25423d18dbdcd0a2310de15fa86f
2024-06-10 19:37:49 +02:00
Yuri Lin
4203f311dd Add schedule setting page for time-based modes.
Creates new layout for setting the start & end time, and days of the week, for a schedule-based mode.

This is close to the mocks specified in https://screenshot.googleplex.com/8zmb7PAjjt73VkN, but with the following differences:
- the end time is left-aligned with the center rather than on the right side of the screen. This is a side effect of using LinearLayout to evenly space start & end times, and could in theory be fixed by using a ConstraintLayout, but that option seems to cause times to overlap instead of wrap when display size is cranked up. Could be fixed later.
- no icons yet on either side of the time display
- no Done button. Instead, has the "exit at alarm" switch that exists today.

Have not yet checked how this interacts with TalkBack, etc.

Flag: android.app.modes_ui
Bug: 332730302
Test: ZenModeSetSchedulePreferenceControllerTest, ZenModeExitAtAlarmPreferenceControllerTest, ZenModeSetTriggerLinkPreferenceControllerTest
Test: manual: interacting with UI in normal size, with font & display at minimum and maximum, and in locales (fr) where the first day of the week is a different day
Change-Id: I0b76f55891d6c12fc27720657c9eea6fe42fbafe
2024-06-10 13:26:06 -04:00
Treehugger Robot
87334e9c38 Merge "Add Settings for vector-specific PointerIcon fill colors." into main 2024-06-07 16:31:59 +00:00
josephpv
cbf3dad3f5 Fix to display text properly in PS education screen
This changes the style for text in private space education screen
bullet point to fix the text not displaying properly in unfolded mode of
Pixel fold.

Recording: b/340231182#comment4

Bug: 340231182
Test: Manual
Change-Id: I4da02da6ddf6b4f048cc58331d14cda389f13dec
2024-06-07 11:07:11 +00:00
Joseph Vincent
4885f1833c Merge "Remove temp GAIA education screen from PS setup code" into main 2024-06-07 02:47:30 +00:00
josephpv
d27f97393d Remove temp GAIA education screen from PS setup code
With this change the temp GAIA education screen is removed from private
space setup code and adds a new loading screen with "Just a sec" title
in the activity while the gms intent in launched to fix blank screen issue.

Screenrecording link:
b/336822960#comment7

Bug: 336822960
Test: Manual
Change-Id: I9ee41835b39c194fefb970321b7a9d5a30f87306
2024-06-06 17:18:55 +00:00
Pat Manning
577965f9c2 Add Settings for vector-specific PointerIcon fill colors.
Bug: 305193969
Test: PointerIconLoadingTest
Flag: com.android.systemui.enable_vector_cursor_a11y_settings
Change-Id: I84b4a6d5fde48309c2e3374963f92b8246167628
2024-06-06 14:41:00 +00:00
josephpv
b4054cb6a7 Add edu for apps being stopped when PS is locked
Changes made to Setup intro screen and private space settings dislaimer
that apps are stopped when private space is locked.

Screenshots:
go/ss/8YFWtjjC5pzhyyd.png
go/ss/5pvvo4YodaSiGzr.png
b/343166731#comment4

Bug: 343166731
Test: Manual
Change-Id: I46db598e1e94e210d904ade8b6b0cf498960cc2a
2024-06-05 10:01:19 +00:00
Haijie Hong
8ef3513f04 Merge "Fix battery talkback for advanced bt header" into main 2024-06-05 05:13:33 +00:00
chelseahao
4c94930ad5 [Audiosharing] Clean up unused code.
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 308368124
Change-Id: Iea1aede53aefe2034b5a083ff503bb21a4f546cb
2024-06-04 07:09:03 +00:00
Chun-Ku Lin
38236869ee Merge "Update a11y shortcut images" into main 2024-05-31 17:53:12 +00:00
Haijie Hong
3957d28a09 Fix battery talkback for advanced bt header
Test: tested in phone
Bug: 323790433
Change-Id: I52ed8694af240ae7923d7758144e6db3c590571d
2024-05-31 19:12:47 +08:00
Chun-Ku Lin
833bbccd30 Update a11y shortcut images
- Update QS, gesture, volume keys shortcut type images
- Change FAB image to animated image
- Change 2-finger double tap, triple tap animated images
- Fix the alpha value set in the FAB preview

Bug: 324312956
Test: Run and view the images
Test: atest com.android.settings.accessibility
Flag: EXEMPT low risk, resource change
Change-Id: Ic0f1953ca20fc8a3dc7b684f95ee18dae67c4f09
2024-05-29 01:43:44 +00:00
Julia Reynolds
97b462dbf0 Add button for activating modes manually
Fixes: 308819907
Flag: android.app.modes_ui
Test: ZenModeButtonPreferenceControllerTest
Test: atest com.android.settings.notification.modes
Change-Id: Id018d360c648dd948d2f950ca67cfbea71cc5c68
2024-05-28 13:17:43 -04:00
Chaohui Wang
168456c46a Reduce flaky of DataUsageSummaryPreference
- Set SnapshotTimeMs initial value to unknown
- Reserve height for DataUsageSummaryPreference

Bug: 341234382
Test: manual - on Mobile Settings
Change-Id: I9145f666c5f8fd9595bcc047160fd6da17b3091d
2024-05-24 12:14:01 +08:00
Joshua Mccloskey
dd88792a5b Merge "UDFPS Enrollment Refactor (6/N)" into main 2024-05-23 18:26:10 +00:00
Edgar Wang
2c80210f34 Merge "Make Choose Profile dialog scrollable" into main 2024-05-21 03:38:55 +00:00
Joshua McCloskey
01b4ef5a92 UDFPS Enrollment Refactor (6/N)
Bug fixes

Bug: 297082837

Change-Id: I86013007f089e9c57e1f7406f327c001bc4099b4
2024-05-20 23:35:24 +00:00
Joshua Mccloskey
03a0812931 Merge "UDFPS Enrollment Refactor (4/N)" into main 2024-05-20 21:53:16 +00:00
Edgar Wang
46119c9cbb Make Choose Profile dialog scrollable
Fixes: 326846585
Test: manual
Change-Id: I15d25c7c123bfdd4f550fe923e3058ef576be653
2024-05-20 09:33:26 +00:00
Edgar Wang
d0a35f619d Update suggestion card padding in Homepage
Bug: 340759836
Test: visual
Change-Id: I845050339f85d7459bd7c69f0a538d5c85651ec6
2024-05-20 06:49:24 +00:00
Edgar Wang
66c16d57af Update Search Bar layout in Homepage
Bug: 340513864
Bug: 340773713
Bug: 340799397
Bug: 340759836
Test: visual
Change-Id: I4bd5c3438aa55ca764f61b180a37c10206ee78be
2024-05-20 06:49:12 +00:00
Yiyi Shen
66b69fbbb8 Merge "[Audiosharing] Migrate feature from overlay to Settings" into main 2024-05-17 09:30:14 +00:00
Edgar Wang
b9653deead Merge "Update HomepagePreference layout" into main 2024-05-17 06:08:11 +00:00
Edgar Wang
74c81d8542 Update HomepagePreference layout
Bug: 340795546
Test: visual
Change-Id: I95373877721ebae152f5df1aff97a7b0581a88e9
2024-05-16 11:49:50 +00:00
Yiyi Shen
e5bd60a0cf [Audiosharing] Migrate feature from overlay to Settings
Bug: 340379827
Test: atest
Change-Id: I3a88ac1d2f575f3be1f26f617479bbfd25cf6a8e
2024-05-16 05:05:41 +00:00
Edgar Wang
a6a4480736 Fix SettingsHomepageActivityTest failed
Fixes: 340439758
Test: atest SettingsHomepageActivityTest
Change-Id: I8f6fbb91f92982abd3b1ebadff763270537b9c3e
2024-05-15 10:35:57 +00:00
Jason Chang
a547a145dc Remove redundant marginStart for FaceSettings button
To set button's marginStart to zero to align layout.

Flag: NONE

Bug: 331945001

Test: manual build and check UI visually in Fold/Unfold and rotate
state

Change-Id: I967d9ac1af963c6dcdac631a4fba9631a8d5662c
2024-05-14 09:41:30 +00:00
Joshua McCloskey
0336781be0 UDFPS Enrollment Refactor (4/N)
Accessibility + text/dpi change + rotation should be properly handled.
Debug repos were added to make UI developemnt for UDFPS much easier(not
requiring calls to fingerprint manager).

Change-Id: I89900cea0d9e953124781cdf308fb38858de5d16
2024-05-13 22:05:26 +00:00
Treehugger Robot
02e0dc41cf Merge "Apply lineBreakWordStyle and hyphenationFrequency in EditShortcutScreen" into main 2024-05-10 23:27:57 +00:00
Edgar Wang
f437bec1bc Merge "Homepage UX revamp" into main 2024-05-10 00:57:01 +00:00
Chun-Ku Lin
b9eb01643c Apply lineBreakWordStyle and hyphenationFrequency in EditShortcutScreen
Uses the same style as mentioned in b/217659992 and b/232992171

Note: This doesn't fix the long word issue in Thai. This is the best we
can get so far.

Bug: 335749219
Test: manual (Can still see the EditShortcutScreen with no crash)
Flag: EXEMPT resource only
Change-Id: I3c1634de4a33c7ab6a80163217ef1cc65585c584
2024-05-10 00:26:56 +00:00
Edgar Wang
d97b781251 Fix the touch area of the edit box is not large enough in Fingerprint unlock page
Bug: 315405247
Change-Id: Ic15f051e12ccc04575e5c0801104633d4d733dab
Test: manual
2024-05-09 18:51:36 +00:00
Edgar Wang
47400df7ae Homepage UX revamp
- unified Search and Suggestion behavior between regular phone and two
  pane
- don't adjust padding
- update new icon drawable
- support group homepage preference with round corner on phone
- Remove avator from homepage
- Adjust homepage preference order

Bug: 333989622
Bug: 334130370
Test: visual
Change-Id: I9880b52553f164745766c8b9d5c996585285e52a
2024-05-09 08:21:08 +00:00
Haijie Hong
ecaa88ccb0 Merge "Make device picker activity below status bar" into main 2024-05-09 05:14:18 +00:00
Haijie Hong
90e91d7aaf Make device picker activity below status bar
Test: manual test
Bug: 339191643
Change-Id: I448fea9d5e3694014d219f32f14ef52106b54194
2024-05-08 18:44:33 +08:00
mxyyiyi
03fdbbe504 Use material color res from settingslib for battery tips card
Settings Anomaly Card
[Before-Dark] 	https://screenshot.googleplex.com/5PZC6mbWjqunvuv
[Before-Light] 	https://screenshot.googleplex.com/7eoF6yLX6t3JeHz
[After-Dark]  	https://screenshot.googleplex.com/5j4mQFDXjkVcxHs
[After-Light] 	https://screenshot.googleplex.com/5ySzfzft9293GXb

App Anomaly Card
[Before-Dark] 	https://screenshot.googleplex.com/JKkcqCiAKxkPZds
[Before-Light] 	https://screenshot.googleplex.com/ASB4CnDhPjsQohH
[After-Dark]  	https://screenshot.googleplex.com/5y3LVvng54vndi9
[After-Light] 	https://screenshot.googleplex.com/NCJeuViCtDcNhiV

Bug: 339130556
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Change-Id: I29d68713c14068fd9961082a148dd02ad38289a6
2024-05-07 13:51:32 +08:00
Jason Chang
a538f4efdc Fix the text under the "Setup for limited vision or head motion"
is grayed out

Align the sub-title text color with main-title.

Flag: NONE

Bug: 336678451

Test: manually test with reproducible steps then check it visually:
1. Go to Settings > Security & privacy > Device unlock
> Fingerprint & Face Unlock > Face Unlock
2. Confirm your PIN/Pattern/Password
3. Tap on "Setup for limited vision or head motion"

Change-Id: Id6db60d1fc97833607e184bc2fa71b76f46983a4
2024-04-26 09:44:38 +00:00
Treehugger Robot
18f72bb46f Merge "The editview's inputytype adds textMultiLine" into main 2024-04-17 02:47:21 +00:00
songferngwang
976e6a80e9 The editview's inputytype adds textMultiLine
Bug: 323466710
Test: verify the UI

Change-Id: Ic66c25a06edb45a37dfca091bf23bdb3a02dcfbe
2024-04-16 09:34:46 +00:00
Joseph Vincent
db315e642b Merge changes I6387c999,I470e5c6e into main
* changes:
  Update illustrations in Private Space setup & settings
  Replace autoadvance screens with waiting screen in PS setup
2024-04-10 09:51:35 +00:00
josephpv
af800e55f4 Replace autoadvance screens with waiting screen in PS setup
This change replaces the auto advancing screens shown during private
space setup flow with a single loading screen.

Recording: b/332652637#comment3

Bug: 332652637
Test: Manual
Change-Id: I470e5c6ece16cfefd0734d3daadf1d8efe963f63
2024-04-09 21:13:37 +00:00
Chaohui Wang
8b36ebf0a1 Set Wi-Fi password typeface to monospace
Instead of input type, which turns this TextView into editable, which is
not expected.

Fix: 318621629
Test: manual - on Wi-Fi Share
Change-Id: Ie1ab0f3f3f12583fc0b0c6eea9880e24364660de
2024-04-09 17:20:41 +08:00