Commit Graph

8847 Commits

Author SHA1 Message Date
Jason Monk
e4ca64bba8 Merge "QS Anim tweaks" into nyc-dev am: ede7d95
am: d10bb9e

* commit 'd10bb9e21f0db02e5b5e07fc95b1c544e34efdce':
  QS Anim tweaks
2016-03-28 21:17:43 +00:00
Jason Monk
d10bb9e21f Merge "QS Anim tweaks" into nyc-dev
am: ede7d95

* commit 'ede7d958ab54a0701baa8ae8b494e8ea905c61c6':
  QS Anim tweaks
2016-03-28 21:05:58 +00:00
Jason Monk
ede7d958ab Merge "QS Anim tweaks" into nyc-dev 2016-03-28 20:12:14 +00:00
Jason Monk
789e9c04bf QS Anim tweaks
Change-Id: Ic1c3b3c9554dea2b608edfd1b11d255eee38b1ef
2016-03-28 16:00:09 -04:00
Daniel Nishi
edf32079ea Merge "Add a branded VPN icon for quick settings and status bar." 2016-03-28 19:27:06 +00:00
Daniel Nishi
3956639122 Add a branded VPN icon for quick settings and status bar.
If a system VPN app specifies in its meta-data that it should use the system's
branded VPN icon instead of the standard one, the Quick Settings footer and
status bar show it instead.

Bug 27146125

Change-Id: I3cfe4dda156d9147bdb339ba6bce82c72ca7393d
2016-03-28 11:02:41 -07:00
Jason Monk
90493e2b54 QS: Toggle flashlight on long click am: 8d34469
am: fdf809b

* commit 'fdf809beb52cf0d4e4c0b4e2a0c0c97e83a93a67':
  QS: Toggle flashlight on long click
2016-03-28 14:39:24 +00:00
Jason Monk
fdf809beb5 QS: Toggle flashlight on long click
am: 8d34469

* commit '8d344698a97c5cccc02ddb6a48cdee1d2bed7339':
  QS: Toggle flashlight on long click
2016-03-28 14:35:47 +00:00
Jason Monk
d11f548af1 Merge "Update the QS page indicator" into nyc-dev am: ace22ae
am: f11db88

* commit 'f11db881d8323749c3d2d7a2cd4130268cb5ee26':
  Update the QS page indicator
2016-03-28 14:31:56 +00:00
Jason Monk
f11db881d8 Merge "Update the QS page indicator" into nyc-dev
am: ace22ae

* commit 'ace22ae26cf6c6c145db58fe1168aa1c7c64bec9':
  Update the QS page indicator
2016-03-28 14:28:11 +00:00
Jason Monk
a3e63302ea Merge "Don\'t show low battery notification if bat saver" into nyc-dev am: 8469407
am: f277f51

* commit 'f277f5196ca6b65045c9119768f1e47a027d5d30':
  Don't show low battery notification if bat saver
2016-03-28 14:24:27 +00:00
Jason Monk
0a8a154de6 QS edit drag and drop accessibility am: 39c98e6
am: 6ecba05

* commit '6ecba059b9a4f20acd9ce9c2371e48057f94e197':
  QS edit drag and drop accessibility
2016-03-28 14:24:25 +00:00
Jason Monk
8d344698a9 QS: Toggle flashlight on long click
Bug: 27599572
Change-Id: Ie333a7b5cc63fa8e9536ed705ca997c8a8409d22
2016-03-28 10:24:01 -04:00
Jason Monk
f277f5196c Merge "Don\'t show low battery notification if bat saver" into nyc-dev
am: 8469407

* commit '8469407126ccfe92d5bb8b5587500720aefe1ed1':
  Don't show low battery notification if bat saver
2016-03-28 14:20:47 +00:00
Jason Monk
6ecba059b9 QS edit drag and drop accessibility
am: 39c98e6

* commit '39c98e652fd3e0e3ea3a334d60ba6ee979985978':
  QS edit drag and drop accessibility
