4144 Commits

Author SHA1 Message Date
Geoff Mendal
ee03b99a47 Import translations. DO NOT MERGE
Change-Id: I069886b4230a02864c84c5e12d29ac2149f88878
Auto-generated-cl: translation import
2016-01-06 05:53:27 -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
Jorim Jaggi
a6c934e2a3 Use different asset when docked stack exists
- Add the ability to add a listener when the existence of the
docked stack changes.
- Register SystemUI as such a listener and switch the recents
button asset when docked stack exists.

Change-Id: I05350878c5adc7ad9f0399f0c42d8d1615d44d02
2016-01-05 13:49:41 +01:00
Julia Reynolds
bc89558f4d Merge "Add 'more settings' and 'done' to guts." 2016-01-04 20:56:59 +00:00
Julia Reynolds
5682192a8f Add 'more settings' and 'done' to guts.
Change-Id: I0499869b1a40653ff1b179a95c55a22d8e12e718
2016-01-04 15:24:29 -05:00
Winson Chung
931c51f545 Refactoring lock-to-task state out of Task
- Moving the logic out of Task to the stack view which is more logical
  and easier to manage
- This also includes a fix for the issue of the screen pinning not 
  showing up immediately after toggling it in Settings

Change-Id: I0357d59fc30b0327bbe6eeca10b310911aba3cc4
2016-01-04 19:54:55 +00:00
Xiaohui Chen
c33f357b50 Merge "cleanup some confusing comments" 2016-01-04 17:21:45 +00:00
Xiaohui Chen
dc630f0122 cleanup some confusing comments
Change-Id: I21fe6fb2ea37a811f69278058277dd595866ae9b
2015-12-30 11:32:05 -08:00
Geoff Mendal
9638a9a2a4 Import translations. DO NOT MERGE
Change-Id: I0e4698739718df41ce8fc1237bcb41fa87dd4b8a
Auto-generated-cl: translation import
2015-12-30 06:02:31 -08:00
Geoff Mendal
431433b1f7 Import translations. DO NOT MERGE
Change-Id: I315d33bfa714351cf945e0798f57bc6ebaabc743
Auto-generated-cl: translation import
2015-12-28 05:59:37 -08:00
Geoff Mendal
0bf658d631 Import translations. DO NOT MERGE
Change-Id: I0e46010642ad4edb9bd12eb256518627d9d29107
Auto-generated-cl: translation import
2015-12-23 05:52:22 -08:00
Jason Monk
6923bc806f QS: Fix header layout when alarm set
Change-Id: I9f16ccb545abaea85ecaca29a221599c767003b8
2015-12-22 11:34:36 -05:00
Jorim Jaggi
79b39f0873 Update visual of docked divider to spec
Change-Id: I85daf672cedb8009509886fc6ae2d700d39274cf
2015-12-22 13:01:40 +00:00
Jason Monk
d2be14a16a Merge "Color transforms for the tuner" 2015-12-21 15:13:52 +00:00
Jason Monk
d40328e687 Color transforms for the tuner
Change-Id: I615be65e2b020acd5520f93c04f426c4006221c5
2015-12-21 09:37:00 -05:00
Geoff Mendal
5fb407dd86 Import translations. DO NOT MERGE
Change-Id: I868223c518e04d0b20a17a3aef29499312edeabb
Auto-generated-cl: translation import
2015-12-21 05:57:13 -08:00
Selim Cinek
98be3f375b Fixed that the expandButton was sometimes visible when it shouldnt
This happened when the collapsed height had the same height as the
expanded one.

Bug: 26185377
Change-Id: I9c37a8239cc87bf2192f48bc008700faf4afb5d9
2015-12-19 16:23:03 -08:00
Selim Cinek
860b6dac96 Measuring the notifications at wrap_content height now
The notifications are now measured at wrap_content such
that the layout still looks good even if the text
was ommited instead of arbitrarily making it bigger.
This also fixes some small rounding issues where the
expanded notification was just a pixel bigger than
the collapsed version.

