12736 Commits

Author SHA1 Message Date
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
Winson
116b2c2c54 Minor tweak to initial paging state.
- Making the scroll and focus animations identical so that it doesn't
  cause a weird flicker.

Change-Id: If1e3d23cd5ef45e429341c6bf7ac62b3a17eb662
2015-12-04 01:23:17 +00:00
Jorim Jaggi
8fccfe2814 Make it harder to dismiss recents when dragging up
Change-Id: I5883f754125e978ebac470a2c72a1dc13b05b052
2015-12-03 16:58:08 -08:00
Winson
e759cd58bd Add tuner params to change the initial stack state and navbar gesture.
Change-Id: I114b8342f5293589eb96a1fd3a14da1757e75a95
2015-12-03 16:55:06 -08:00
Winson
23746d51d9 Fixing landscape transition into Recents.
- Fixing jump in transition when going into Recents in landscape
- Also adding check to prevent NPE when searching for a null task.

Change-Id: I3944ea54caaab41a069a9e8255601ec2871afe56
2015-12-04 00:15:24 +00:00
Jorim Jaggi
389a3069ff Merge changes I284c851e,I3b1229e0,Ifbb10bac,I518521e6,I1f6a0efd
* changes:
  Drag up gesture improvements
  When dragging from the left side, dock on the right
  Draw status bar background in BackgroundFrameRenderer while resizing
  Don't remove colored bar views when relaunching
  Add flag so apps always draw status bar background
2015-12-04 00:13:05 +00:00
Jorim Jaggi
870ab5a15c Drag up gesture improvements
- Use current velocity of finger for the animation, makes it feel
smoother.
- When flinging downwards, maximize the docked stack again to cancel
the gesture.

Change-Id: I284c851e2e418d21e890b9dfe983cfe63300fe10
2015-12-03 16:11:27 -08:00
Jorim Jaggi
213cbe665b When dragging from the left side, dock on the right
In landscape, when dragging up from the left side, dock the current
app on the right side.

Change-Id: I3b1229e0d347db6cc1f55272c7d76694417977d0
2015-12-03 16:11:16 -08:00
Jorim Jaggi
4fa7892f35 Add flag so apps always draw status bar background
So we don't have to implement crazy magic when one app requests
drawing the status bar by itself, and the other doesn't in split
mode.

Bug: 24365214
Change-Id: I1f6a0efd0865b784402055e008da2f31e626f163
2015-12-03 15:23:27 -08:00
Winson Chung
47f98ae56b Merge changes I1e345044,I8c00aba3,I91536ce4
* changes:
  Fixing crash when the focused task was removed.
  Freeform workspace fixes
  Fixing jump when second finger touches the stack.
2015-12-03 22:57:06 +00:00
Winson
aaf33bc2b2 Fixing crash when the focused task was removed.
- The previous fix didn’t work when the stack changed and the focused 
  task indices shifted.  It’s easier to just keep track of the focused
  task so that we can clean it up directly.

Bug: 25975225
Change-Id: I1e345044165d3a0a5eab29fb8c2a3f59df615832
2015-12-03 14:27:58 -08:00
Winson
a78a8f31d2 Freeform workspace fixes
- Fixing issue with the wrong task view index being calculated for
  freeform workspace tasks causing them to be invisible when dragged
  to the stack
- Reducing unnecessary detach/reattach calls for freeform tasks
- Adding freeform workspace background to match exit to home animation

Change-Id: I8c00aba377601da92195ef301ba5da1ffb0045c5
2015-12-03 14:27:35 -08:00
Winson
40149bfe8c Fixing jump when second finger touches the stack.
Change-Id: I91536ce49d04bc13cbd54f230139592d1d3a3cf1
2015-12-03 14:26:02 -08:00