Commit Graph

25521 Commits

Author SHA1 Message Date
Adrian Roos
7844159deb Merge changes Iff142ccd,I724080ed into pi-dev
* changes:
  Multi cutout: Fix IME navigation guard
  Multi Cutout: Fix more cutout issues
2018-03-13 13:21:17 +00:00
TreeHugger Robot
89c4bd5f26 Merge "Volume UI updates" into pi-dev 2018-03-13 12:17:30 +00:00
Jovana Knezevic
660a7639ca Merge "Removing the countdown timer and countdown progress bar from the Car User Picker." into pi-dev 2018-03-13 05:26:21 +00:00
Kevin Chyn
3690effd2d Merge "Update FingerprintDialog UI for landscape orientation" into pi-dev 2018-03-13 04:06:27 +00:00
TreeHugger Robot
70d4ddece8 Merge "Passing the TaskDescription to the IconLoader" into pi-dev 2018-03-13 03:14:59 +00:00
TreeHugger Robot
05b3d95b65 Merge "Do not darken scrims when unlocking with fp" into pi-dev 2018-03-13 02:40:26 +00:00
Kevin Chyn
27ce19480e Update FingerprintDialog UI for landscape orientation
Fixes: 73818869

Test: tested with modified FingerprintDialog apk
Change-Id: I59664669920c1dfaf3446b68c42de6d9dda83acc
2018-03-12 16:42:34 -07: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
TreeHugger Robot
5d92e72482 Merge "DisplayCutout: Support more than one cutout" into pi-dev 2018-03-12 22:45:34 +00:00
jovanak
39a5e09440 Removing the countdown timer and countdown progress bar from the Car User Picker.
For now, this means we stay on this page until the user makes a selection.

Change-Id: I84c098f9aacd587e2a75e1be8851a830e685dba6
Fixes: 74445361
Bug: 73499223
Test: Tested on mojave. No automated tests for the switcher yet.
2018-03-12 15:33:50 -07:00
Julia Reynolds
a43867501e Volume UI updates
- redline compliance
- a11y labeling
- hide setting icon if device isn't provisioned

Change-Id: I62e0da51879dc5f6e05ed814f2d9b6ee41e125a1
Fixes: 74152268
Fixes: 73963013
Fixes: 73902271
Test: manual inspection
2018-03-12 17:54:30 -04:00
Beverly Tai
75431913ef Merge "Using zen duration preference" into pi-dev 2018-03-12 21:39:18 +00:00
Winson Chung
4aee38fd01 Merge "Expose whether a snapshot is a real snapshot" into pi-dev 2018-03-12 20:34:07 +00:00
Sunny Goyal
308ed7266c Passing the TaskDescription to the IconLoader
Bug: 74445840
Test: Verified corresponding launcher change
Change-Id: I82a7d595aa0c128b50a699d7ac2ba688dc3cec9f
2018-03-12 11:36:35 -07:00
Kevin Chyn
7b97503caa Merge "Polish FingerprintDialog" into pi-dev 2018-03-12 18:35:05 +00:00
TreeHugger Robot
82bc5baeb5 Merge "Adding generation of ACTION_TOGGLE_RECENTS to shared lib" into pi-dev 2018-03-12 18:13:16 +00:00
Adrian Roos
7e58a08ccd Multi Cutout: Fix more cutout issues
Ensures that the navigation bar extends all the way to the bottom of the display.

Also ensures the nav bar window is properly padded.

Also ensures that windows that do not hide the navigation bar can extend behind the cutout if
the cutout is within the navigation bar region.

Also ensures that wallpapers (just like dreams) are not letterboxed

Bug: 74195186
Test: Turn on multi-cutout; verify the wallpaper and navigation bars extend all the way to the bottom
Test: Open an immersive app, verify it gets letterboxed
Change-Id: I724080edc26d7ee09dba690f6670d4f66d1c93f6
2018-03-12 17:29:28 +00:00
Adrian Roos
6a4fa0ec18 DisplayCutout: Support more than one cutout
Also makes API more restrictive. Also moves window manager specific
logic out of the framework. Also fixes SystemUI such that it can properly
deal with more than one cutout.

Bug: 74195186
Test: atest DisplayCutoutTest WmDisplayCutoutTest DisplayContentTests WindowFrameTests
Change-Id: Ib7b89e119ce2d3961687579bb81eadce1159a600
2018-03-12 17:26:01 +00:00
Rohan Shah
71120e1b20 Merge "Nit cleanup: Update TileLayout.onLayout" into pi-dev 2018-03-12 16:53:56 +00:00
TreeHugger Robot
df59556a9e Merge "[QS] Fix alarm text in QS header" into pi-dev 2018-03-12 16:53:13 +00:00
TreeHugger Robot
0cee663bf6 Merge "[QS] Update hotspot tile secondary text (data saver)" into pi-dev 2018-03-12 16:46:18 +00:00
TreeHugger Robot
560b26a9d2 Merge "Bouncer animation" into pi-dev 2018-03-12 02:04:21 +00:00
Lucas Dupin
7557234316 Merge "Correct button measuring" into pi-dev 2018-03-10 19:00:03 +00:00
Vadim Tryshev
2f4d2af93a Adding generation of ACTION_TOGGLE_RECENTS to shared lib
Bug: 72967764
Test: atest google/perf/app-transition/sysui-latency-test, watch for 1_*
entries in output

