319 Commits

Author SHA1 Message Date
Selim Cinek
ca85ef8537 Removed round rect clipping for notifications and qs
Change-Id: I82459dabb2b41e414d46b624eeb6dae5773acc66
2016-01-26 15:30:28 -08:00
Jason Monk
9a4ce137eb Add data saver tile
Bug: 22817899
Change-Id: I900f19cca54daabd45fe358ae4117d4f3e9ab824
2016-01-25 17:16:22 -05:00
Winson
c5ef63f4e9 Adding reveal transition to show app-overlay.
- Instead of long-pressing the icon to launch into app info directly,
  this will mirror notifications and reveal a space that can show the
  app name and a link to app info.

Change-Id: I91c5839719b030a65744f5e677a436e9c719c578
2016-01-21 16:07:44 -08:00
Jason Monk
3e189877ab SysUI Tuner: Status bar work
Improve general status bar goodness, more exactness, less breakage.

Extra extra icons, disabled by default.

Control all the status bar things!

Probably other stuff (10000).

Change-Id: I5d6282a4dcbcefea9f0880042cdf6293cb693712
2016-01-19 18:58:05 -05:00
Victor Chan
1c6d0589f1 Highlight car nav facet when recent task changes.
CarStatusBar will now register a ITaskStackListener
to handle changes in task stack and highlight the
appropriate facet for the current task. Currently using resource
defined package names and category to the filter for a given
facet. OEMs are expected to use categories definied in Intent.java

Also refactored business logic from CarNavigationBarView
into CarNavigationBar controller.

Change-Id: I203917ea43f2f488a1167f27dab84f1c451b3e93
2016-01-15 12:02:11 -08:00
Jorim Jaggi
514b2cf0f8 Add nice animation when touching the docked divider handle
To make the interaction more dynamic.

Change-Id: I8fc3e6240c229753dc26122ae0994d59c4f6486e
2016-01-05 13:50:56 +01:00
Jason Monk
d40328e687 Color transforms for the tuner
Change-Id: I615be65e2b020acd5520f93c04f426c4006221c5
2015-12-21 09:37:00 -05:00
Winson Chung
48f2cda829 Removing the debug header bar icon.
- Repurposing resize button to move tasks between
  stacks when freeform is enabled
- Enabling freeform workspaces for supported
  devices
- Removing old debug dialog

Bug: 26043230
Bug: 24815256

Change-Id: If3236999dd236de5d5bd665d69edfc17f18f74f0
2015-12-15 15:30:12 -05:00
Winson Chung
49795ca7ed Merge "Updating the header bar item visibility with the task view frame." 2015-12-11 15:55:31 +00:00
Winson
de0591a078 Updating the header bar item visibility with the task view frame.
- In freeform mode, we hide the buttons depending on the available width
  of the task view
- Also fixes the rounded corners on the task views as the frame changes
- Tweaking the freeform workspace background

Change-Id: Iec9352acb5cb3ce95c09ff6d1026a9900717d3e6
2015-12-11 10:52:12 -05:00
Jason Monk
deba7a42ed Make the new QS the new QS
Some UI updates to the header, then make the new QS the default
state for everyone.

Change-Id: I82b6bebb0b21a5c9eb926cb1a761cac340a293df
2015-12-08 16:19:13 -05:00
Jason Monk
dc35dcb14a Working towards a better QS
Some work (mostly on the new QS only) to make things more like they
will be.

 - Remove Quick Tiles
 - Remove Dual Tiles
 - All tiles are the same, with slightly different UI in the header
 - QS tiles in the header match the beginning of QS
 - handleClick is a click from QS, handleSecondaryClick is a click
   from the header, but defaults to normal behavior.
 - Opening a detail panel from the header opens QS and the detail
   selected
 - Fix onStartListening bug in CustomTile
 - UI updates towards how QS will look

