Commit Graph

1103 Commits

Author SHA1 Message Date
TreeHugger Robot
f2e00697a5 Merge "add car volume dialog" into pi-dev 2018-03-21 20:07:41 +00:00
TreeHugger Robot
6e7e028b62 Merge "Screen off animation" into pi-dev 2018-03-21 02:57:19 +00:00
Selim Cinek
db0e4f1d73 Merge changes from topic "heads_up_redesign" into pi-dev
* changes:
  Added new appear and disappear animations for heads up
  Polished the heads up experience
  Removed the heads up scrim and replaced it with more elevation
  Insetting heads up notifications
  Ensured that the heads-up notifications are always rounded
2018-03-21 00:53:50 +00:00
Lucas Dupin
16cfe45dec Screen off animation
SysUI can now control the screen off animation as long as
config_dozeAfterScreenOff is set to false.

The current implementation collapses the notification shade and moves
the clock whenever the use is on the lock screen, or will fade the
scrims and show the clock when the keyguard is occluded.

Display state change (on, doze, doze_suspended) is delayed to let the
animations occur at 60Hz.

Test: atest packages/SystemUI/tests/src/com/android/systemui/doze/DozeUiTest.java
Test: atest packages/SystemUI/tests/src/com/android/systemui/doze/DozeWallpaperStateTest.java
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: atest tests/src/com/android/systemui/statusbar/phone/DozeScrimControllerTest.java
Test: atest tests/src/com/android/systemui/statusbar/phone/DozeParametersTest.java
Test: atest packages/SystemUI/tests/src/com/android/systemui/keyguard/WakefulnessLifecycleTest.java
Fixes: 73178121
Change-Id: Id5d964452f342d4e97bedf1084efa808604e602c
2018-03-20 15:59:51 -07:00
Selim Cinek
99e9adf519 Removed the heads up scrim and replaced it with more elevation
Fixes: 72748440
Test: runtest systemui
Change-Id: Id1eb413a2a44589727d212c0fefe3a1b742bb25e
2018-03-20 15:36:21 -07:00
Selim Cinek
aa9db1f34f Insetting heads up notifications
Heads up notifications are now corretly respecting insets.
instead of overlapping with any possible notches, we're
insetting heads up notifications and splitting the main
content from the header.

Fixes: 72748440
Test: runtest systemui
Change-Id: Ie53ea31fef4e468239c4346f9d1f192bcb26e11d
2018-03-20 15:36:17 -07:00
Selim Cinek
29aab967ba Ensured that the heads-up notifications are always rounded
Previously they would have a random rounding. We're now introducing
a roundness manager that isolates this from the notification list.

Bug: 72748440
Test: runtest systemui
Change-Id: I5e9e7528a55536c802b5262168664e47fbec310e
2018-03-20 15:33:53 -07:00
Beverly
5a20a5ed2f Ability to hide/unhide suspended app notifications
Test: NotificationListenerVerifierActivity.java
Test: atest NotificationDataTest NotificationListenerServiceTest NotificationManagerServiceTest
Bug: 73965645
Change-Id: I49a02e9fd84dfaa1891437a5d8fc52109a43cded
2018-03-20 17:40:36 -04:00
Lucas Dupin
b5438ce105 Merge changes I09f58bdc,Iaf6cee33 into pi-dev
* changes:
  Hide SHOW_WHEN_LOCKED activity under scrim
  Temporarily show wallpaper when pulsing
2018-03-20 18:16:02 +00:00
Amin Shaikh
c7593b1e1a Do not display <unknown ssid>.
Fixes: 73853121
Test: runtest systemui
Change-Id: Ib16a63cb9edfbd287724500adf515287f12c0d07
2018-03-20 11:43:16 +00:00
TreeHugger Robot
31d58db7c3 Merge "@ignore flaky test" into pi-dev 2018-03-20 07:47:54 +00:00
Lujiang Xue
e53f749995 add car volume dialog
Bug: 73134851

Test: manually tested

Change-Id: Ia95a8aa48789652d6af67a542f62353a7bf13607
(cherry picked from commit 4d2a3ef6e9)
2018-03-19 22:38:17 +00:00
Lucas Dupin
d51073055e Hide SHOW_WHEN_LOCKED activity under scrim
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarTest.java
Test: visual
Bug: 72660912
Change-Id: I09f58bdc3712aec7d601c5318b34fea9088d7ae5
2018-03-19 15:35:42 -07:00
Alison Cichowlas
ffe3a21317 @ignore flaky test
Bug: 75303426
Test: this is it
Change-Id: Iad3a571131d6acce232cc8000a1e01b7d6eeba98
2018-03-19 13:22:58 -04:00
Amin Shaikh
329c828f18 Update mobile data off dialog.
Show the mobile data turn off dialog until the user taps the turn off
button. All subsequent toggles will immediately toggle data on/off. Also
update the message copy.