Bug: 26185377
Change-Id: Ie3339ff75680ab512446605055304576e058f588
2015-12-19 16:22:52 -08:00
Selim Cinek
d84a5930cc Fixed the redacted layout for groups
Also fixed a bug where the guts didn't have the
right size and in general cleaned up the intrinsic
height. The guts also animate nicely and the position
of their animation starts on the finger.

Change-Id: I62447dd77ace36161740dfdf3d18103524e2eb21
2015-12-19 16:07:51 -08:00
Selim Cinek
624c02db7f Fixed the public notifications views on the lockscreen
The views were based on a legacy systemUI notification.
We are now creating it in Notification.java in order to
always have the latest visuals and avoiding duplicate work.

Change-Id: I3f544cad069a8eab34d4464404d020e06d7f6626
2015-12-19 16:07:43 -08:00
Julia Reynolds
be8fdee532 Differentiate between apps that use topics and those that don't.
Bug: 22451710
Change-Id: Idb567a4fc511a03cb999179765cfa4cbeb63dcb7
2015-12-18 15:57:43 -05:00
Winson Chung
2a43922df9 Merge changes Iac20cc7b,I87ce6320
* changes:
  Fixing potential issue with wrong task descriptions being loaded.
  Refactoring to AnimatedEvent.
2015-12-17 22:33:54 +00:00
Winson Chung
296278a067 Fixing potential issue with wrong task descriptions being loaded.
- Also cleaning up the Task to remove some confusing nomenclature
  related to task properties.  Now there is a single icon and title,
  and we keep a copy of the TaskDescription for future icon loading.
- Also changing a few cases where we should be calling isFreeformTask()

Bug: 26221779
Change-Id: Iac20cc7b4912f76c14232a323981ab2e8f62628a
2015-12-17 17:29:40 -05:00
Julia Reynolds
9d7381e28b Merge "Allow users to set app-wide Importance default" 2015-12-17 22:12:04 +00:00
Julia Reynolds
a07af88b95 Allow users to set app-wide Importance default
And the associated ui changes to the notification guts.

Bug: 22451710
Change-Id: I4e0b11e7b24d70b039a432c5e6cd76c9c7cc547c
2015-12-17 16:53:36 -05:00
Winson Chung
aa4f800891 Fixing minor issue with freeform workspace not showing.
- Also slightly tweaking drop target sizes to be a bit smaller

Change-Id: I0e877e64acba5dd165c0d7a2cffb24dea88d673f
2015-12-17 15:31:18 +00:00
Winson Chung
d27dae2085 Merge "Minor fixes to freeform workspace" 2015-12-16 22:37:21 +00:00
Winson Chung
509d0d0c9e Minor fixes to freeform workspace
- Fixing regression where we were clobbering the freeform stack order
- Ensure there is padding between tasks
- Fix the header bar animation

Change-Id: I69ced3e3cb2f0c761ddf0c3bd00b17c847d74c0b
2015-12-16 17:34:32 -05:00
Winson Chung
75ca185730 Merge changes Ide26856c,I68bbef59,I2186bdfc
* changes:
  Allowing tasks to be swiped away in the history view.
  Loading activity icons in History view.
  Ensuring that the undocked task is visible in Overview.
2015-12-16 21:27:55 +00:00
Winson Chung
b169ebd4c4 Loading activity icons in History view.
Change-Id: I68bbef59d380ce7abe251fca75135775528429d5
2015-12-16 15:27:05 -05:00
Jason Monk
87ccd55e8a Switch Tuner to support prefs (and some improvements)
Change-Id: I2ef62c0c56d4af69f9f34e1cfd297999d59b7da6
2015-12-16 19:41:25 +00:00
Geoff Mendal
6d27bf3724 Import translations. DO NOT MERGE
Change-Id: I8a5e7004c7370fe174d1af2a49b365bdd35c03f9
Auto-generated-cl: translation import
2015-12-16 06:03:13 -08:00
Winson Chung
ead5c0fc20 Enabling history and paging by default
- Removing associated tuner flags

