Refactored the state to be more clear and make sure the end runnable is always called.
Fixes: 78861878
Test: have no notification, hide view by scrolling up, get notification, observe
Change-Id: I51b00696f4b2dba565a0213c24a5a67a3c4099e0
Recoloring icons only works for resources in core/res not in SysUI/res.
Bug: 78619585
Test: Manual with dark background.
Change-Id: Ided545abec51bafb0b1963d0a5129066194df61f
Merged-In: Ided545abec51bafb0b1963d0a5129066194df61f
It's not cool anymore
Test: "shush, phone" -> look at status bar -> see wireframe dnd icon
Change-Id: I5ffbb6ae97dfc321c2404caeabd5e201fde7f4c3
Fixes: 79853559
Replace using hardware layer for alpha animation with drawing
transparent color with MULTIPLY mode.
Test: atest google/perf/jank/SystemUI/UbSystemUIJankTests-Trace:android.platform.systemui.tests.jank.SystemUiJankTests#testChangeBrightness
Change-Id: I9615af89c4418dd90ccc86e9e7c71d88e7121826
Fixes: 79266233
Bug: 34840333
Test: manual - 1. turn talkback on
2. have a notification focused
3. invoke local context menu, note that 'snooze' is an option
4. select snooze, note that notification is snoozed
Change-Id: Id3ea62a0a9e5c2b8893aa5b548e64bb2b341d7a2
The keyguard status bar was getting set to the height of the regular
status bar, and aligning itself with the top of the screen, causing
alignment issues
Test: visual
Change-Id: I5d75f89585010dc73bdedb133246412704706c64
Fixes: 77563515
Container can be selected via Talkback with no visible children.
Ensure container will never be selected.
Change-Id: I09d2f0a587fe4ecc71f73bb7f8be098abfbb11d5
Fixes: 79488376
Test: manual: empty and visible a11y, rotate, IME button
(2nd of many)
Pushing this up to close out a few bugs and get these into rotation
- ic_qs_cancel (x icon)
- ic_delete & ic_screenshot_delete (trash cans)
- stat_sys_dnd, ic_qs_dnd, ic_dnd (dnd obviously)
- ic_mode_edit & ic_screenshot_edit (pencil)
- ic_feedback (feedback for app-crashing dialog)
- ic_signal_flashlight (qs flashlight)
- ic_headset & ic_headset_mic
- ic_help_actionbar (question mark in settings)
- ic_info_outline_24dp (SettingsLib info icon)
- ic_volume* (volume rocker icons)
- ringer + vibrate (volume rocker, status bar, qs)
- Global actions menu (restart, power, screenshot)
- settings icons
Test: visual
Bug: 74344964
Bug: 74418623
Fixes: 76150662
Fixes: 76150721
Change-Id: I4cd9959de0156074b0d1e2978163984f7b761671
Outline the battery with 1dp colorError border when in powersave mode to
make it more obvious.
Also un-bold the '+'. Doesn't look so wonderful
Test: turn on power save mode; look at it
Fixes: visual
Bug: 78638798
Change-Id: I9c649814764c41893c972d707449ad30095a131d
With display size set to larest, a wide notch emulated, and battery
percentage showing, it's possible to not be able to fit a single status
icon other than the battery. In this case, the mobile icon needs to
overflow into the etc area.
Some other changes:
- set View.INVISIBLE instead of View.GONE when hiding the mobile view so
that it correctly reports its width on measure
- Don't subtract padding from width when laying out StatusIconContainer
Test: visual
Change-Id: Ic8e73402a3371331dd4c803f3c4559da276ba0a2
Fixes: 78149953
Fixes: 77504032