History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
39bdc5079fb9d8b8fc3c62d96fc6b7bce39bed0f 16-May-2018 Amin Shaikh <ashaikh@google.com> Make clock and battery clickable in QS status bar.

Change-Id: Id96253cb034305337cb2e34b45ca032e5cf8c7ac
Fixes: 79472358
Test: manual
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
50d2d1e77c72192abcf4d710a342675207f65452 25-Apr-2018 Amin Shaikh <ashaikh@google.com> QQS visual fixes.

- Allow QQS header status icon / date view header to expand with larger
font sizes.
- Ensure alarm icon in QQS header does not show without the
corresponding alarm text.
- Fix QQS status bar, icons and QS tile margins.

Change-Id: Icf11fc5c581cb6d3254f6223ba4bcac2879c7f16
Fixes: 78571967
Fixes: 78536526
Fixes: 77123524
Test: visual
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
bb662cca943ab8d67053a4c5f10a9d6f3e428289 07-Apr-2018 Rohan Shah <shahrk@google.com> [QS] Move date view to QS panel

The date view is currently in the quick status bar - we are moving it
into the QSPanel on the left of the icons.

So that it works with dark wallpapers, changed text color to
colorPrimary attribute.

Bug: 74394377
Test: visually verified
Change-Id: I8aec54b600a85442d61696ee2375cbfe8362943c
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
a59215aa4dcaa115b77a16c1f80a8099f58108a7 23-Apr-2018 Amin Shaikh <ashaikh@google.com> Make settings icon invisible when QS is collapsed.

Also fix calling super#onAttachedToWindow in QuickStatusBarHeader.

Change-Id: I2eb8c31b2d3a9ca20ac76608650a0e42ec25e504
Fixes: 78203022
Test: visual
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
7d86b04f30690605d18d44bfb0f1f2d9a9f0ee64 16-Apr-2018 Amin Shaikh <ashaikh@google.com> Only apply window insets to QS status bar.

Do not adjust QQS and system icons layout based on cutouts.

Change-Id: I3ec5915ecdfd654e960b74b42cc15dc0672d13e0
Fixes: 77457012
Test: visual
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
a4e8196cf8ed75c1d42e3e14c41ff15bc74fddc8 13-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Don't show ringer status if dnd overrides it" into pi-dev
b9826dd191f118d19afbb531adeb038e40fa55ae 12-Apr-2018 Beverly <beverlyt@google.com> Don't show ringer status if dnd overrides it

If DND is overriding the ringer then:
- Don't show silent/vibrate ringer in status bar
- Don't show silent/vibrate ringer status in QS

Change-Id: I0c921905c6b06e1379b497dd1ac9e3fce483d5fd
Fixes:77651394
Test: manual
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
909086509ce70763e6eff160bf323cf6ff0c6efa 12-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Limit status icons and show etc dots" into pi-dev
20b87bf0ae8c880a76d0de859b3665b7d4f2e144 12-Apr-2018 Evan Laird <evanlaird@google.com> Limit status icons and show etc dots

When <= 5 status icons exist, try to show them all (space permitting).
If > 5 exist, show 4 and etc dots.

Test: visual
Change-Id: I4c09344bee75b3cab6256dd69f11337b9b667b0f
Fixes: 73778753
Fixes: 77660387
Bug: 77822905
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
9cac338ac2be569349247247dbc6eca4ecc9fb21 11-Apr-2018 Amin Shaikh <ashaikh@google.com> Fix status icon tint in QQS.

- Update the right margin for these icons
- Update the padding for the status bar and QQS status bar to match.

Change-Id: I6358cfe35430d981d813f2cb21a942fa82211d40
Fixes: 77532713
Test: visual
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
f09450b79c6b45187ed2ac400c74ff706481540c 06-Apr-2018 Amin Shaikh <ashaikh@google.com> Hide QS panel upon DISABLE2_QUICK_SETTINGS.

Hide the entire QS panel (footer, QQS, QQS status icons) when
StatusBarManager.DISABLE2_QUICK_SETTINGS is flagged on.

Change-Id: Ie51707239bf7db566458864d61fd6d419c5d6901
Fixes: 72739219
Test: visual
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
044a5e17da22d8241fdfa48af9bd84889bd3de40 05-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "[QS] Update landscape UI" into pi-dev
cc3d1d8b96e7b59ea078c7ea8538d9e1ee5ef154 30-Mar-2018 Rohan Shah <shahrk@google.com> [QS] Update landscape UI

Rolling forward the landscape UI changes (To not break taimen with a
notch this time!). OG CL: ag/3717677

Shorten status bar height in landscape and update colors to use
wallpaperTextColor when in landscape mode.