Change-Id: Ia69bf273489b0079c389e7feb1428071569092d5
2015-12-15 15:30:12 -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
de750de531 Only show historical tasks in history.
- Also only show the history button if there are
  historical tasks (and reflect that in the 
  button text)

Change-Id: I7b9dcf79e2feef61f96b720f586144de4c5033e3
2015-12-14 14:23:21 -05:00
Winson Chung
9a74290a95 Coordinating empty view with the history view.
- Moving the empty view into the RecentsView so
  that we can coordinate its animation with the
  history button and the task stack (when history
  is visible, all of the other views are animated
  away, and vice versa)
- Removing unnecessary launch state flag to keep
  track of recent task empty state just for deciding
  animations for system bar scrims.
- Fixing issue with overview button not dismissing
  the history view while it is open
- Fixing issue with swiping the last recent task
  away causing both Overview and the docked task
  to be dismissed to home

Bug: 26044055
Change-Id: I731fb0f7efb3de7d5f826673479c602b606453e9
2015-12-14 14:15:23 -05:00
Geoff Mendal
b78ee352df Import translations. DO NOT MERGE
Change-Id: I3e31c8e699bedb04b82b364311d9a504527cca98
Auto-generated-cl: translation import
2015-12-14 05:55:22 -08:00
Geoff Mendal
fa97e64ac6 Import translations. DO NOT MERGE
Change-Id: I8bfa1fb1ea3ae52988c001eed14e5597733e595e
Auto-generated-cl: translation import
2015-12-11 19:03:39 -08:00
Julia Reynolds
41c264bae1 Merge "Add importance to notification guts." 2015-12-11 21:41:32 +00:00
Julia Reynolds
ead00aac15 Add importance to notification guts.
Note: the guts are still trucated to the height of the notification.
The slider initially shows the importance of the individual notification,
but changing the slider changes the importance for the whole group
of notifications.

Bug: 22451710

Change-Id: Id6de3aaace2bdb88a8cc5db517002dc7f0e349ae
2015-12-11 14:57:47 -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
Adrian Roos
245aa87f3f Even more Inline Reply goodness
- Removed action icon processing
- Correct color for action label
- Change default notification color to Gray 600
- Handle different states in RemoteInputView
- Handle updates to Notifications with active remote input

Bug: 22452379
Change-Id: I30a0cd917dbf814f156ab5a106e018a245d99b67
2015-12-10 17:04:32 -08:00
Jason Monk
ec9af01df5 Fix default QS tiles
Also add emergency only to header.

Bug: 26124044
Change-Id: If39fa2cca052b711516bd5a92a91f541ad00e62a
2015-12-10 11:10:23 -05:00
Selim Cinek
6c24afe4b0 Merge changes from topic 'more_groups'
* changes:
  Fixed a bug where the heads up had the wrong size
  Adapted the appear animation for notification children
  Added darkmode for notification groups
  And suddenly notification children appeared
2015-12-10 00:58:21 +00:00
Selim Cinek
77019c7233 Fixed a bug where the heads up had the wrong size
Change-Id: I05bc0e68bf4b9f786b9f0cb4466bba002a0fc4d4
2015-12-09 16:24:55 -08:00
Jason Monk
2945e95c76 Merge "Make the new QS the new QS" 2015-12-09 18:53:40 +00:00
Geoff Mendal
43d3a684a2 Import translations. DO NOT MERGE
Change-Id: Ied4210296919bd005ab065b06d15823f306c4917
Auto-generated-cl: translation import
2015-12-09 05:52:15 -08:00
Selim Cinek
7b83639c34 Changed the appearance of the notification children
Some further tuning to the layout

Change-Id: Ifb3797e9982d718a30954adb9e1901eb2a1fa75d
2015-12-08 16:25:00 -08: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