Commit Graph

545 Commits

Author SHA1 Message Date
Jason Monk
48edc0c628 Convert signal icon to be custom drawable
This will make it really easy to change the number of bars it
displays.

Test: runtest systemui
Change-Id: If0b8a606f56430ea08fa0887af85aa0e90de1d40
Fixes: 35902355
2017-04-14 15:04:09 -04:00
TreeHugger Robot
99856429db Merge "Update mobile data icon" into oc-dev 2017-04-13 19:37:36 +00:00
Jason Monk
6d21855e16 Update mobile data icon
Test: visual
Change-Id: I21be005b0f4c4371b616377be77025412c2b58e6
Fixes: 35996345
2017-04-13 13:13:19 -04:00
TreeHugger Robot
755138bb1c Merge "Make QS light" into oc-dev 2017-04-12 20:43:16 +00:00
Jason Monk
ec9afcd4c5 Merge "Visual changes to dual target tiles" into oc-dev 2017-04-12 17:00:02 +00:00
Jason Monk
824ffffcc4 Make QS light
Test: visual
Change-Id: I873bc44647d509bad0ac035058ea13ac57717416
Fixes: 37213814
Fixes: 37008758
2017-04-11 15:49:06 -04:00
Jason Monk
ad71ae1fd0 Clean up activity a bit and disable it by default
Test: visual & demo mode
Change-Id: I3718e7f58d21a28ae937064882c4edff10534701
Fixes: 36020978
2017-04-11 14:55:25 -04:00
Jason Monk
209e03e2ff Visual changes to dual target tiles
Test: visual
Change-Id: I856cae03587fc9a1e49fbfbdbf1e6abfbbf114ca
Fixes: 37007988
2017-04-11 13:57:45 -04:00
TreeHugger Robot
a56b6e530a Merge "QS: Add transient animations for bluetooth and wifi" into oc-dev 2017-04-03 15:37:18 +00:00
TreeHugger Robot
cf6fa5e951 Merge "QS: Add transient icon for hotspot" into oc-dev 2017-03-31 23:18:43 +00:00
Jason Monk
110e5f6c16 QS: Add transient animations for bluetooth and wifi
Test: runtest systemui
Change-Id: I04a81e1b36a6595bfb102603ad07b079c8b0ee77
Fixes: 26781226
2017-03-31 13:51:03 -04:00
Jason Monk
e645aee45a QS: Add transient icon for hotspot
Will make the loading time more clear.

Test: visual
Bug: 32270851
Change-Id: I0ea7591da132ff65fb7fc16b03b2891891e66598
2017-03-31 13:49:21 -04:00
Mady Mellor
60421c9d45 Update PIP dismiss to show scrim + info text at the bottom of the screen
- Rather than testing how far off screen the PIP is, instead tests how far
  past the nav bar / on screen bars the PIP is to determine if it is a
  dismiss
- When dragging PIP around screen, display info text + scrim at bottom
  these are above the PIP in z-order
- On lift up or when PIP is dismissed, info text + scrim also hide
- Alters dismiss animation to use end point on trajectory of finger and
  use FlingAnimationUtils when flinging

Test: Drag PIP around screen, notice dismiss scrim + text appear, dismiss
      PIP and scrim / text also disappear
Bug: 35358628
Change-Id: Ibc0f6a884903f7d1b3ca2fd5c20647b4acf15a71
2017-03-30 17:30:38 -07:00
Jason Monk
d3b314824d Fix add user tint, some people thought it was disabled
Test: visual
Change-Id: Ic2a56adb5fe0e429c6022bc6cc59f8f1c959f6af
Fixes: 36502149
2017-03-23 11:31:50 -04:00
Winson Chung
056d2201d4 Merge "Showing notification when activity is in PiP." 2017-03-21 00:29:05 +00:00
Winson Chung
c81c0ce2e9 Showing notification when activity is in PiP.
- Adding callback to SystemUI to be notified which package entered PiP,
  and when it leaves PiP.
- Showing a BTW notification on a new PiP-specific channel.

Bug: 36070720
Test: Launch PiP, observe notification, leave PiP, observe no notification
Change-Id: Ibe10298288fe0464d7d136f2571e855f3f5c70ea
2017-03-20 10:14:47 -07:00
Jason Monk
44ad61f06e Clean up some QS user switcher colors
Change-Id: Ie6699f3cede075ee22997440c716138402840587
Fixes: 34775035
Test: visual
2017-03-16 12:45:48 -04:00
Sid Soundararajan
7616234117 Merge "RecentsTV : Remove all Recents TV Code" 2017-03-13 17:44:55 +00:00
TreeHugger Robot
b6c6eaf8d4 Merge "Updating expanded PiP menu." 2017-03-10 00:17:42 +00:00
Winson Chung
e7a3d2225c Updating expanded PiP menu.
- Adding consistent scrim behind menu
- Tweaking icon/button sizes
- Updating the expand button depending on the current placement of the PiP
- Better centering of the expand button