Change-Id: Id820586ccdaa258a5bcb72cadbeb14941fc5f935
2015-12-08 09:53:36 -05:00
Jorim Jaggi
152ffc2c75 Merge "Fix round rect in divider handle" 2015-12-07 22:37:02 +00:00
Jorim Jaggi
7b79b1e13d Fix round rect in divider handle
Also make it a bit larger to make it more grabable.

Change-Id: I2335e85b35a90d87d1b6f889921731833199cd3e
2015-12-07 14:24:29 -08:00
Rubin Xu
1205fb1d92 Quick setting tile to toggle work mode for managed profiles
Status bar will also show a different badge icon when managed profile
is in quiet mode i.e. work mode is off. The tile is invisible for now
until the full feature lands.

Bug: 22541941
Change-Id: I53f33ea346cd9215ecee2ca42de137af61e4c8a2
2015-12-07 18:24:39 +00:00
Selim Cinek
65b2e7c6cb Update the notification templates
Most of the notification templates have been updated.
Some cases like media notifications don't yet work well
but will be fixed in a later CL.

Bug: 25376106
Change-Id: I26c366e58ebba3852cea20de6fca311bd302bb24
2015-11-30 17:45:15 -08:00
Adrian Roos
fe84e1f436 Visuals for Inline Reply
Change-Id: I374a7ec82795f95fe2f3ce8c9e6b02c1479433af
2015-11-23 20:07:49 +00:00
Jorim Jaggi
1fcbab6ae5 Implement divider UX interactions
- Update visuals to spec
- Divider lifts when touching
- Implement basic version of snap points and animations
- Implement touch conflict behavior: If touched around 48x48dp
area around the handle, the divider handles all these touches.
If touched outside of the black background divider, touch goes
directly to underlying window. If touch on the black background
divider, touch is considered slippery and thus the window in
which the touch trace moves gets the touches.

Change-Id: I0307c191ae032672c4b73d439c23cf9833d3fce6
2015-11-06 16:17:57 +01:00
Selim Cinek
eef8428510 Introduced the notification header
In the new grouping model we don't have a dedicated expand button
anymore but only the notification header.

Bug: 24866646
Change-Id: I2e4bc82e502fde951a71b61cd81347c44b9637f6
2015-10-30 16:28:00 -07:00
Jason Monk
b9c0019702 QS: Add open/close animation for customization prototype
Also fix layout issue for first row of tiles being too large

Change-Id: Icc5c3c6edc8091449bfaa62b44bb6f79d4c6d74b
2015-10-07 13:30:03 -04:00
Jason Monk
abe1974a11 Add more QS tiles
(only for paging prototype)

Change-Id: Ifb09e3262540a486c9ee7e83a904f96cc4e33fec
2015-09-29 16:47:15 -04:00
Winson
b1bbaedb1a Adding debug ui to dock windows.
Change-Id: I9cd51763ef6089eabba734bf3bf9f52ddf540069
2015-09-25 17:45:03 -07:00
Jason Monk
2681dcb6c5 QS: Add long-press to customize prototype - part 3
Adding FAB button to QS customization screen, currently it does
nothing.

Change-Id: I4d4d4cd0a6dd5d2104cf21011855fcfce13c70d7
2015-09-09 14:00:17 -04:00
Jason Monk
f7fe83f36b QS: Add long-press to customize prototype - part 2
- Add info/remove drop targets that appear during dragging
 - Move drag start into NonPagedTileLayout so that both start
   and end of tile move drags are in the same place.
 - Still needs way to add tiles

Change-Id: If843ebbb86f393b461289c1407c6a82b6a5aed9d
2015-09-09 13:57:17 -04:00
Jason Monk
20c7b7a430 Merge "QS prototype work" 2015-08-31 20:38:17 +00:00
Jason Monk
caf3762ae6 QS prototype work
- All work is defaulted to off, with no changes to UI
 - Add 'quick' QS tiles, which have circles around them and no text,
   they just toggle things like wifi
 - Add tuner switch to hide brightness from QS panel
 - Add paginated QS layout, it shows a row of the circle tiles across
   the top, followed by 3 rows of normal tiles, following pages
   have 4 rows, dual tiles are not allowed in this mode
 - Add tuner switch to turn on paging for QS, and set to a set of tiles
   that look ok with it

