Commit Graph

9212 Commits

Author SHA1 Message Date
Bill Yi
8dce0e54f3 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ia24187f678203cd05eed0caf140f29efb7bba651
2020-07-06 05:45:46 -07:00
TreeHugger Robot
e7f3897b6a Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-05-16 04:59:37 +00:00
TreeHugger Robot
0735b26fdd Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-05-16 04:38:55 +00:00
Bill Yi
26ec166438 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ifd823a707c833e66f2458b2b3133efcab03b2eb5
2020-05-15 21:33:45 +00:00
Bill Yi
b27e3394a1 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Id37332bdbf0136085b6d078874eab4505142e12c
2020-05-15 21:07:56 +00:00
Bill Yi
ac55244777 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ie4b682fb3705196b1fd881953aec6c85ed7ba5ad
2020-05-15 20:24:52 +00:00
Bill Yi
1cb36d018b Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I21548478d4d9df10bb278663862b8cbd9ca15326
2020-04-03 10:37:35 -07:00
Evan Laird
36d3b2e3ad DO NOT MERGE: Add blacklist for camera protection
Bug: 150540299
Test: atest SystemUITests
Change-Id: Ica395ba060cbbdbd0eef424e6f05decaff3f308c
2020-03-19 15:39:20 +00:00
Evan Laird
bc95ab7a39 DO NOT MERGE: Use status_bar_padding_top
In status bar, keyguard, and quicksettings, things that live in the
"status bar" area now properly obey status_bar_padding_top.

Also refresh layout resources on configuration change in the status bar,
fixing a couple of annoying bugs

Test: manual
Bug: 151221263
Change-Id: Ib4474ae2bd52919c2eecf9400c2711fd224fcc09
2020-03-17 17:44:57 +00:00
TreeHugger Robot
41edb22d75 Merge "DO NOT MERGE Ignore insets on status_bar_container" into qt-qpr1-dev 2020-03-11 20:48:55 +00:00
Evan Laird
9315832913 DO NOT MERGE: Allow corner UI to decouple from rounded_corner_radius
frameworks/base/core/res/res/dimens value rounded_corner_radius can
change not to reflect the actual device size due to tuning the rounding
on window corners.

This change allows us to decouple corner UI's idea of what the corner
size is from the framework dimension

Test: manual
Change-Id: I6548d74921d6e71250486984869572bdd304b0d0
2020-03-10 23:04:05 +00:00
Beverly
ae242892e2 DO NOT MERGE Ignore insets on status_bar_container
- Instead, PhoneStatusBarView will take care of display cutout insets
based on the rotation of the device

Test: atest SystemUITests
Bug: 149197103
Change-Id: Ie4df9ce5c754408dcf2d50108576df42173fa17d
2020-03-09 17:26:19 -04:00
Evan Laird
e207aed329 Use status_bar_padding_top in QS system icons
Test: manual
Bug: 148651257
Change-Id: I771502c97623efb6513c0b12bac2ef7a95f09fc4
2020-02-26 11:39:09 -05:00
Evan Laird
6075dd7f58 DO NOT MERGE: Add SystemUI support for front-facing camera protection
Devices with a DisplayCutout configured may want to add some extra area
of turned-off pixels around the cutout in order to keep light from
leaking into camera hardware. This CL adds two new config values to
sysui to enable the configuration of this cutout protection, and listens
for CameraManager events telling us that a relevant camera has turned
on.

Test: manual
Bug: 145095085
Change-Id: Ifce67a593247e3a2151d41800ae46a50478e0b7d
2020-02-24 18:44:48 +00:00
Bill Lin
688ebd6876 Merge "DO NOT MERGE Respect rounded.xml size in ScreenDecorations" into qt-qpr1-dev 2020-02-24 16:27:20 +00:00
TreeHugger Robot
ea06aa5003 Merge "DO NOT MERGE Set background drawable on status_bar_container" into qt-qpr1-dev 2020-02-21 16:26:03 +00:00
Bill Lin
9ae18fa2d9 DO NOT MERGE Respect rounded.xml size in ScreenDecorations
Suppose vendors will customize rounded.xml with corresponding
multiple radius path and size, ScreenDecorations should not resize it
by rounded_corner_radius in case jagged edges problem

