12935 Commits

Author SHA1 Message Date
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
Julia Reynolds
bfa2be0f58 Merge "Fix radio button flash on hour change." into mnc-dr1.5-dev am: dde5a6ef28
am: 5ff55cec79

* commit '5ff55cec79b7bda67dd3e458263ccb8e2896af30':
  Fix radio button flash on hour change.
2015-12-07 23:30:22 +00:00
Julia Reynolds
5ff55cec79 Merge "Fix radio button flash on hour change." into mnc-dr1.5-dev
am: dde5a6ef28

* commit 'dde5a6ef2846bfb6b253b0946a7b9e42a11b8348':
  Fix radio button flash on hour change.
2015-12-07 23:08:01 +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
Julia Reynolds
3e57340b6a Fix radio button flash on hour change.
Also delete confusing debug variable.

Bug: 25459795
Bug: 25783349
Change-Id: I9208ece4edf5fbcff5f257994f47d81a901766e8
2015-12-07 14:59:16 +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
Winson Chung
1c8a1d7bec Merge "Adding workaround to prevent flicker in Recents when resizing." 2015-12-03 22:23:47 +00:00
Winson
b495300183 Adding workaround to prevent flicker in Recents when resizing.
Change-Id: Id5b12e1208f2a624b386c2388081565205aeca54
2015-12-03 14:03:07 -08:00