Change-Id: Ia2d2eb36f8953033ce4810cd3628fcb86315fe46
2015-08-31 16:37:03 -04:00
Selim Cinek
c384198529 Added animation for trusted to fingerprint error
Bug: 21781452
Change-Id: Ib3b229c9ebece926a68a0c6a69341d0f68166698
2015-08-28 11:51:46 -07:00
Kenny Guy
63bf8acb2a Use closer to standard toast for work profile toast.
Revert back to using a standard system toast
for the toast shown when user unlocks to a
work activity.
Include the work status icon in the toast.

Bug: 21325183
Bug: 21896447
Change-Id: I691417a4ecac36983f391ee722f59e2b467affc1
2015-06-19 15:34:02 +01:00
John Spurlock
036e7cbbfa QS: Add disable animations for the DND tile.
Elide the disabled -> enabled anim, since we launch
the detail panel instead.

Bug: 21118976
Change-Id: I392f848641190f114b7838515acb13f22c96e37d
2015-06-15 16:33:44 -04:00
Kenny Guy
540f7d2fb9 New look and feel for managed profile toast
Change the toast shown when unlocking with
a work app in the foreground from normal toast
to rectangle with work icon in it.

Bug: 21325183
Change-Id: Id41d33eb83d7825d16298dc1da18d3b9ed7e3fc1
2015-06-10 18:10:34 +01:00
John Spurlock
b9f2b4ec11 Merge "Volume: Ripple tweaking on zen mode condition rows." into mnc-dev 2015-06-03 16:01:00 +00:00
John Spurlock
9ec8f0607e Volume: Ripple tweaking on zen mode condition rows.
Bug: 21335622
Change-Id: Ifcd7e5a3c14625e0442dcdb23b9b27a01545953c
2015-06-03 11:56:08 -04:00
Andrew Flynn
2fdbe12820 Remove separate light/dark animated vector drawables
Now that AnimatedVectorDrawables can use themed animations, SysUI no longer
needs to track separate AVDs for the carrier network change icons.

Bug: 21118142
Change-Id: Ifb6d7b5e7e3de85c10bc13183b4142fd2e6714b6
2015-06-01 16:45:41 -04:00
John Spurlock
157822682f Zen: Dim status bar alarm icon when zen = total silence.
Bug: 21359239
Change-Id: I5bf207c4c181869127ed8b90787cbd7d9bb0f6c2
2015-05-29 15:41:12 -04:00
Winson Chung
8858e6e98d Adding a delete action to the screenshot notification.
Bug: 21161917
Change-Id: I03e2073ef09e9aea00b523eddbe2b9122d280d89
2015-05-27 17:40:57 -07:00
Jorim Jaggi
864e64bace Polish animations for fingerprint icon
- Make error state animation faster.
- Add animation for
-- Draw on when turning on the screen
-- Draw off when unlocking
-- Error state -> normal state

Bug: 21269675
Change-Id: If09c0a35ce194fbeeb86151d45b4cfa81c9999c5
2015-05-26 13:34:34 -07:00
John Spurlock
4ec8b60295 Zen: Distinct icon for DND = total silence.
Bug: 21032320
Change-Id: I0c7b8564c38b420081ee60ee244058b8039febf7
2015-05-11 17:49:36 -04:00
John Spurlock
fbc1fdf88a Zen QS: Tweak segmented button + introduction styling.
- Add a rounded rect background to the segmented buttons.
 - Remove the spacing between the segmented buttons.
 - Increase the minheight + font weight of the button text.
 - Remove the embedded divider line.
 - Add a rounded rect background to the intro messages.
 - Tweak margins, mostly 8dp -> 16dp in a few places.