Test: atest SystemUITests
Test: atest ScreenDecorationsTest
Bug: 145707162
Bug: 148912090
Change-Id: Ie33526214072ad324ca00a10074ad212dfbf4258
2020-02-21 07:46:18 +00:00
Beverly
b85c9eaa24 DO NOT MERGE Set background drawable on status_bar_container
Put the background drawable on status_bar_container instead of
status_bar because we always want the status bar background to
fill the entire container.

status_bar receives new margins when corner display cutouts are enabled
which may prevent status_bar from taking up the entire
status_bar_container space.

Test: atest SystemUITests
Bug: 148355955
Change-Id: Ic7e0c0a79908d2a58d4595d239062435253edfda
2020-02-20 22:13:23 +00:00
Dave Mankoff
cb45d588e1 RESTRICT AUTOMERGE Use Alternative Prox Sensor for Falsing
This allows new phones to use a sensor with a different
theshold when attempting to determine the devices proximity
to surfaces.

Bug: 149420648
Test: manual
Change-Id: Iee8568f7d9f58359dc1e72fd195a42abeaf2ddf3
2020-02-19 17:16:35 -05:00
Bill Yi
5b94476ce6 Import translations. DO NOT MERGE
Change-Id: I1df70b7205ca4090d6a9978050049d378fff7cbc
Auto-generated-cl: translation import
2020-01-19 10:32:43 -08:00
Bill Yi
4452bafb93 Import translations. DO NOT MERGE
Change-Id: I77ed89b08ff7a8d1fabdbf3071da3b754ce7d06e
Auto-generated-cl: translation import
2020-01-12 16:29:37 -08:00
Bill Yi
393657ce91 Import translations. DO NOT MERGE
Change-Id: Ic0a95801207612d600d8072163aaa5c5b8da51b3
Auto-generated-cl: translation import
2020-01-05 17:21:55 -08:00
Bill Yi
6c42f1a123 Import translations. DO NOT MERGE
Change-Id: I1108db974400d6e4b0c80482517916f2cf1b7d02
Auto-generated-cl: translation import
2019-12-30 07:17:43 -08:00
Bill Yi
c496e7624d Import translations. DO NOT MERGE
Change-Id: I0414a5c64fbb577fb060ee7e93cb1f3e861a0f5a
Auto-generated-cl: translation import
2019-12-19 19:55:47 -08:00
Lucas Dupin
ad00dc0482 Merge "Remove keyguard_indication_area_overlay" into qt-qpr1-dev 2019-12-18 18:29:07 +00:00
Jay Aliomer
730fc5b2c9 Battery Saver capitilized in tile
When the phone is in battery saver mode, the "Battery Saver" secondary
label should be capitalized

Test: manual

Fixes: 145694753
Change-Id: Ia88547aa05ad441b07da3044e7148e1a918c28b5
2019-12-18 02:07:12 +00:00
Jay Aliomer
f19ce4af1d Dark theme battery saver tile secondary text
Dark theme tile on battery saver should show
"Dark theme" and "Battery saver" on two lines

Test: manual. turn battery saver on while dark theme on auto

Fixes: 146439388
Change-Id: I460b582ca7fcf244b406d6eaf70c10e4edc52d85
2019-12-17 20:57:08 +00:00
Austin Wang
b2f5ae43de Remove keyguard_indication_area_overlay
The overlay was introduced for SysUIGoogle to customize two icons on
docking UI besides charging text, and is no longer needed.