2016-03-28 14:20:45 +00:00
Jason Monk
ace22ae26c Merge "Update the QS page indicator" into nyc-dev 2016-03-28 14:18:04 +00:00
Jason Monk
8469407126 Merge "Don't show low battery notification if bat saver" into nyc-dev 2016-03-28 14:12:46 +00:00
Jason Monk
39c98e652f QS edit drag and drop accessibility
Bug: 27667843
Change-Id: Ief0980af25d855942b0565e5a9bfcc0d266bdbe0
2016-03-28 09:57:39 -04:00
Muyuan Li
af3052495c sysui: refactor for extensibility am: 40e1135
am: 6ee07f9

* commit '6ee07f9ac1491723374d925ff37bf088a08b950a':
  sysui: refactor for extensibility
2016-03-26 20:45:27 +00:00
Muyuan Li
6ee07f9ac1 sysui: refactor for extensibility
am: 40e1135

* commit '40e1135ea2780fefecf532fb7a1cc43e26bcecc2':
  sysui: refactor for extensibility
2016-03-26 20:42:49 +00:00
Muyuan Li
40e1135ea2 sysui: refactor for extensibility
Making mZenModeController in PSB protected.

Bug: 27101250
Change-Id: Ibb3e66fb59b245aa293bbc32d1c1009ac1a0499a
(cherry picked from commit ac72fc49227fc02a919827a877637df4b0a65cf0)
2016-03-26 20:38:00 +00:00
Muyuan Li
fc2f2a1bad Merge "Removed redundant public modifier in CommandQueue.Callbacks" into nyc-dev am: df79218
am: 7423fb8

* commit '7423fb86a35d97ed44150f45bea8eb6e693d38d0':
  Removed redundant public modifier in CommandQueue.Callbacks
2016-03-26 05:53:33 +00:00
Muyuan Li
7423fb86a3 Merge "Removed redundant public modifier in CommandQueue.Callbacks" into nyc-dev
am: df79218

* commit 'df79218cb2d008300277f19d80cad1c9f0b69c90':
  Removed redundant public modifier in CommandQueue.Callbacks
2016-03-26 05:50:57 +00:00
Muyuan Li
f78e304205 Merge "sysui: refactor for extensibility" into nyc-dev am: 16d62fc
am: 3df044d

* commit '3df044d633c0beb4afc181666d9cc415461b22a6':
  sysui: refactor for extensibility
2016-03-26 05:48:26 +00:00
Muyuan Li
3df044d633 Merge "sysui: refactor for extensibility" into nyc-dev
am: 16d62fc

* commit '16d62fc2bd92422b0a35971db1992582cde816b0':
  sysui: refactor for extensibility
2016-03-26 05:45:50 +00:00
Muyuan Li
df79218cb2 Merge "Removed redundant public modifier in CommandQueue.Callbacks" into nyc-dev 2016-03-26 05:42:55 +00:00
Muyuan Li
35b630c064 Removed redundant public modifier in CommandQueue.Callbacks
Change-Id: I31783f4aa68742c6a8a4ebe352ab7ec41e21c8fc
(cherry picked from commit eb1cfb75595cf5c7120396d7575bc2beaf4f1967)
2016-03-26 03:40:24 +00:00
Muyuan Li
5969004032 sysui: refactor for extensibility
Make mQsExpansionEnabled protected in NotficationPanelView.

Bug: 27836776
Change-Id: I35479e990607d6801effd3fa64fd3ffb1f9503dd
(cherry picked from commit 8af5736425d60641268943fe4d7e23a2b7d99c8a)
2016-03-26 03:26:04 +00:00
Jorim Jaggi
c5e9ad8f4c Fix background pivot point am: e661f40
am: 3d37922

* commit '3d37922e7e7607bb47b03cac79fa1e5754fa417d':
  Fix background pivot point
2016-03-26 02:30:22 +00:00
Jorim Jaggi
3d37922e7e Fix background pivot point
am: e661f40

* commit 'e661f4001c2729737618eccaf9032c2d2e4281bc':
  Fix background pivot point