Fixes: 74072757
Test: runtest systemui && manual
Change-Id: I489d5c3c19d52a6f531b1b925b3210019412243b
2018-03-19 10:53:21 -04:00
TreeHugger Robot
0487601e57 Merge "Disable scrim focus on AOD" into pi-dev 2018-03-19 05:03:50 +00:00
Lucas Dupin
f5d216cc7c Merge changes Ia438f4a2,I356c2d57 into pi-dev
* changes:
  Bouncer notification and QS scrim
  Fix bouncer not showing on top of QS or notif
2018-03-19 03:11:51 +00:00
Andreas Gampe
66745e929c SystemUI: Temporarily disable test
Bug: 75329085
Test: none
Exempt-From-Owner-Approval: Let TH pass while investigating
Change-Id: I4c007e5162502f0064b65a89408882e4c348e0db
2018-03-18 15:50:30 -07:00
Lucas Dupin
05726cd4b6 Bouncer notification and QS scrim
Show front scrim when the notification panel is expanded,
otherwise pin would be overlayed on top of notifications.

Change-Id: Ia438f4a2794eb9510ec05ad86cc8c19e2e716358
Fixes: 74550013
Test: double tap on notification when locked
Test: tap on QS edit button when locked
Test: unlock by swipping up
Test: fling quickly on keyguard
2018-03-18 09:10:09 -07:00
Lucas Dupin
38962d7821 Disable scrim focus on AOD
Test: tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Change-Id: I5ca941454fe7d0d058970323838b1f3e94fa5f33
Fixes: 74726963
2018-03-16 12:30:44 -07:00
Lucas Dupin
0df9b7a893 Fix bouncer not showing on top of QS or notif
Bug: 74726131
Test: packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/KeyguardBouncerTest.java
Test: unlock with fp
Test: unlock with pattern
Test: edit QS - look at bouncer
Test: tap on notification when locked
Change-Id: I356c2d5700531cc9bb9b4179f12d4fd65f8bfc41
2018-03-16 10:52:50 -07:00
Alan Viverette
259dd151f4 Merge "Restore "Update packages for 1.0.0-beta1"" into pi-dev 2018-03-16 13:53:46 +00:00
Alan Viverette
e893588f19 Restore "Update packages for 1.0.0-beta1"
This reverts commit f980f54a75.

Bug: 74950017
Test: manual
Change-Id: I793ec0f6c2ba6a141481f8d03e85b791dd8a73d1
2018-03-15 21:21:54 +00:00
Alan Viverette
5b07f94a95 Merge "Revert "Update packages for 1.0.0-beta1"" into pi-dev 2018-03-15 20:04:22 +00:00
Alan Viverette
f980f54a75 Revert "Update packages for 1.0.0-beta1"
This reverts commit ad4d866837.

Reason for revert: broke Settings

Bug: 74950017
Test: revert only
Change-Id: I7a535717d30ec79cd5a2f0529cb7ce511145e0ae
2018-03-15 18:47:44 +00:00
Alan Viverette
a88c9b558f Merge "Update packages for 1.0.0-beta1" into pi-dev 2018-03-15 13:32:16 +00:00
TreeHugger Robot
02fea57dc0 Merge changes from topic "latency" into pi-dev
* changes:
  use the dedicated latency field in logmaker
  add reserved latency field
2018-03-15 03:37:00 +00:00
Chris Wren
c679465cba use the dedicated latency field in logmaker
Bug: 65724609
Test: runtest systemui
Change-Id: Ic5d3f569c06f641454c356f64f773db59140fedc
2018-03-14 21:27:11 -04:00
Julia Reynolds
9cf1756ffc Add msg to shade when dnd is suppressing notis
Appears when DND is on, shade notifications are suppressed,
and the shade is empty, regardless of whether any notifications
are currently blocked.

Test: atest SystemUITests
Bug: 74075050
Change-Id: Icba7d5eb41b0e6cbef3dec538a833d5995d9b379
2018-03-14 13:41:37 -04:00
TreeHugger Robot
b90670cf17 Merge "Show the H+ icon in HSPA+ network" into pi-dev 2018-03-13 17:12:37 +00:00
Lucas Dupin
67f026331f Do not darken scrims when unlocking with fp
Scrims would darken because notification panel would collapse.
Introduced a method to ignore the panel expansion.

Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: unlock with fp from bouncer and AOD
Test: pull down QS after unlocking, look at scrims
Fixes: 74426737
Change-Id: I94f4a3f3b5ea1eed709c853d945e646cd3f41f78
2018-03-12 16:12:31 -07:00
Alan Viverette
ad4d866837 Update packages for 1.0.0-beta1
Fixes references to changes Slices compat code.

Bug: 74449147
Test: make
Change-Id: I7a7f81d582d12b3813c0581446efec81ed5f6b48
2018-03-12 19:05:44 -04:00
TreeHugger Robot
560b26a9d2 Merge "Bouncer animation" into pi-dev 2018-03-12 02:04:21 +00:00
Lucas Dupin
bc9aac10e2 Bouncer animation
More obvious animation where bouncer position is influenced
by touches.