Fixes: 145250100
Test: atest SystemUITests:KeyguardBottomAreaTest
Test: atest SystemUIGoogleTests:DockIndicationControllerTest
Change-Id: If836fe97c3e394cc98f1a05270bd0023e5b57bed
Merged-In: If836fe97c3e394cc98f1a05270bd0023e5b57bed
2019-12-11 10:26:43 +00:00
Bill Yi
63a2fb18b9 Import translations. DO NOT MERGE
BUG:145192436
Change-Id: I348df9c1b107adda0d282d7c555c4482fa243a77
Auto-generated-cl: translation import
2019-11-27 00:58:53 +00:00
Wilson Wu
fc3f1408da Merge "Support showing alignment hint based on aligniment state of dock" into qt-qpr1-dev 2019-11-26 10:29:40 +00:00
Jerry Chang
4bbf1596b9 Support showing alignment hint based on aligniment state of dock
Bug: 141984730
Test: atest SystemUITests:KeyguardIndicationControllerTest
Change-Id: Ic0911683725a0e54406df06b948169c4dde94764
Merged-In: Ic0911683725a0e54406df06b948169c4dde94764
2019-11-26 11:03:10 +08:00
Jay Aliomer
381e3300e8 Dark theme twilight mode backend and tile
When the user has Dark theme scheduling turned on (b/141567787), the quick settings tile subtext should reflect the following:
If Dark theme is on: "Until sunrise"
If Dark theme is off: "On at sunset"
If the user does not have Dark theme scheduled, the text should not appear.
This matches the appearance of the Night Light QS tile.
All starting windows snapshots will be deleted and splash screens
will be used instead.

Test: atest UiModeManagerServiceTest
Fix: 143874807
Merged-In: Ie2ce64b5c5544fffe76be7ec3f971eb7461f8c4d

Change-Id: Ie2ce64b5c5544fffe76be7ec3f971eb7461f8c4d
(cherry picked from commit 8b2671b029)
2019-11-21 18:05:22 +00:00
Bill Yi
77fa96b92f Import translations. DO NOT MERGE
Change-Id: Ia81e7775e38905f238d0241ac41b5f2339c04ed7
Auto-generated-cl: translation import
2019-11-09 14:59:50 -08:00
Selim Cinek
39195ba211 Merge "DO NOT MERGE Revert all scrim related changes in qpr" into qt-qpr1-dev 2019-10-28 20:31:41 +00:00
Bill Yi
9ee6503731 Import translations. DO NOT MERGE
Change-Id: I4f4a4c0efd8c96693ec5700c13a95e4dc0fa4240
Auto-generated-cl: translation import
2019-10-26 17:48:31 -07:00
Selim Cinek
f97d7f73cf DO NOT MERGE Revert all scrim related changes in qpr
This reverts commit 9449cfc4a6.
This reverts commit 22fa97577f.
This reverts commit bde48202e7.

Bug: 141649119
Bug: 143195895 is also fixed on my taimen with the above.
Bug: 143185828
Test: atest SystemUITests
Change-Id: I225b10fef2f88d3436ef3a683c09717467b071ad
2019-10-26 04:19:50 +00:00
Bill Yi
133b15feca Import translations. DO NOT MERGE
Change-Id: I0e4248100b05c1418d522a4ff19d7285ab0901b0
Auto-generated-cl: translation import
2019-10-18 07:51:22 -07:00
Bill Yi
f0cd160410 Import translations. DO NOT MERGE
Change-Id: I995c79defa649cee05b3c78398c329876f5bc98e
Auto-generated-cl: translation import
2019-10-05 17:27:08 -07:00
Bill Yi
ccca5cecb7 Import translations. DO NOT MERGE
Change-Id: Ifa63cc635ba88e89cb4d2e12b8615c986d274cd1
Auto-generated-cl: translation import
2019-09-27 15:42:49 -07:00
Evan Laird
83c87e50b1 DO NOT MERGE Allow for HTML styling in mobile data type content descriptions
This CL implements a (somewhat hacky) way to enable HTML attributes in
the mobile data type content description strings. This way we can use
some basic styling in the Quick Settings cellular data tile which uses
it in a TextView.

We do this by assuming that the content description is valid, escaped
HTML, and send two separate CharSequences to all of the listeners, all
of which can then decide if they need the regular content description or
the prettified version.

