Commit Graph

2176 Commits

Author SHA1 Message Date
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
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
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
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
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
Mady Mellor
fd48588768 Merge "qt-r1-bubbles-dev @ build 5835883" into qt-qpr1-dev 2019-09-16 21:55:51 +00: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
Jerry Chang
930b5ec9a7 Extract keyguard indication view overlay
Bug: 138268879
Test: atest SystemUITests:KeyguardBottomAreaTest
Change-Id: I8729ef8dfa3dbb695b84fd864659486bdb340bf9
2019-08-07 10:21:12 +08:00
Robert Snoeberger
9733bc4159 Merge "Pad indication text to prevent clipping on side of screen." into qt-r1-dev
am: b7098f9d9c

Change-Id: I12bf5f7d7648bf2871eefdf12d59e4c9e164ccb8
2019-07-18 11:48:18 -07:00
Robert Snoeberger
f6e32f079d Pad indication text to prevent clipping on side of screen.
Padding amount is the same as owner_info also shown on AOD screen.

Bug: 137627803
Test: Checked that text with more than 100 characters shown in
indication area wasn't clipped on side of screen. 100 characters was
used because face_acquired_sensor_dirty string has char limit of 100.
Change-Id: I1c4014b4cfbdc2bba84b9974813ca23e6b42cf4c
2019-07-18 10:12:42 -04:00
TreeHugger Robot
337b1a5968 Merge "Dismiss target v2" into qt-r1-bubbles-dev 2019-07-02 01:04:20 +00:00
Lyn Han
634483c68f Dismiss target v2
Current dismiss flow
- On bubble drag, show gradient with "X Dismiss"
- When bubbles get close to the gradient, show X-in-circle

This change
- Removes gradient and "X Dismiss"
- Shows X-in-circle (with 70% scrim inside) on bubble drag
- Reduces bubble_dismiss_encircle_size to spec (56dp => 52dp)
- Removes duplicate mDismissContainer in BubbleStackView

Fixes: 136199542
Test: manual (dismiss target has scrim, shows on bubble drag)
Test: manual (dismiss target behaves consistently for consecutive drags)
Test: atest SystemUITests
Change-Id: I21101ca9f2eb1b3c53b613231557f9f7936fddfa
2019-07-01 12:59:53 -07:00
Fabian Kozynski
1c41e857c7 DO NOT MERGE Revert Privacy Indicators to P
am: 5c837108e2

Change-Id: Id4ef55651540962e068613216912e457366f3304
2019-06-26 06:45:00 -07:00
Fabian Kozynski
5c837108e2 DO NOT MERGE Revert Privacy Indicators to P
Revert Privacy indicators to P.

Bug: 135180592
Test: build and check that behavior is as P
Change-Id: I24bfc3806e2d12f6a1cc968d6979107e7002a3c4
2019-06-20 10:53:35 -04:00
Ned Burns
e6818f4a41 Merge "Reinflate silent notif header on config change" into qt-dev am: 19755ea196
am: 9bca9b861d

Change-Id: I2adba9e7cca576fdc6d0a4524bf4fadb3db1e2e8
2019-06-17 20:34:00 -07:00
Ned Burns
9bca9b861d Merge "Reinflate silent notif header on config change" into qt-dev
am: 19755ea196

Change-Id: Iaeeade0332a3d41ed4dd9fd9963ba907031104c7
2019-06-17 20:22:59 -07:00
Ned Burns
2c74c2a980 Reinflate silent notif header on config change
Necessary in order to support locale changes.

Test: manual
Fixes: 135170814
Change-Id: Ic5fd09b539860a1119f1a5f1316c4a1f6c46e111
2019-06-17 17:48:48 -04:00
Ned Burns
ce22bc22c4 Merge "Make silent notifications header font theme-aware" into qt-dev am: 3f5980c3d5
am: db531ec3fd

Change-Id: I1206c642597551a8b6061db4af4b3671341075af
2019-06-14 10:25:39 -07:00
Ned Burns
db531ec3fd Merge "Make silent notifications header font theme-aware" into qt-dev
am: 3f5980c3d5