Test: Pull up bouncer, press back button
Test: Pull up bouncer, unlock with fp
Test: Unlock with fp with bouncer hidden
Test: Unlock with SmartLock
Test: Ask for auth on top of FLAG_SHOW_WHEN_LOCKED activity, press back
Test: packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Fixes: 3699775
Change-Id: I016dfa17f17571261691669c82385d2d844c5917
2018-03-09 17:03:36 -08:00
TreeHugger Robot
01487d9734 Merge "Filter out detached views from touch" into pi-dev 2018-03-10 00:18:34 +00:00
TreeHugger Robot
c7a25dc939 Merge "Fix AutoTileManagerTest" into pi-dev 2018-03-09 20:20:29 +00:00
Amin Shaikh
f5830cade5 Show the H+ icon in HSPA+ network
Adds the H+ icon. If status bar should distinguish HSPA data icon from
UMTS data icon, this icon is shown as default while connected to HSPA+
network.

Fixes: 69505790
Test: runtest systemui and visually check in demo mode
Change-Id: Ia911fcdb98d2c118e2ef71d7a062efbf72a0809c
2018-03-09 14:08:42 -05:00
TreeHugger Robot
874b009137 Merge "Don't allow foreground notis to be blocked inline." into pi-dev 2018-03-09 18:08:19 +00:00
Julia Reynolds
e03414876a Don't allow foreground notis to be blocked inline.
Offer a 'minimize' option instead.

Also I'm changing the guts, do a little layout
cleanup in the confirmation dialog.

Change-Id: I9f2ef824d1f322752bc4161356f16a5dae166caf
Fixes: 73898083
Fixes: 73657862
Fixes: 73657452
Test: runtest systemui-notification
2018-03-09 11:02:15 -05:00
Amin Shaikh
3585574afa Fix AutoTileManagerTest
Bug: 74431173
Test: runtest systemui
Change-Id: I7d375e913dfab42ffc2e2006b86375f62a8f1165
2018-03-09 10:54:50 -05:00
Amin Shaikh
d64e6269da Display mobile data type icons in status bar.
Instead of showing the type in the top left corner of the signal.
- Add new status bar mobile data indicator assets
- Remove unused qs/status bar mobile data indicator assets

Bug: 72540392
Test: visual using demo mode
Change-Id: Ic63ad3307daabf2e0f023308b7e0682dbd29f1ca
2018-03-09 10:44:45 -05:00
Julia Reynolds
0b4626aa23 Merge changes from topic "jr-viseffects" into pi-dev
* changes:
  Make systemui obey new visual effect flags
  Expand the visual effects that DND can suppress.
2018-03-09 13:38:06 +00:00
Rohan Shah
b8303550e9 Filter out detached views from touch
Views that are detached shouldn't get touch events/start getting
animated (They can't be animated).

Added filter to stream to remove these views from consideration for the
nearest touch frame algo.

Test: Visually + unit test
Bug: 65146195
Change-Id: I74df495a7c02d3d46cd6784f0950c48b5311819e
(cherry picked from commit 2adfe95d84)
2018-03-08 17:59:16 +00:00
Julia Reynolds
24653c3bba Make systemui obey new visual effect flags
Test: runtest systemui
Bug: 74075050
Change-Id: I46a3e762ecdab132edcb81880ef3e4f7f2e55aac
2018-03-08 11:55:33 -05:00
Amin Shaikh
af4c19394e Remove upper left X icon on mobile signal.
Use the signal drawable cutout to represent both data disabled and no
internet state. ag/3690757 displays the description of these icons ("No
internet" or "Mobile data off") in the secondary text of the mobile data
tile.

Bug: 72540392
Test: visual && runtest systemui
Change-Id: I806c41bc96420c42461c0a75b93a485f9a2186f7
2018-03-08 10:59:46 -05:00
TreeHugger Robot
7b894b3fcd Merge "Show app ops guts when tap app ops icons" into pi-dev 2018-03-08 04:00:37 +00:00
Julia Reynolds
b586745d86 Show app ops guts when tap app ops icons
Test: runtest systemui
Bug: 64085448
Change-Id: Ia51044f77311ab705ffb9dd1ae204d0131316396
2018-03-08 01:45:09 +00:00
Lucas Dupin
20ebb0a6d8 Merge "Disable color extraction for media" into pi-dev 2018-03-07 17:36:26 +00:00
Anton Hansson
d137c872cd frameworks/base: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant packages
Bug: 73535841
Exempt-From-Owner-Approval: Global cleanup
Change-Id: I26458e41ecb84de91ac9a356a5d4bafb44f463c1
2018-03-07 11:42:04 +00:00
Lucas Dupin
3ec5928cc2 Disable color extraction for media
Overlaying an album with wallpaper colors isn't optimal.
Using the album extracted color also isn't optimal, the color probably
won't meet accessibility guidelines and will have to be stretched
according to the current lock screen theme - which can be even worse.

Test: atest packages/SystemUI/tests/src/com/android/systemui/colorextraction/SysuiColorExtractorTests.java
Change-Id: I53d08713716bd76ee0975c2b4bba5b933201f999
2018-03-06 20:27:50 -08:00