Test: atest SystemUITests; system ui demo mode
Bug: 141177147
Change-Id: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
2019-09-25 11:12:37 +00:00
Mady Mellor
fd48588768 Merge "qt-r1-bubbles-dev @ build 5835883" into qt-qpr1-dev 2019-09-16 21:55:51 +00:00
Bill Yi
c5615d8c31 Import translations. DO NOT MERGE
Change-Id: I698ae74015e0351fbf89090e19ce7c4bf605d822
Auto-generated-cl: translation import
2019-09-14 03:28:11 -07:00
Bill Yi
e81c76e436 Import translations. DO NOT MERGE
Change-Id: I3f3bba17344fb571b61161b31ce22324db37314c
Auto-generated-cl: translation import
2019-09-12 19:49:38 -07:00
Fabian Kozynski
4e63d9e9e0 Fix incorrect text when on Airplane Mode
Only generate missing sim text if there are no CarrierName present AND
no sims READY. This was an issue when airplane mode with WFC.

Also, replace using mCarrierGroups[0] for its text when the sims are
missing. Instead use a different view that is made visible when all the
QSCarrierGroups should be invisible.

Test: manual, using APM
Test: atest
Fixes: 139556559

Change-Id: I9d83b0eb2a21b786d50c243903bf32b6e761dc77
Merged-In: I9d83b0eb2a21b786d50c243903bf32b6e761dc77
2019-09-12 20:54:29 +00:00
Mady Mellor
a5813e0e3d qt-r1-bubbles-dev @ build 5835883
Test: presubmit setup on source branch

Bug: 126945401
Bug: 128932906
Bug: 129158983
Bug: 130237686
Bug: 130250809
Bug: 130442248
Bug: 131267438
Bug: 131609280
Bug: 131692350
Bug: 131849856
Bug: 133444037
Bug: 134064116
Bug: 134064858
Bug: 134070807
Bug: 134077101
Bug: 134090085
Bug: 134155107
Bug: 134423445
Bug: 134512898
Bug: 134514210
Bug: 134514227
Bug: 134734945
Bug: 134960381
Bug: 134989736
Bug: 135214687
Bug: 135280077
Bug: 135472021
Bug: 135475155
Bug: 135487618
Bug: 135488406
Bug: 135518045
Bug: 135633218
Bug: 136034310
Bug: 136150954
Bug: 136199542
Bug: 136538998
Bug: 137201711
Bug: 137213469
Bug: 137214359
Bug: 137214536
Bug: 137233453
Bug: 137876221
Bug: 138301618
Bug: 138445026
Bug: 138659213
Bug: 138749133
Bug: 138799651
Bug: 138801505
Bug: 138941969
Bug: 139002444
Bug: 139025304
Bug: 139816141
Change-Id: Ia7364529ea58070c8d45ecd726ab6ac7d34f2abe
Merged-In: Ic271a6a0f0803941dd5a84124dabf4d8c5fcc755
Merged-In: Ic3a4ba793db7f1361678ef51c411d9eab85d9b85
2019-09-11 22:42:54 +00:00
Miranda Kephart
724b363703 Merge "Merging from qt-qpr1-sysui-dev @ build 5855545" into qt-qpr1-dev 2019-09-10 20:24:03 +00:00
Bill Yi
ae5f3cd1c7 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I73f4e9c441b4ac2442ccddfd721457509d30b17a
2019-09-10 07:20:14 -07:00
Bill Yi
1ec5982c33 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ide38da2a5b676a9952881e187ef3aeb8b7c9cf55
2019-08-31 23:41:54 -07:00
Bill Yi
a1157524b0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I75ed9ff053eadba00371660dec947d885c742008
2019-08-31 22:58:35 -07:00
Jayachandran Chinnakkannu
2d8c6c76c8 Merge "5GE Icon: Show 5G subscript E (italics)" into qt-r1-dev am: 7a1f8da2fb
am: d16dceae93

Change-Id: I2ea573d671cff6301f0b22d76bad79f29aaffed1
2019-08-27 15:45:36 -07:00