2016-03-26 02:27:41 +00:00
Jorim Jaggi
e661f4001c Fix background pivot point
Bug: 27859759
Change-Id: Id4d77d3bd17ae96441960717a4ffe0bf4831562e
2016-03-26 02:20:43 +00:00
Winson
f4bf67a440 Merge changes I2586b90d,I67111528,I9aeb191a into nyc-dev am: 67533ee
am: 2f1b6bc

* commit '2f1b6bce0a47b20cc51911c6e95116578443fb1c':
  Fix config change layout. (Part 2)
  Fixing issue with tasks being laid out with the wrong bounds.
  Launch state/config change audit. (Part 1)
2016-03-26 02:03:56 +00:00
Jorim Jaggi
b3e479b7d3 Hide window swapping behind a flag am: 6885598
am: 5c19190

* commit '5c191905731b7da9e5e4eb468fe4caaf8681aa9e':
  Hide window swapping behind a flag
2016-03-26 02:03:54 +00:00
Winson
2f1b6bce0a Merge changes I2586b90d,I67111528,I9aeb191a into nyc-dev
am: 67533ee

* commit '67533eea19f58809c608fa28a3fedd092d06e5ef':
  Fix config change layout. (Part 2)
  Fixing issue with tasks being laid out with the wrong bounds.
  Launch state/config change audit. (Part 1)
2016-03-26 02:01:21 +00:00
Jorim Jaggi
5c19190573 Hide window swapping behind a flag
am: 6885598

* commit '6885598ba09b18038e61f268231aa53ed08ef44c':
  Hide window swapping behind a flag
2016-03-26 02:01:19 +00:00
Winson Chung
67533eea19 Merge changes I2586b90d,I67111528,I9aeb191a into nyc-dev
* changes:
  Fix config change layout. (Part 2)
  Fixing issue with tasks being laid out with the wrong bounds.
  Launch state/config change audit. (Part 1)
2016-03-26 01:55:50 +00:00
Jorim Jaggi
6885598ba0 Hide window swapping behind a flag
Bug: 27859522
Change-Id: I0e1e578d2d91f7572b0978dbb12ed143acbdf1e1
2016-03-26 01:55:12 +00:00
Winson
619e40cd56 Fix config change layout. (Part 2)
- Fixing issue where the initial state was not correct after rotating
  the screen.  We needed to update the layout, but that could only be 
  done after the task stack view is laid out.  Now we set a flag to 
  update the initial state of the layout on configuration change, and 
  only scrolling to the front when it makes sense.

Change-Id: I2586b90d1e869708b97bcd1a4446f4d87fa521cc
2016-03-25 18:54:43 -07:00
Winson
f9357d9b31 Fixing issue with tasks being laid out with the wrong bounds.
- When hovering over a drop target, we update the stack bounds, which 
  changes the task rect.  If we happen to pick up new tasks and measure
  them during this point, they will be measured with the wrong rect, and
  once you stop dragging over a drop target, they will not have the 
  right bounds.

Change-Id: I6711152878a4afd48518e01477fd793a4c132648
2016-03-25 18:39:05 -07:00
Jorim Jaggi
fb76baa6f5 Merge "Some divider handling fixes" into nyc-dev am: 03ebf50
am: 89b9226

* commit '89b92263276630a9f561a2aea55f43e3f90e12b3':
  Some divider handling fixes
2016-03-26 01:28:31 +00:00
Jorim Jaggi
89b9226327 Merge "Some divider handling fixes" into nyc-dev
am: 03ebf50

* commit '03ebf5086a82ad0b29e02fbe3785ce255af92b14':
  Some divider handling fixes
2016-03-26 01:26:00 +00:00
Jorim Jaggi
03ebf5086a Merge "Some divider handling fixes" into nyc-dev 2016-03-26 01:18:46 +00:00
Winson
a1ededd056 Launch state/config change audit. (Part 1)
- Fixing issue with onResume logic being run even when the window focus
  is changing.  This only needs to be run when we are launching into 
  Recents again.
- Removed a bunch of launch state flags that are no longer necessary 
  because of changes to configuration handling.  This reduces the work
  that we have to do on resize, etc.
- Decoupled the resume with the stack-update, which fixes a couple 
  issues where we were updating the layout unexpectedly.