Bug: 35358425
Test: Expand pip
Change-Id: I34575bb08d4815f51b6f14f8b0e25b20b9a97320
2017-03-09 14:46:05 -08:00
Adrian Roos
5602189a6d AOD: Show charging status on AOD1
- Change PowerManager to not turn on display when on AOD
- Add charging icon to AOD1
- Add transient charging indication when plugged in

Bug: 30876804
Bug: 35850304
Test: runtest systemui; enable AOD, plug in phone, verify charging indicator shows, verify charging text shows and goes away after a few seconds
Change-Id: Icb80843a12c56c7e2abeca78115a366b4d508d4f
2017-03-09 14:31:24 -08:00
Sid Soundararajan
0e88d32b96 RecentsTV : Remove all Recents TV Code
This patch will remove the Recents TV Code from SystemUI.

Test: To test this removes the Recents Feature and has no
side effects, try to launch recents with long-press HOME. This
should result in launching the phone version of recents.

BUG: 36035359
Change-Id: I9026b480968575ce08e1ce344512f168fdc5fe87
2017-03-08 16:19:04 -08:00
Mady Mellor
a7f69740b5 Update how PIP size is determined
- minSize = 108dp
- defaultSmallestEdge = max(23% of screen width, minSize)
- the shortest edge of the PIP should be minSize and the rest scales
  according to the aspect ratio
- rather than a default PIP size, use default aspect ratio
- adding expand button
- fitting actions to spec

Fixes: 35358504
Test: manually used test app to try different aspect ratios
Change-Id: Ib6890fb7824889b9edeea7efb5b9771e64fc1514
Signed-off-by: Winson Chung <winsonc@google.com>
2017-03-06 16:39:11 -08:00
Jason Monk
e5b770e47d 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
2017-03-04 20:02:09 -05:00
TreeHugger Robot
2a434d17b1 Merge "Remove tint from network logging icon" 2017-02-27 18:24:10 +00:00
TreeHugger Robot
eba6e6c7dc Merge "Move the lock item for the QS WifiPicker." 2017-02-27 18:04:06 +00:00
Robin Lee
8b371480d3 Remove tint from network logging icon
Mirrors the change in commit 3250885c9f
("Visual refresh for QS") which removed tint from all ic_qs_xyz.xml
icons for quicksettings.

This one was missed because it was committed to nougat-mr2-dev and
only merged into the development branch afterwards.

Change-Id: I603c31aa82e9d52925fbe06d02a620036d93056e
Fix: 35620542
Test: adb shell am start 'android.app.action.SHOW_DEVICE_MONITORING_DIALOG' on a device with network logging enabled.
2017-02-25 01:15:19 +00:00
Jason Monk
58be7a675b Add colorError
Remove scatered references to old error color and replace them with
references to new colorError

Test: make & visual
Change-Id: Icca8cd790db351c3dfce2197f2046879d062a2c0
2017-02-24 14:57:27 -05:00
Jason Monk
ab9ab96d0d resolve merge conflicts of 1723bc14eb to stage-aosp-master am: 4f458421b1
am: eac19cd55d

Change-Id: Iec06900eba071a56696a1c240b79f0dd7ab05d70
2017-02-24 15:27:47 +00:00
Jason Monk
4f458421b1 resolve merge conflicts of 1723bc14eb to stage-aosp-master
Change-Id: I11054806dbd263b2adaedb21458c33b7407bb7d6
2017-02-24 09:34:42 -05:00
Jason Monk
543947ba53 Merge "Update clipboard icon for the tuner" 2017-02-23 20:17:52 +00:00
Evan Laird
8b72643b12 Fix qs_signal icon clipping
Test: visual
Change-Id: If212eefc9303590b7168432120c46bf07ac184d1
Fixes: 34799892
2017-02-23 15:00:46 -05:00
Jason Monk
79f21a3f41 Update clipboard icon for the tuner
Change-Id: Ie8ff3e6d87afbbd09efe8f529756710f6a61da6e
Fixes: 35707044
Test: visual
2017-02-23 12:52:32 -05:00
Kenneth Westin
5c88ffb507 Data activity icon in statusbar
Display data activity icon for Wi-Fi and mobile data
respectively in statusbar