Change-Id: I0bfaa46df4f3167687099742cb3063e88dab30ae
2018-03-09 19:15:56 -08:00
TreeHugger Robot
fe700fc694 Merge "Adding isNotInRecents to RemoteAnimationTarget" into pi-dev 2018-03-10 01:11:27 +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
Winson Chung
3955e1979f Merge "Stop preloading recent tasks in SysUI when bound to overview service" into pi-dev 2018-03-10 00:22:31 +00:00
TreeHugger Robot
01487d9734 Merge "Filter out detached views from touch" into pi-dev 2018-03-10 00:18:34 +00:00
Rohan Shah
a160ab18f8 [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
2018-03-09 15:47:36 -08:00
Rohan Shah
853cd8f6d2 Nit cleanup: Update TileLayout.onLayout
Made it a little easier to read onLayout/onMeasure. Separating this from
landscape CL just to keep a minor cleanup separate.

Bug: 73808887
Test: Visually
Change-Id: I817d6c92cda37ee0d99cd20ace06959a3bdc608d
2018-03-09 15:25:02 -08:00
TreeHugger Robot
12da48e095 Merge "Fixes KeyButtonView to dismiss ripple after aborting for long press" into pi-dev 2018-03-09 23:20:26 +00:00
Lucas Dupin
4603fe2c2f Correct button measuring
Test: set wallpaper to white, black, look at AOD
Change-Id: If0e0da4315240fcc26be6cad3de717f37d5d1864
Fixes: 74393005
2018-03-09 14:04:39 -08:00
Vadim Tryshev
593e9567fd Adding isNotInRecents to RemoteAnimationTarget
For animations required by Recents, we calculate whether the task is
going to be presented in Recents UI.

Bug: 70789568
Test: Manual: swipe a normal app to Recents; swipe an app with a
      half-screen assistant on top of it to Recents.

Change-Id: I1ec9c36865dd4f57e843ae58811f90f3096365a5
2018-03-09 14:00:32 -08:00
Rohan Shah
2c23b13011 [QS] Update hotspot tile secondary text (data saver)
Updating the secondary text to show a different message when data saver
is enabled (to explain to the user why they can't toggle the tile).

Also collapsed double ternary to make it a bit easier to read.

Test: Visually
Bug: 33003328
Change-Id: I8a98f95c60ec9dcbe5899e87e29759e8d377b106
2018-03-09 13:47:05 -08:00
Winson Chung
f3e412e502 Expose whether a snapshot is a real snapshot
- This allows launcher to distinguish between a real snapshot and an app
  theme snapshot, which it will decorate differently.

Bug: 72809891
Test: atest com.android.server.wm.TaskSnapshotPersisterLoaderTest
Change-Id: Ia94591ab83ef312556f138cf11398cc5680ad798
2018-03-09 13:34:41 -08:00
TreeHugger Robot
c7a25dc939 Merge "Fix AutoTileManagerTest" into pi-dev 2018-03-09 20:20:29 +00:00
TreeHugger Robot
3dc91c1426 Merge "Update battery saver colors to make them more obvious" into pi-dev 2018-03-09 19:17:00 +00:00
TreeHugger Robot
25092e1d93 Merge "Add vibrate on down over nav bar and tick on motion up" into pi-dev 2018-03-09 18:38:40 +00: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
TreeHugger Robot
75a81749f3 Merge "Move mobile signal indicator to QS footer." into pi-dev 2018-03-09 14:56:59 +00: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
Adrian Roos
802bf39664 Merge "SysUI: Fix a bunch of hacks around insets and cutouts" into pi-dev 2018-03-09 12:40:37 +00:00
Amin Shaikh
0e00331e8f 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
2018-03-08 22:56:55 -05:00
Kevin Chyn
27e1f26e01 Polish FingerprintDialog
Bug: 73818869

Test: dialog matches spec
Change-Id: Ibba456e656559ffbebf1bcae79480ce91772572f
2018-03-08 18:37:00 -08:00
Winson Chung
2592f80b55 Stop preloading recent tasks in SysUI when bound to overview service
- When bound to the overview service, trim the entire cache in the SysUI
  recents cache. This is only useful until we remove the recents code
  in SysUI entired.

Bug: 74198066
Test: Manual, dump hprof and ensure no references to thumbnails
Change-Id: I694c917f2ed2b84c842c2815c4071947437446ed
2018-03-08 17:48:21 -08:00
Matthew Ng
5c0592e252 Add vibrate on down over nav bar and tick on motion up
Added a tick vibration for down and up (after 150ms delay) over back and
home button. Vibration on touch down covers the entire bar.

Fixes: 73942704
Test: tap nav bar or tap home button
Change-Id: Ib53c3667cbdf61a502bab53d98a2874a511acb3f
2018-03-08 17:13:58 -08:00
TreeHugger Robot
24d888aab6 Merge "Add secondary text to mobile data tile." into pi-dev 2018-03-08 21:51:40 +00:00