- Fixed an issue where we were not updating the nav bar scrims on 
  configuration change
- Fixing margin start/end regression in header bar
- Fixing small issue with paddings being scaled beyond their base size
- Fixing issue where the clip state was not properly getting reset 
  causing lots of overdraw.

Change-Id: I9aeb191a99ff23807b3f5d905f6480b10157a060
2016-03-25 18:16:46 -07:00
Jorim Jaggi
8dccd23675 Some divider handling fixes
- Fix calculation on which side to apply dimming.
- Fix dismissing parallax logic for new resize handling.
- Remove wrong/unnecessary resizeStack call

Bug: 27738239
Change-Id: Iaac671ca03e19aa70fa779d319b5fe84ff3b40ba
2016-03-25 18:10:14 -07:00
Jorim Jaggi
c2e27322df Merge changes from topic \'recents_transition\' into nyc-dev am: a04c532
am: ea42b59

* commit 'ea42b59a06f27b9ba282b448aec1d93436221711':
  Implement transition for docking task in recents #6
  Implement transition for docking task in recents #5
  Implement transition for docking task in recents #4
  Implement transition for docking task in recents #3
  Implement transition for docking task in recents #2
  Implement transition for docking task in recents #1
  Show a scrim activity if task is not resizable
2016-03-25 22:35:08 +00:00
Jorim Jaggi
ea42b59a06 Merge changes from topic \'recents_transition\' into nyc-dev
am: a04c532

* commit 'a04c532a09b8d946ebc9a086f673220059218869':
  Implement transition for docking task in recents #6
  Implement transition for docking task in recents #5
  Implement transition for docking task in recents #4
  Implement transition for docking task in recents #3
  Implement transition for docking task in recents #2
  Implement transition for docking task in recents #1
  Show a scrim activity if task is not resizable
2016-03-25 22:32:27 +00:00
Jorim Jaggi
a04c532a09 Merge changes from topic 'recents_transition' into nyc-dev
* changes:
  Implement transition for docking task in recents #6
  Implement transition for docking task in recents #5
  Implement transition for docking task in recents #4
  Implement transition for docking task in recents #3
  Implement transition for docking task in recents #2
  Implement transition for docking task in recents #1
  Show a scrim activity if task is not resizable
2016-03-25 22:22:05 +00:00
Jorim Jaggi
c69bd2246f Implement transition for docking task in recents #6
- Use a future to provide the app thumbnail so the app can restart
in parallel when recents draws the bitmap (extremely expensive).
- Don't call startRecents from AM when recents is already running - this
messes up the transition information.
- Make sure to put the task into resizing mode if it needs to be restored
from the disk.
- Some minor fixes for the transition animation spec.
- Add NO_MOVE_ANIMATION to recents flags to prevent wallpaper
flickering.

Bug: 27607141
Change-Id: I7d0c75b88775ab467927b8cf94303ddb60222e7f
2016-03-25 15:13:36 -07:00
Jorim Jaggi
0b46f3c72c Implement transition for docking task in recents #2
- Put window into resizing mode when docking it from recents,
so it fills the "void".
- Send whole task bitmap window as the thumbnail, to make
the transition smoother.

Bug: 27607141
Change-Id: Ib647d44d9777f1155deab818d1fd5425c1bdd3d1
2016-03-25 14:30:40 -07:00
Jorim Jaggi
192086eb8a Implement transition for docking task in recents #1
- When the docking transition is happening, defer updating
the bounds of the home stack until the transition is done.
This is to preserve the scrim which is drawn in the recents
activity.
- Use the PROLONG_AT_START infrastructure to hide the task
in recents when starting the app transition.
- When recents finally get resized at the end of the transition,
reset it's draw state so we don't move the old surface around,
and the new surface gets drawn at the new position, to avoid
flickering.
- Remove hack around not layouting docked divider if it's not
visible, it's not needed anymore and resulted in a wrong
initial position.
- Fix animation selection for docked stack divider.
- Make sure win.moved() always gets called.

Bug: 27607141
Change-Id: I76c35f09461f044a90e2c88335008284b5839cc0
2016-03-25 14:27:58 -07:00