Additionally modified scrim opacity for the QS panel to provide more
contrast/focus on content.

Test: Visually
Bug: 73808887
Change-Id: I249579d2898b9915868bb584661864d10ed88de2
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
bb5b42eee79de9720790f8cf47c5c6ff11490de5 03-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix strings for QS header status." into pi-dev
e4d25a955f48cf41f460255e79e4801cd70f6064 30-Mar-2018 Amin Shaikh <ashaikh@google.com> Fix strings for QS header status.

Rearrange alarm/mute text to maintain the same ordering as the status
bar. Update mute/vibrate strings to make it clear that the status
corresponds to the phone volume.

Change-Id: I66f35f681e15a91e6238aeaaa086856872d3876a
Fixes: 76208830
Test: visual
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
e1d13c9884e6f4579b1265400b61a36207748dc3 20-Mar-2018 Evan Laird <evanlaird@google.com> Remove SignalClusterView in favor of IconManager

Refactors SignalClusterView into StatusBarSignalPolicy so that it can be
used in a StatusBarIconContainer and solve all of our status bar
problems.

- Remove all uses of SignalClusterView and references to
R.id.signal_cluster. The class still exists it's just unused now

- Add StatusBarIconHolder, which can point to StatusBarIcon,
WifiIconState, or PhoneIconState

- StatusBarIconList.Slot. Allows for easier indexing of icons now that
there can be multiple icons per slot

- Add StatusBarWifiView to be inflated inside of the
StatusBarIconController when needed

- StatusBarMobile view. similar to above

- Upgrade StatusBarIconControllerImpl and StatusBarIconList to
understand the holders and added 2 new methods to specifically handle
wifi / phone state changes

- Create IStatusBarIconView (todo: rename). Abstracts the properties we
want away from StatusBarIconView so that we can use an arbitrary view
type

- NeutralGoodDrawable. Draws a light and a dark icon when needed.

- Fixes a few demo mode bugs: multi sim was broken and also turning off
demo mode was a little broken

TODO: More tests are needed for StatusBarSignalPolicy and maybe the
IconManagers

Test: runtest systemui; visual
Bug: 63772836
Bug: 73778753
Bug: 74985733
Fixes: 74427768
Fixes: 74338687
Fixes: 74388467

Change-Id: I5621b3013cdc9638b61552bd4d7211f211eddf1b
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
8a0d3fcf17d655d9a131b898114357ddd2b3c373 29-Mar-2018 Rohan Shah <shahrk@google.com> Revert "[QS] Update landscape UI"

This reverts commit bc204efbe5602e130fbe666d6ea2b5185d42b0c4.

Reason for revert: Causes crash on rotation due to something with config.xml overriding. Reverting as it's blocking daily build
Bug: 77217078
Test: Ran build, checked rotation
Change-Id: I79e94fb1703f888ac167cdae20142e130a2e80b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
761c566b3e31c1cef5571f7346f5dd4a71c8f6fe 27-Mar-2018 Amin Shaikh <ashaikh@google.com> Add vibrate/mute details to QS header.

Change-Id: If9ee4129b8c64299d5bfe76e3db17415bc95d14a
Fixes: 76208830
Test: visual
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
bc204efbe5602e130fbe666d6ea2b5185d42b0c4 10-Mar-2018 Rohan Shah <shahrk@google.com> [QS] Update landscape UI

Shorten status bar height in landscape and update colors to use
wallpaperTextColor when in landscape mode.

Additionally modified scrim opacity for the QS panel to provide more
contrast/focus on content.

Test: Visually
Bug: 73808887
Change-Id: I74713587ca426020cb15960800a4d2b6ac5f6466
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
13836059802a945ad073b8046a928777e474496c 15-Mar-2018 Adrian Roos <roosa@google.com> DisplayCutout: Fix corner cutout issues in SystemUI

Bug: 74195186
Test: Turn on Corner Display Cutout, verify SystemUI nowhere gets obscured by the cutout.
Change-Id: I27eeca067fdf65f5fa1570057b7f23157708d65c
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
df59556a9e1a1969d4c6415ea0b83338458a4813 12-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "[QS] Fix alarm text in QS header" into pi-dev
a160ab18f8b573a01de37465dda0cee042984012 10-Mar-2018 Rohan Shah <shahrk@google.com> [QS] Fix alarm text in QS header

Alarm text would go away until a restart. Turned out that we were
incorrectly making the view invisible immediately after animating it in
because the listener persisted on the ViewPropertyAnimator (single
instance per View).

