12748 Commits

Author SHA1 Message Date
Chris Wren
de4b2645d9 unbreak the build,
plus some followon patches from Id3b0a074

Change-Id: I9f667a8d68a68d90c0d7f2fed3f28efcc6720533
2015-12-11 16:56:40 -05:00
Julia Reynolds
41c264bae1 Merge "Add importance to notification guts." 2015-12-11 21:41:32 +00:00
Julia Reynolds
72be84fd8c Merge "use importance instead of score" 2015-12-11 21:21:50 +00:00
Chris Wren
bdf3376616 use importance instead of score
Change-Id: Id3b0a074671943b4fcabb63fe990cbfd1e46bdfd
2015-12-11 16:09:18 -05:00
Winson Chung
fca2a63f8b Temporarily workaround rendering issues.
- Disable reusing old stack view tasks

Bug: 25998134
Change-Id: Idf74f9b371a9ae6d89f5752708ac6adb675b55a7
2015-12-11 20:55:18 +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
Filip Gruszczynski
ee15241aaf Merge "Move tasks to fullscreen stack when dismissing docked stack." 2015-12-11 16:05:04 +00:00
Filip Gruszczynski
b3da834a91 Move tasks to fullscreen stack when dismissing docked stack.
When we dismissing a docked stack we don't want to get rid of it,
but instead make it available in the full screen stack. We need to
make sure that it goes into the bottom of the stack and prevent it
from taking focus or running any animation, so the operation is
invisible to the user.

Bug: 25840497
Bug: 25823213
Change-Id: Ibd08d7b723a2847d98c435f79541d5eb43587064
2015-12-11 08:03:13 -08:00
Winson
dd64243d26 Fixing stack scroll when dismissing tasks.
- Should be adjusting the offset when pulling forward, not the whole
  stack scroll.  This caused a visual regression where the whole stack 
  shifted when you dismiss the non-first task.

Change-Id: I93158287a168f407a0a024e0be24f264dd0c2b6e
2015-12-11 15:57:24 +00:00
Winson
7b3ccf54cb Removing old focus animation on the header bar.
Change-Id: I892fda95ec5e74ee779283a5873210f301fbe778
2015-12-11 15:56:39 +00: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
Winson Chung
3e81d09056 Merge "Updating layouts to use frame vs translation and clipping." 2015-12-11 15:49:38 +00:00
Winson
bb410951b9 Updating layouts to use frame vs translation and clipping.
- This greatly simplifies the freeform layout as well, since we don’t 
  need to scale and clip the views to match the freeform task bounds.
- Also fixing the animation from the back of the stack

Change-Id: Iba998a788dbdc48d031da8a8c908ea1a9f8f795f
2015-12-11 10:23:16 -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
Selim Cinek
2108fe0d6d Fixed a bug where the group overflow was invisible
Change-Id: I6e43decc9d68dbf869245ee99b80f4d5c9ae4456
2015-12-10 13:51:38 -08:00
Selim Cinek
fe3b82ced5 Merge "Revert "Fixed a bug where the panel could be too small in certain cases"" 2015-12-10 20:45:52 +00:00
Selim Cinek
e14ab3c646 Revert "Fixed a bug where the panel could be too small in certain cases"
This reverts commit c349c3d43bd59ff22a638bded955594bd765fc26.

Change-Id: I76a41db987027128294b4e398af9564a8e2aaa05
2015-12-10 20:39:16 +00:00
Mindy DelliCarpini
6ec3e4c56b Merge "Add quick settings permission to system ui" 2015-12-10 19:26:33 +00:00
Mindy Pereira
a59301a44e Add quick settings permission to system ui
Makes it possible to use the new quick settings api from:
I82b6bebb0b21a5c9eb926cb1a761cac340a293df

Change-Id: I053bb2b28284c4f49d67339b617ef72ede1f2843
2015-12-10 19:25:08 +00: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
Selim Cinek
e812652fba Adapted the appear animation for notification children
Previously the delays where inverted leading to a weird
staggering effect.

Change-Id: I6e212fcf1651cf0e5fa15934a91bc6b648abcfad
2015-12-09 16:24:55 -08:00
Selim Cinek
9c7712d45c Added darkmode for notification groups
Somewhere in the dark a dim shimmer of light appeared

