Commit Graph

7795 Commits

Author SHA1 Message Date
Selim Cinek
e02ed610a8 Merge "Fix that the empty shade view would be visible sometimes" into pi-dev
am: 866b4de28f

Change-Id: Id9dcf659dce0f7bb9385cde17f9c929beb89d96d
2018-05-17 14:14:32 -07:00
Selim Cinek
866b4de28f Merge "Fix that the empty shade view would be visible sometimes" into pi-dev 2018-05-17 21:02:01 +00:00
Selim Cinek
d60ef9ec87 Fix that the empty shade view would be visible sometimes
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
2018-05-17 12:52:09 -07:00
Alison Cichowlas
a9d9e2b206 Merge "Fix lockdown icon dark mode coloring." into pi-dev
am: 44aeaafc34

Change-Id: Ic0e1c72cf821396cdb8ad59f04169b25cc681c66
2018-05-17 12:10:56 -07:00
Alison Cichowlas
d372cdeebe Fix lockdown icon dark mode coloring.
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
2018-05-17 14:02:36 +00:00
Tracy Zhou
afbdcdee24 Merge "Add contentDescription to close button of recents onboarding tip view." into pi-dev
am: c6b368795f

Change-Id: I5fad432f25af34d8b435a4e42488e69cf01aa25b
2018-05-16 22:16:52 -07:00
Tracy Zhou
7b7f6fcb5b Add contentDescription to close button of recents onboarding tip view.
Change-Id: I4fe8a7fce78ca7d572a5fc4259c0329963a0e461
Fixes: 79689820
Test: N/A
2018-05-16 20:50:23 -07:00
Selim Cinek
991c9f1af0 Merge "Fixed an issue where icons could remain white" into pi-dev
am: 5f259a7d90

Change-Id: Ibeb41d63c789d99329b5cee98c21eb2e7ada2fb9
2018-05-16 18:36:48 -07:00
Selim Cinek
5f259a7d90 Merge "Fixed an issue where icons could remain white" into pi-dev 2018-05-17 01:22:41 +00:00
Evan Laird
89be831c46 Merge "Remove total_silence dnd icon" into pi-dev
am: 98c2f7f9de

Change-Id: I78334e99e36ad4ed44899a20c1c9ee72ba6be8b9
2018-05-16 13:21:38 -07:00
Evan Laird
a9adbd5807 Remove total_silence dnd icon
It's not cool anymore

Test: "shush, phone" -> look at status bar -> see wireframe dnd icon
Change-Id: I5ffbb6ae97dfc321c2404caeabd5e201fde7f4c3
Fixes: 79853559
2018-05-16 11:32:08 -04:00
Amin Shaikh
c5c38ee2f4 Merge "Make clock and battery clickable in QS status bar." into pi-dev
am: e79d905577

Change-Id: I508455d4c3e2362a130edec6ea8354648460afdc
2018-05-16 06:54:26 -07:00
TreeHugger Robot
e79d905577 Merge "Make clock and battery clickable in QS status bar." into pi-dev 2018-05-16 13:44:13 +00:00
shawnlin
694d77c8af Fixed regression on jank test of changeBrightness
am: 4ef7ca5a9a

Change-Id: I7409aac0c7d43e459fc81fc94adabd1ce4b1c392
2018-05-16 01:55:24 -07:00
shawnlin
4ef7ca5a9a Fixed regression on jank test of changeBrightness
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
2018-05-16 15:06:31 +08:00
Amin Shaikh
39bdc5079f Make clock and battery clickable in QS status bar.
Change-Id: Id96253cb034305337cb2e34b45ca032e5cf8c7ac
Fixes: 79472358
Test: manual
2018-05-15 23:43:34 -04:00
Evan Laird
d249371450 Merge "Center QS icons (wifi, invert colors, night light)" into pi-dev
am: 80b03d227e

Change-Id: I73dd1736180782a3b3273a112c48688e3d6a578e
2018-05-15 16:13:02 -07:00
TreeHugger Robot
80b03d227e Merge "Center QS icons (wifi, invert colors, night light)" into pi-dev 2018-05-15 22:44:36 +00:00
Selim Cinek
653c139e39 Fixed an issue where icons could remain white
Test: code inspection
Change-Id: Ib2d2e5f5a638bd86fcd17e8c3dfe28501de75bad
Fixes: 77024183
2018-05-15 15:23:02 -07:00
Evan Laird
522f656ef9 Center QS icons (wifi, invert colors, night light)
Test: look at qs; avoid angst
Change-Id: Id0e57c188a877de68bcd2d50d4f41d05e7dc8c82
Fixes: 67310956
Bug: 74344964
2018-05-14 20:26:31 -04:00
Mady Mellor
3cd36ee42b Merge "Add 'Snooze' to local context menu for notifications" into pi-dev
am: 18a67855a2

Change-Id: I033d690201bac441fbe3cc076b21890f9b552e6d
2018-05-14 14:43:35 -07:00
Mady Mellor
18a67855a2 Merge "Add 'Snooze' to local context menu for notifications" into pi-dev 2018-05-14 21:10:49 +00:00
Mady Mellor
b3a6aed980 Add 'Snooze' to local context menu for notifications
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
2018-05-14 12:52:22 -07:00
Amin Shaikh
e0fa7a49f1 Merge "Fix QS secondary text color." into pi-dev
am: 01114c1df5