Bug: 30849089
Test: manual - go to Settings > Developer options > Demo mode and then
               enable both "Enable demo mode" and "Show demo mode"

Change-Id: I16e880ffb97666a6c6507b9cc8c99bf580972207
2017-02-23 13:08:16 +09:00
Jason Monk
324b8867e4 Add ongoing notification for instant apps
Show a BTW notification when instant app is top of either of the
stacks.

Bug: 35152138
Test: Open ephemeral app, look at notifications.
Change-Id: Id992dd893a6632e9b95948a9e11167762f42bc49
2017-02-16 17:20:02 -05:00
TreeHugger Robot
1fad70afd3 Merge "Various QS fixes and cleanup" 2017-02-16 01:05:48 +00:00
Jason Monk
f13413e2f3 Various QS fixes and cleanup
Test: runtest systemui
Change-Id: If87f58f2af00b23c5e1a8e38a63a6a63d903002c
2017-02-15 17:48:27 -05:00
Jason Monk
790442e4cd Tuner updates
Some UX updates to the tuner to feel better and align with settings
UX patterns.

Test: visual
Change-Id: I9c57194b9649c61e0d6d3f9e21a51d9c4a5c1286
2017-02-15 13:35:00 -05:00
Sundeep Ghuman
ff0f108681 Move the lock item for the QS WifiPicker.
This matches the new Wifi Picker style used in WifiSettings.

Bug: 35164592
Test: See screenshot in comments
Change-Id: I6b1203adf4b217071510b3411aadc3f38f2650d6
2017-02-13 12:58:18 -08:00
Jiaquan He
41b8a3af18 2D Recents: Fix the thumbnail radius. am: 083c6fbbd0
am: 5207be100b

Change-Id: Ic2912d940a877730165a8188ca39ada17ebfa540
2017-02-08 01:02:05 +00:00
Jiaquan He
5207be100b 2D Recents: Fix the thumbnail radius.
am: 083c6fbbd0

Change-Id: I93ff98979bcffa0c3724807ec9caac8f39025fa6
2017-02-08 00:06:22 +00:00
Mady Mellor
d4e40fb097 Update the drag to dismiss UI to be closer to design
Rather than a circular target for drag to dismiss, there is text / icon
as well as a gradient. As the PIP approaches the text / icon they grow
in size. If the PIP is released overtop of the text / icon, it is
dismissed.

Test: Using PIP test app, have a PIP, drag it to dismiss target area.
Change-Id: I339ad14e144dfd61f0e990ba4d2559642a47b141
2017-02-02 11:08:26 -08:00
Jiaquan He
083c6fbbd0 2D Recents: Fix the thumbnail radius.
Changes the task thumbnail radius to 4dp.

Test: Checked that Recents task thumbnail radius is changed to 4dp on
local sw600dp device.
Bug: 32101881
Bug: 34746192

Change-Id: I1e950d305ed5edf7da577a8f05cf6005b4405205
2017-01-27 11:09:07 -08:00
Jason Monk
f58cc5768a Add separate roaming icon for status bar + QS
am: f62e889394

Change-Id: I065c6420e0ed379f44d7789e77590e5a39c2a5ec
2017-01-27 15:14:53 +00:00
Jason Monk
f62e889394 Add separate roaming icon for status bar + QS
Now data + roaming will be shown at the same time.

Test: runtest systemui
Bug: 31205845
Change-Id: I8fe167a0909c952ad0824e24e178857df2541554
2017-01-26 13:48:16 -05:00
Jason Monk
0f0de13c37 Add separate roaming icon for status bar + QS
Now data + roaming will be shown at the same time.

Test: runtest systemui
Bug: 31205845
Change-Id: I8fe167a0909c952ad0824e24e178857df2541554
2017-01-26 10:04:32 -05:00
Jason Monk
9726bcabb4 Merge "Tuner: Nav bar tuner" 2017-01-26 02:23:06 +00:00
Mady Mellor
04d7a0fca0 Add snooze to notification menu row
Moves the snooze plugin code into system UI.
Does not include assistant suggestions.

Test: manual
Change-Id: Ie2c51d65381530c9a72cd8a871efdbf0d63da490
2017-01-25 13:43:09 -08:00
Jason Monk
ea05f87b25 Tuner: Nav bar tuner
Usable edition.

Test: Manual
Change-Id: I20ec31560b89df8ded089974b7da1b60423cdb8b
2017-01-24 19:43:36 -05:00
TreeHugger Robot
171a0abae4 Merge "Fixes for new QS" 2017-01-24 22:58:08 +00:00