Bug: 20949290
Bug: 20947407
Change-Id: Ic497c772aa7228423c8884d6ec7b9ccbfdda365a
2015-05-08 18:19:44 -04:00
Selim Cinek
e70d653523 The voice assist may now be launched above the lockscreen
A possibility was introduced to launch voice assist over
the lockscreen using the left keyguard affordance.

Change-Id: Ic4618d24256b65441a50d77d0ef59b0ec99b6ead
2015-05-05 14:52:52 -07:00
Lorenzo Colitti
d46bb58fa6 Add a status bar icon for Ethernet.
Bug: 20613953
Change-Id: I52970b4f5fb6429876d1a2eb195a834c9e020021
2015-05-02 10:43:31 +09:00
Jorim Jaggi
27267d6869 Add animation for fingerprint error state
- Put lock icon logic in a separate class.
- Add animation when switching between fingerprint scanning and
fingerprint error.

Change-Id: I87c3f101d645a990d5397b82a797c9ee40a63da2
2015-04-28 13:27:12 -07:00
John Spurlock
90be37953d An update on VolumePanel.
Retired, and removed all claimed resources.

VolumeDialog is now the only option.

Bug: 19260237
Change-Id: I6e8abff0f8c16c4e02c47c8b7f24d5703cb3dbdf
2015-04-16 12:14:56 -04:00
Andrew Flynn
a478d70a68 SysUI: Carrier Network Change icon
- Listen for new PhoneStateListener.CARRIER_NETWORK_CHANGE events.
- Show/hide a new unique animated icon in status bar and quick settings during
  Carrier Network Change events if we are instructed by PhoneStateListener
  and it's during a period without connectivity.
- ObjectAnimator doesn't let you animate colors between themed colors, so
  there's quite a bit of boilerplate duplication in the animation xml.
- Add a new demo mode command to toggle it on/off.

Change-Id: Ic5bb2aa7444303c6b7f2456526a9c25325c6e1f4
2015-04-16 08:37:43 -04:00
Fyodor Kupolov
a08c444d1d Merge "Display a notification for a new guest" 2015-04-14 17:43:45 +00:00
Fyodor Kupolov
f4d6ad2663 Display a notification for a new guest
Display a notification for a new guest, which includes information that they
are using the device as a guest and how to remove guest.

Bug: 16956833
Change-Id: I21711949d3a80eaca47251faa6ee0cf04b5bf3e6
2015-04-14 10:36:53 -07:00
Kenny Guy
3094d4a1c0 Show a status bar icon for managed profile activities.
Show a work icon in the status bar when the foreground
activity is from an app in the managed profile.

Bug: 19532434
Change-Id: Ie96935c089d26f44bc5b1b8fcf60c83a32283a0f
2015-04-13 20:58:44 +00:00
Jorim Jaggi
e144bb15d0 Merge "Keyguard FP UX update" 2015-04-10 21:46:06 +00:00
Jorim Jaggi
27c9b74350 Keyguard FP UX update
- Add scanning and error states to UI.
- Do not delay dismissing the panel when authenticating via
fingerprint.

Change-Id: I82e71c554c56e53ddf0677dca3e6909f7cedd59d
2015-04-10 14:43:08 -07:00
John Spurlock
f15ef112e7 Volume: Update media bluetooth icons.
Note + bt logo.

Bug: 19260237
Change-Id: I32cb497505f7dea94d761637064f8f8e585ffa94
2015-04-09 22:06:10 -04:00
Jorim Jaggi
64e71cd6cc Merge changes from topic 'assist'
* changes:
  Add test assist to implement motion study
  Implement new assist gesture and motion
  Add flag to voice interactor for supporting assist gesture
  Add more internal API's for assist
  Add ability to start voice interaction session directly
2015-04-03 18:26:41 +00:00