Test: Visually using repro steps
Bug: 74359491
Change-Id: I2e0b8a9f4b767450df72f7ea7953f4ed75ae8f4c
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
0e00331e8fd19c642968d1f482246508f824e112 08-Mar-2018 Amin Shaikh <ashaikh@google.com> Move mobile signal indicator to QS footer.

- Change mobile data tile to a static icon with mobile data indicators
- Add the status bar mobile network signal icon to QS footer
- Show SIM status in the carrier text in the QS footer only if the
status is not simply "No SIM card" since that status is shown in the
secondary text of the mobile data tile

Bug: 72540392
Test: visual && runtest systemui
Change-Id: I6fee19887decf68db5084edc8c0e2d23bb1938d1
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
b6a915c84013d746eda44a0d79b240df9f23c195 01-Mar-2018 Rohan Shah <shahrk@google.com> [QS] Tweak tooltip color & shown count

Limiting count to 2 (down from 3). Also updated the text color so it no
longer looks clickable.

Test: visually
Bug: 74075675
Change-Id: I86fbb5ae7481f6d19b7e6722832ac600595ad7ea
(cherry picked from commit a853aa7fe55d5c2674606891205ce98e0e4f0e75)
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
1f7374a276c722673951abb3fba897900b61d08d 27-Feb-2018 Lucas Dupin <dupin@google.com> Show next alarm on ambient display

Next alarm will be visible 12h before triggering.

Test: Set alarm that will ring in 8h
Test: Set alarm that will ring in 14h
Test: Set alarm that will ring in 11:59, wait one minute
Test: atest packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardSliceProviderTest.java
Change-Id: Icd4253771efcdf5afb4e9e52329fa410d7fd1cc1
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
d3cf756aa41c9385528651ffe6da7faad6b28fbc 23-Feb-2018 Rohan Shah <shahrk@google.com> Add alarm info to QS Panel

Added alarm info in the same space as the tooltip. Moved the header info
out to the QuickStatusBarHeader to consolidate all header views.

Since, theoretically, there can be some weird races between the
animations of the long press tooltip and the alarm info, added
protective animation state code in the header (such as fading out the
long press tooltip before animating in the alarm text).

Fully removed the alarm tile.

Test: Visually/manually
Bug: 73764084
Change-Id: Ic1ec450e560a56567f9efeb04d3efbd916f05bc3
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
ef160f239ad8141bbb12cd00286772180b01d171 29-Jan-2018 Evan Laird <evanlaird@google.com> Fix battery background color in QS

Battery was only getting a foreground color, not background. Fix by
using the SystemUI context so it finds the correct light colors for both
foregorund and background.

Test: visual with light wallpaper
Change-Id: I6e18ce9331a5e78241d8c24ba96a8b843c646813
Fixes: 72431673
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
19bf52c6db36ddff2bee51888f1c63e15065108b 25-Jan-2018 Evan Laird <evanlaird@google.com> Move QS height values to frameworks/base/core/res/

Puts the height values near status_bar_height so that they can be
targeted with a single overlay package.

Test: compiles; visual
Bug: 72388027
Change-Id: I2329432add6d62c56f90e824b4c7686a84ac1ec7
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
9589695fa5db01aea6fee4df50f748801ff67f55 23-Jan-2018 Evan Laird <evanlaird@google.com> Add status bar icons to QQS

Also add a alpha animation to QuickStatusBarHeader so status icon can do
the opposite fade that the footer does.

Test: visual
Bug: 70799006
Change-Id: I863517a43084285f022edf9133cf6ea326816977
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
4ea2a49faecddc236613243a941765744905a0d4 22-Jan-2018 Evan Laird <evanlaird@google.com> Bring back the date!

QS shows the date once more. This time it'll be on the top, just next to
the time. Tapping on the date will bring the user to alarms for now
because there is no public AlarmClock action that will bring the user to
the main clock tab in DeskClock

Test: visual
Change-Id: I4d0eb049e98d4bea0f59ef0a7b7da17907c52b67
Fixes: 71357632
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
39254d469df398d6a5eb3d31c7e574fd63182b6e 18-Jan-2018 Evan Laird <evanlaird@google.com> QS visual updates for P

- Black status bar area up top
- Gradient view behind QQS area
- Added stub view for system icon area
- Most things are parameterized for qs_header_system_icons_area_height,
so this can be moved and overlaid for devices with a notch

Test: visual
Bug: 70799006
Bug: 63772836
Change-Id: Iee3a975f50d572084de370d1b183a37f5e8e9e1a
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
ce2a7c0d50a8a9c59b5236115e84c526357846e3 11-Oct-2017 Charles He <qiurui@google.com> SysUI: disable quick QS when QS is disabled.