Change-Id: Id713efa13e54ca84d5c662b07de75ff615478ae3
2018-05-14 07:08:12 -07:00
Evan Laird
3f8e49bf70 Merge "Fix height of keyguard status bar" into pi-dev
am: 49748cd136

Change-Id: Ib485e5af6eae7dfd3850eef57ed0d4ae38496996
2018-05-14 06:56:10 -07:00
TreeHugger Robot
01114c1df5 Merge "Fix QS secondary text color." into pi-dev 2018-05-14 13:54:24 +00:00
TreeHugger Robot
49748cd136 Merge "Fix height of keyguard status bar" into pi-dev 2018-05-14 13:48:34 +00:00
Amin Shaikh
1b480053cc Fix QS secondary text color.
Should be 54% black.

Change-Id: Ie9dafe2f185b201b4d4d8670518c6197ea1febb3
Fixes: 79582302
Test: visual
2018-05-11 19:15:40 -04:00
Mike Digman
42a54a4091 Merge "Make right nav button container unselectable" into pi-dev
am: 26111fc899

Change-Id: Iade2fd1a53f6360b6ae4a645d3dd4970169610fc
2018-05-11 16:04:14 -07:00
Mike Digman
26111fc899 Merge "Make right nav button container unselectable" into pi-dev 2018-05-11 22:24:21 +00:00
Evan Laird
5331f1982e Merge "GM2 icon updates" into pi-dev
am: 733a4b9948

Change-Id: I4d18584f82a418d9b8f7288f509d53ac341d777d
2018-05-11 14:50:07 -07:00
Evan Laird
5abb8d118d Fix height of keyguard status bar
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
2018-05-11 17:16:17 -04:00
Mike Digman
9b772c6c03 Make right nav button container unselectable
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
2018-05-11 19:54:00 +00:00
Evan Laird
3f200006e7 GM2 icon updates
(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
2018-05-11 14:23:25 -04:00
Evan Laird
9252fbc726 Merge "Battery saver color changes" into pi-dev
am: 4ee9b14c14

Change-Id: I10401ad57f32066b961ba8a7fe9d33cab9bff93b
2018-05-11 07:02:22 -07:00
TreeHugger Robot
4ee9b14c14 Merge "Battery saver color changes" into pi-dev 2018-05-11 13:48:43 +00:00
Evan Laird
2a052efb70 Merge "Allow mobile status bar icon to overflow" into pi-dev
am: bb6ec00263

Change-Id: Id61c8dd5a5e6e2c994c477ba5586fecc8806aec5
2018-05-10 16:52:15 -07:00
Evan Laird
d783c8af01 Battery saver color changes
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
2018-05-10 19:46:52 -04:00
TreeHugger Robot
bb6ec00263 Merge "Allow mobile status bar icon to overflow" into pi-dev 2018-05-10 23:44:33 +00:00
Selim Cinek
2d6d5e54fd Merge "Fix User unable to view the keyboard input" into pi-dev
am: dca90312ac

Change-Id: I50997ffc0e0b19160b2d13c2fb8617d815bd0e02
2018-05-10 15:30:37 -07:00
Selim Cinek
dca90312ac Merge "Fix User unable to view the keyboard input" into pi-dev 2018-05-10 22:09:38 +00:00
Evan Laird
97ae20c5d8 Allow mobile status bar icon to overflow
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
2018-05-10 13:13:27 -04:00
Kenny Guy
dd2ea24a43 Merge "Fix colorized messaging layout and smart replies." into pi-dev
am: a1aafd7718

Change-Id: I61d1fb493bba02f06a66d63b7bf7f3ed16148305
2018-05-10 04:48:29 -07:00
Kenny Guy
14d035c969 Fix colorized messaging layout and smart replies.
Modify messaging style and smart replies view to
cope with colorized backgrounds.

Bug: 78928664
Bug: 77927019
Test: atest SystemUITests (with patch from ag/3992401)
Test: visual - see bug for screenshots

Change-Id: Iee66931574fb48d0340986bf520532f798ef59fc
2018-05-10 10:25:14 +01:00
Lucas Dupin
9c8900ce8d Merge "AOD group notification style" into pi-dev
am: b0e503f96d

Change-Id: I03132d8cb4b16e4eec17dc70e2a5a1fcce170729
2018-05-10 00:06:02 -07:00
Lucas Dupin
b0e503f96d Merge "AOD group notification style" into pi-dev 2018-05-10 06:49:42 +00:00
Lucas Dupin
4c797d6a61 AOD group notification style
Change-Id: Ibcabb20f6d4eb48bf36204f8068f48176844f88d
Fixes: 76110106
Test: visual
2018-05-09 11:12:01 -07:00
android-build-team Robot
120e47282f Merge "Import translations. DO NOT MERGE" into pi-dev 2018-05-08 18:18:25 +00:00
android-build-team Robot
f0013528bc Merge changes I1539580e,I8452e799 into pi-dev
am: 8ea760c815

Change-Id: I4273e08bb50ba9b509171ea65d32bb6757a4a2b7
2018-05-08 09:56:11 -07:00
Beverly
6cb4cafd96 Volume dialog mulit-streams have 8dp padding
Change-Id: I1539580e2d848521638b50c10bd51c18ff415268
Fixes: 79353898
Test: visual inspection with multi-stream and dnd
2018-05-08 11:16:02 -04:00