Change-Id: I9de970d4f5b8bb3c3d99f34af7f411f62ff2e094
2015-12-09 16:24:52 -08:00
Jorim Jaggi
760400c61c Enable swipe-from-navbar gesture by default
Change-Id: Ic38a517c3c53838e3bdd2173a9d245f312136ad4
2015-12-09 15:22:06 -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
4041249f2f And suddenly notification children appeared
Bug: 22760612
Change-Id: I0b708368c9c8e06af36184e736d181b2818d29b8
2015-12-08 19:51:24 -08:00
Selim Cinek
f37a0a0601 Merge changes from topic 'groups'
* changes:
  Changed the appearance of the notification children
  Removed the devider above the actions
  Collapsing groups now on the lockscreen
  Fixed a bug where groups were layouted too small
  Fixed a small measuring but with the notification header
  Fixed a bug where legacy icons where incorrectly colored
  Removed duplicate content from group notification header
2015-12-09 01:25:30 +00:00
Rubin Xu
315574621a Merge "Hide work apps from recents when profile is turned off" 2015-12-09 00:55:28 +00: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
Selim Cinek
9c4c41461d Collapsing groups now on the lockscreen
No more expanded weirdness on the lockscreen

Change-Id: Ia2c40741acc19a1d62bca2c61b0260dc52d3e8e1
2015-12-08 16:25:00 -08:00
Selim Cinek
da42d65ea5 Fixed a bug where groups were layouted too small
If the group was a group of custom views it
was layouted too small.

Change-Id: I88778c9a162e6f3012140d1e7864d66f13da2b1d
2015-12-08 16:25:00 -08:00
Selim Cinek
a53f85a59a Fixed a bug where legacy icons where incorrectly colored
Because we were unconditionally applying the color when
set to dark

Change-Id: I4321a81fcd0f04f921752a5dcb8c3cbd47af36b7
2015-12-08 16:25:00 -08:00
Selim Cinek
ea4bef7386 Removed duplicate content from group notification header
Previously the headers all had duplicate content, which is
now optimized to look visually more appealing.

Change-Id: I38ed8db1985fd8a9470888e1b7e1e6b0f2e23b19
2015-12-08 16:25:00 -08:00
Rubin Xu
efb844da91 Hide work apps from recents when profile is turned off
When the user turns off profile (profile goes to quiet mode), hide all
work apps from recents. They should reappear when the profile is turned
back on.

Bug: 22541941
Change-Id: I68119bb5a65cc2b0d9b42bd17eaccf5e55c8dd4f
2015-12-08 23:06:42 +00: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
ba2318eff3 Remove visibility from tiles, make them always visible
Some tiles are statically not available on boot, etc.
based on hardware availability or settings, but most
are just always visible.

Change-Id: Ib1a45ef5b029fe710f9957cb997496dcb14f5875
2015-12-08 10:52:10 -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
0ca8826069 Reset recents translation when launching
So we don't end up with empty content after having cancelled
the drag in gesture.

Change-Id: If00c526806816df58c751cd715e0575dbb7adf17
2015-12-08 01:16:58 +00: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
f4b4bf633d Merge "Quick setting tile to toggle work mode for managed profiles" 2015-12-07 21:53:45 +00:00
Fyodor Kupolov
79aeb92f4d Merge "Added SynchronousUserSwitchObserver" 2015-12-07 18:55:09 +00: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
Ying Wang
471c1adf08 Add android.support.v7.recyclerview resources.
This fixes build error of unresolved symbols if you build with Jack
disabled.

Change-Id: I0a9e1288015cc8894b7cdda3130aa8df628092e9
2015-12-04 18:45:57 -08:00
Winson Chung
644c6f70a8 Merge "Minor tweak to initial paging state." 2015-12-04 01:45:35 +00:00
Winson Chung
6e79b08407 Merge "Fixing landscape transition into Recents." 2015-12-04 01:45:31 +00:00
Jorim Jaggi
8589600035 Merge "Make it harder to dismiss recents when dragging up" 2015-12-04 01:35:46 +00:00