Change-Id: I4db2a4afb2ca51fafa4cf1da9fe3ec6e8fa59647
2019-06-14 10:08:36 -07:00
Ned Burns
3f5980c3d5 Merge "Make silent notifications header font theme-aware" into qt-dev 2019-06-14 16:59:59 +00:00
Evan Laird
442133cd8e Merge "Set channel dialog switches to 48dp height" into qt-dev am: 3e83e8ee65
am: f9b3b8e0e1

Change-Id: I92208e79ecd5da9fcbc6d73e3cd9c36d1956b8bc
2019-06-13 07:40:09 -07:00
Evan Laird
f9b3b8e0e1 Merge "Set channel dialog switches to 48dp height" into qt-dev
am: 3e83e8ee65

Change-Id: Iac825bf2f52b3bff59b522b57a71e30af1de2bd9
2019-06-13 07:36:19 -07:00
Lyn Han
4403658f55 Merge "New scrim behind bubble stack" into qt-r1-bubbles-dev 2019-06-12 20:49:35 +00:00
TreeHugger Robot
b994cada96 Merge "Remove unused padding around bubble view" into qt-r1-bubbles-dev 2019-06-12 01:09:31 +00:00
Evan Laird
d3ed5dbe97 Set channel dialog switches to 48dp height
Makes them meet minimum touch target size requirements

Test: whatever automated accessibility scanner filed the bug initially
Fixes: 134894086
Change-Id: I524a044ff22e0e3cb23af69bf16fea57d918e1ee
2019-06-11 15:04:40 -04:00
Lyn Han
3f4a83a37d Remove unused padding around bubble view
Bug: 134070807
Test: manual
Test: atest SystemUITests
Change-Id: I2f26321c413344dd72e32941ef91d3450676fc56
2019-06-11 10:48:34 -07:00
Lyn Han
bde48202e7 New scrim behind bubble stack
Top to bottom
1. [Scrim in front]
2. Status bar
3. [Scrim behind] (moved above bubble stack)
4. Bubble stack
5. [Bubble scrim] (new)

Fixes: 130237686
Test: atest SystemUITests
Test: manual: expand stack (see bubble scrim), then pull down shade (see
scrim behind status bar)
Change-Id: I2f39f41c524af2134c383c3e12dd193cbc487d93
2019-06-10 15:07:23 -07:00
Fabian Kozynski
53ceaf677a DO NOT MERGE Revert "DO NOT MERGE Remove Privacy Indicators"
This reverts commit ec3e0ecaca.

Reason for revert: Re-enable Privacy Indicators in qt-r1-dev
Bug: 133257910

Change-Id: I7c778dd76c0aff3f483cf06f1dd96fd067145c12
2019-06-04 16:37:21 +00:00
Ned Burns
e27839c016 Make silent notifications header font theme-aware
Test: manual
Bug: 134054174
Change-Id: I6b42c4a4a43e851e7723baeefd34a6b31e066b3c
2019-06-03 17:24:50 -04:00
Fabian Kozynski
ec3e0ecaca DO NOT MERGE Remove Privacy Indicators
am: 9a560e068d