When StatusBarManager.DISABLE2_QUICK_SETTINGS is set, make sure the
quick Quick Settings panel is also disabled, in addition to the full
Quick Settings panel. Also disable the Settings button and the
ExpandableIndicator in this case.

This is to make sure the UI conforms to LockTask requirements.

Bug: 65813398
Test: CTS verifier > Managed provisioning > Device owner tests
> LockTask UI > Enable notifications
Test: runtest systemui

Change-Id: Icca0dce93e17ce9b10c7408aebbd7cbad47b9d58
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
54daefe3aa8dcdee149ce95fd4f8ecf60632c9f1 08-Apr-2017 Anthony Chen <ajchen@google.com> Use custom QS fragment for auto use-case.

Use a custom QS fragment if the UI mode is car. This fragment disables
the quick settings row and expansion. Remove the config options that
used to have disabled this in the phone QSFragment.

To accomplish this, introduce a new QSFooter interface. The old
QSFooter.java now implements this.

Test: boot on phone and Android Auto headunit
Bug: 33210494
Change-Id: I5accc2d27d6725380ca5e271d332a03991c9419b
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
01df36f37fc470d3fd8c120b09cc4e7943cfacfb 07-Jun-2017 Jason Monk <jmonk@google.com> Move QS cell indicator back into mobile data tile

Remove it from the header and drop it back in its old location.

This reverts commit 10b4c8a4ab3fc1fd55e5a636066e210ad17cf92b.

Test: runtest systemui
Fixes: 62331189
Change-Id: I087589c256894e0972656619e665b6a16536ce6c
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
10b4c8a4ab3fc1fd55e5a636066e210ad17cf92b 26-May-2017 Jason Monk <jmonk@google.com> Make QS signal indicator act like a QS signal indicator

It had the behavior of the status bar before, so switch it over to
QS behavior but keep status bar icons for the appearance. Ditch
the old QS data icons because we no longer need them.

Test: runtest systemui
Change-Id: I1356bbc19c4874ae467e192b9129136ebd0a37c8
Fixes: 62128809
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
dc59dd7c0fb0df88cae448107f20d22bfd6a18dc 10-May-2017 Jason Monk <jmonk@google.com> Don't show wifi in status bar in QS DO NOT MERGE

This is a partial revert of the revert of
d1ba5fbb54a02fad0c68f71183078527bfa9bd49

Test: manual
Change-Id: If5675620026c9e90855525a20a8fd92987acbf80
Fixes: 16544554
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
7e6c83c752e0825320e44bd87661b6422d3a3db6 26-Apr-2017 Jason Monk <jmonk@google.com> Revert "Status bar updates" DO NOT MERGE

Test: runtest systemui
Fixes: 37626598
This reverts commit d1ba5fbb54a02fad0c68f71183078527bfa9bd49.

Change-Id: I12c70b67fafd46ec98b1c1ee28b911e19afbf6e5
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
d1ba5fbb54a02fad0c68f71183078527bfa9bd49 13-Apr-2017 Jason Monk <jmonk@google.com> Status bar updates

- Wifi moves to right of cell
- Cell data and roaming indicator swap places
- Data disabled and no internet on cell look the same
- Don't show wifi in QS signal cluster, it has its status
right below.

Test: visual && runtest systemui
Fixes: 36717491
Change-Id: I16ebe6fb6dd519526a1e174753c8ce08c713d405
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
824ffffcc41ae9dcdcc8cb344a95a0fd8487e3e0 11-Apr-2017 Jason Monk <jmonk@google.com> Make QS light

Test: visual
Change-Id: I873bc44647d509bad0ac035058ea13ac57717416
Fixes: 37213814
Fixes: 37008758
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
1fdde2da76538d2fc90cd6ecb7bff237d52523ce 08-Mar-2017 Jason Monk <jmonk@google.com> Fix random clicks in QS

The entire header was getting set as clickable because of old code
which would eat the clicks of the brightness slider (and other things)
when expanded.

Fixes: 35628944
Test: Trigger expandable update (like clear user_setup and set it)
then click on brightness in QS

Change-Id: I2d23aabf6b8a5b05f3b2b93ee723ec145514ce5e
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java
e5b770e47d44a40d412c7d42010b2cf67920d9e3 04-Mar-2017 Jason Monk <jmonk@google.com> Updated QS UI

- Adds footer to QS which contains the date/alarm info
and all touch targets (settings, edit, etc.)
- Swaps out emergency + carrier text on cell tile for a
standard CarrierText from lock screen in the header
to make the header only contain status info.
- Add dividing line
- Work on animations

Test: runtest systemui
Change-Id: I97dfea1b1ea7006b53eb61ac3a1f942c64dd282d
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java