Change-Id: Ied3a51b9c47255a21e2fd29becfe4ed3400a16c7
2019-05-31 15:51:18 -07:00
Fabian Kozynski
aa4545194b Merge "DO NOT MERGE Remove Privacy Indicators" into qt-dev 2019-05-31 22:43:08 +00:00
Fabian Kozynski
9a560e068d DO NOT MERGE Remove Privacy Indicators
Bug: 133257910
Test: build and check that behavior is as P
Change-Id: I24bfc3806e2d12f6a1cc968d6979107e7002a3c4
2019-05-31 20:43:21 +00:00
Aran Ink
c70d1dc2a5 Merge "Fix marquee animating in QuickSettings when invisible to user." into qt-dev 2019-05-31 20:11:21 +00:00
Aran Ink
7dd05dc1c7 Fix marquee animating in QuickSettings when invisible to user.
Bug: 127246438
Test: Manual.
Change-Id: I8ce23b793821ddf863e4c751129f902f447fde34
2019-05-31 11:47:23 -04:00
TreeHugger Robot
f3825f11a1 Merge "Fix RTL placement of "Silent Notifications" section header" into qt-dev 2019-05-31 02:52:14 +00:00
Steve Elliott
7ef81a69d9 Fix RTL placement of "Silent Notifications" section header
Fixes: 133258925
Test: manual
Change-Id: I5719a2db4ea1e4c3a58f973fb2538a7085052651
2019-05-30 16:48:45 -04:00
TreeHugger Robot
58cfefe9cc Merge "Fix a11y readout of notification guts buttons" into qt-dev 2019-05-30 18:53:13 +00:00
TreeHugger Robot
e4de9d2c56 Merge "Constrain global actions panel to available space" into qt-dev 2019-05-30 16:44:43 +00:00
Steve Elliott
300b48ff11 Constrain global actions panel to available space
Formerly, the global actions panel was given the entire screen, and
was rendered above the global actions menu. Now, we limit it to the
space unused by the menu.

Bug: 133511683
Test: manual
Change-Id: I74f4db0b9a2a4e030ec1fd53ddd65e7c372d229c
2019-05-30 11:23:44 -04:00
Julia Reynolds
fe7525a340 Fix a11y readout of notification guts buttons
Test: manual with TB
Bug: 134047401
Change-Id: I28e00afc110d95e130fe54d301be406fa17f6f18
2019-05-30 10:30:21 -04:00
Miranda Kephart
0bcd698481 Merge "Add white edgelights to AOSP" into qt-dev 2019-05-30 02:15:55 +00:00
Miranda Kephart
433c811755 Add white edgelights to AOSP
Moves most of the invocation code (as well as PerimeterPathGuide,
CornerPathRenderer, and EdgeLight) into base SystemUI. Shows
white edge lights coming in from the corners into the center, from
gesture or squeeze.

Bug: 132984557
Test: manual

Change-Id: Icbe611c3513f24f0ac13b68bd4d65f7cb4d402d6
2019-05-29 18:34:58 -04:00
James O'Leary
4335c709ff Adjustments to handles visuals and behavior
- Fix display on devices with larger corners by resizing the handle
views as the corner radius changes.
- Fix home x assist handle color matching by ensuring `isListening` is
set to after color matching start
- Allow UiController to suppress handles showing up during assist
sessions by calling ScreenDecorations.setAssistHintBlocked
- Add animation curve from spec to handle scale animation
- Fix handle rounded ends
- Make handle dimensions customizable

jamesoleary 2 CLs - ag/7727795, ag/7727797 (fix test failure)
mrcasey 2 CLs - ag/7704742, ag/7713549

Test: Verify WAI
Bug: 130642504
Change-Id: I9563d7f437064c8c63c988a9fda41be906064219
2019-05-29 18:09:23 -04:00
Ned Burns
2810896630 Merge "Update guts to match latest specs" into qt-dev 2019-05-28 18:31:16 +00:00
Tracy Zhou
0fa7a54e30 Merge "Refactor how we show rotation button in fully gestural mode." into qt-dev 2019-05-28 18:26:45 +00:00
Ned Burns
369f147e8f Update guts to match latest specs
- Updates dimens and margins to match specs
- Adds selection color for border, icon, and text
- Adjusts fonts to be theme-aware

Test: manual
Bug: 132689331
Change-Id: Ibd2ca853c9a571f25d82151bdd736edb4d5c5d5e
2019-05-28 11:27:05 -04:00
Aran Ink
0c5400eecc Merge "Tweak colors and spacing for GlobalActionsDialog." into qt-dev 2019-05-28 14:24:38 +00:00
TreeHugger Robot
4ec18d46f6 Merge "Fix Marquees in QSHeader animating when invisible" into qt-dev 2019-05-28 14:06:32 +00:00