Commit Graph

61130 Commits

Author SHA1 Message Date
Jorim Jaggi
c8749149d8 Fix configuration calculation when task is non-fullscreen
am: 82c9dc951e

* commit '82c9dc951e8e19b9eab6120b6465e08c5d69beba':
  Fix configuration calculation when task is non-fullscreen
2016-02-19 23:07:46 +00:00
Jorim Jaggi
82c9dc951e Fix configuration calculation when task is non-fullscreen
Apparently only the navigation bar is excluded when calculating
Configuration.screenLayout. Make the calculation for non-fullscreen
tasks consistent with fullscreen tasks.

Change-Id: I027e41e49ffe95245116f3d134e0bc93af0ee450
2016-02-19 22:59:34 +00:00
Doris Liu
edbb35074d Merge "End staging animators when destroy RootRenderNode" into nyc-dev
am: 46151a4739

* commit '46151a4739b0ab9620010b16551e60471c959244':
  End staging animators when destroy RootRenderNode
2016-02-19 22:55:57 +00:00
Doris Liu
d1dd6ade33 Merge "Revert "Revert "Check RenderNode\'s owning view before attaching animators""" into nyc-dev
am: e87a74e1a3

* commit 'e87a74e1a3511b2bc5a5c15936a9a52bd8724ea3':
  Revert "Revert "Check RenderNode's owning view before attaching animators""
2016-02-19 22:53:00 +00:00
Doris Liu
1a6d0bbed5 Merge "VectorDrawable native rendering - Step 5 of MANY" into nyc-dev
am: 0a1cdee33e

* commit '0a1cdee33e279463e40c43c0fac31e581b25ad4b':
  VectorDrawable native rendering - Step 5 of MANY
2016-02-19 22:51:20 +00:00
Doris Liu
46151a4739 Merge "End staging animators when destroy RootRenderNode" into nyc-dev 2016-02-19 22:45:55 +00:00
Doris Liu
e87a74e1a3 Merge "Revert "Revert "Check RenderNode's owning view before attaching animators""" into nyc-dev 2016-02-19 22:45:16 +00:00
Doris Liu
0a1cdee33e Merge "VectorDrawable native rendering - Step 5 of MANY" into nyc-dev 2016-02-19 22:44:52 +00:00
Jorim Jaggi
659653ab50 Merge "Fix clip reveal animation in docked window case" into nyc-dev
am: 36548847f2

* commit '36548847f27d4f912104ff2e547bd3b6ec23a01c':
  Fix clip reveal animation in docked window case
2016-02-19 22:36:00 +00:00
Jorim Jaggi
36548847f2 Merge "Fix clip reveal animation in docked window case" into nyc-dev 2016-02-19 22:27:32 +00:00
Doris Liu
350e65206c End staging animators when destroy RootRenderNode
When animation happens in a dialog, it is possible for the dialog to
be dismissed and RootRenderNode to be destroyed before we create
animation handle for the staged animators. In that case, we need
to remove the staged animators so they will not run without a
animation handle.

Bug: 26975079
Change-Id: I0c2c6c1b530beaec3984c0b1c410df4fd8f25c95
2016-02-19 14:20:37 -08:00
Jorim Jaggi
7e17f73b69 Merge "New behavior for docked stack when going home" into nyc-dev
am: 0bea7ebf56

* commit '0bea7ebf56d00513411378d6b287878ccaa028e1':
  New behavior for docked stack when going home
2016-02-19 22:19:02 +00:00
Jorim Jaggi
8fe7e0a88e Fix clip reveal animation in docked window case
- Move ClipRectTB/LRAnimation to wm package, because that's the only
place we use it.
- Extend ClipRectTBAnimation to combine it with translation animation
so the clipping gets applied after the translation.
- Fix clip reveal transitions when a window is docked.
- Make the docked divider minimizing animations synchronized with clip
reveal animation.

Bug: 27154882
Bug: 22174716

Change-Id: If5c94c777f3b51c6f53f6f34cc261bf3439cfc88
2016-02-19 14:15:20 -08:00
Jorim Jaggi
0bea7ebf56 Merge "New behavior for docked stack when going home" into nyc-dev 2016-02-19 22:14:46 +00:00
Jason Monk
b134b53f38 Merge changes Iaf1ee1e6,I861cb65d into nyc-dev
am: d2308771f0

* commit 'd2308771f011c6277fc2e5e2e5f78e35d2cf22e6':
  Add TileService settings API
  Add QS long-press -> Settings
2016-02-19 22:01:22 +00:00
Jason Monk
d2308771f0 Merge changes Iaf1ee1e6,I861cb65d into nyc-dev
* changes:
  Add TileService settings API
  Add QS long-press -> Settings
2016-02-19 21:53:44 +00:00
Doris Liu
8b083206ae Revert "Revert "Check RenderNode's owning view before attaching animators""
This reverts commit eb40178af3.

Change-Id: I6838ecb35b50847746ee66ac204f14eb5f579b91
2016-02-19 13:52:41 -08:00
Doris Liu
c4bb185d41 VectorDrawable native rendering - Step 5 of MANY
This is reverting the revert of what reverts the revert of the original
implementation. Fourth revert is a charm!

This reverts commit df7fdb1e0b.

Change-Id: I6fc3a5accfd8b79c3da31bbc101ad9e9b4d6e7dd
2016-02-19 13:51:31 -08:00
Jason Monk
724214a878 Add TileService settings API
It will be used for long-clicks on TileServices when available.
Otherwise will default back to app info for the app providing the
tile.

Bug: 27269699
Change-Id: Iaf1ee1e6fe6e1357cda32c74bfdc0c26af0f5901
2016-02-19 16:43:00 -05:00
Jason Monk
76c67aa361 Add QS long-press -> Settings
Bug: 27269699
Change-Id: I861cb65dbb6609d9c95d5341f5f5aebc3cc519f3
2016-02-19 16:42:50 -05:00
Adam Lesinski
b3d7561883 Remove extraneous field from batterystats dumpsys
am: 2208e743e4

* commit '2208e743e4c2da29008f6503c2d678c7e28e7812':
  Remove extraneous field from batterystats dumpsys
2016-02-19 21:08:51 +00:00
Adam Lesinski
2208e743e4 Remove extraneous field from batterystats dumpsys
Change-Id: Iea913e993e61d114c499e6218ad0abf9a8e80690
2016-02-19 21:03:43 +00:00
Jorim Jaggi
42625d1bc7 New behavior for docked stack when going home
- We keep the docked stack visible when home task is visible even
though it's not resizable.
- We introduce the a new concept called "minimizing" the docked stack,
which happens when going home. In this state, the docked stack is
clipped of almost completely.
- To achieve that, we introduce TaskStackBoundsAdjustController,
which adjusts the bounds of the docked stack when minimized. Also,
migrate the IME handling to this new class.
- We also need to inform SysUI that it is now minimized so it can
remove the drag affordance on the divider, and also make it a bit
smaller.
- When we detect an app transition, we check whether the home stack
gets visible/invisible. We then start an animation which runs in
sync with the normal app transition. For that we introduce
DockedStackDividerController.animate(), which performs the animation.

Bug: 27137961
Change-Id: I8623bc73cc6872bf28c5b1b8d5795974576811b2
2016-02-19 12:11:11 -08:00
Julia Reynolds
f7f055e407 Merge "Remove Notification Topics." into nyc-dev
am: 73d96fb4bb

* commit '73d96fb4bbe1e3796e655314619bf9897d07c929':
  Remove Notification Topics.
2016-02-19 19:25:04 +00:00
Julia Reynolds
73d96fb4bb Merge "Remove Notification Topics." into nyc-dev 2016-02-19 19:17:25 +00:00
Jason Monk
0aecf08207 Merge changes Ie427a2d8,I213f1f76 into nyc-dev
am: ea168d229d

* commit 'ea168d229d316c84652e88ad0f19adbaa884d731':
  SysUI Tuner: UI cleanup and grouping
  SysUI Tuner: Night mode v3
2016-02-19 18:59:47 +00:00
Jason Monk
ea168d229d Merge changes Ie427a2d8,I213f1f76 into nyc-dev
* changes:
  SysUI Tuner: UI cleanup and grouping
  SysUI Tuner: Night mode v3
2016-02-19 18:50:05 +00:00
Svetoslav Ganov
d24ac9abd6 Merge "Don\'t hold a lock while reading shared preferences from disk." into nyc-dev
am: 5350306989

* commit '53503069895918a59a305addaac84ea11937edcf':
  Don't hold a lock while reading shared preferences from disk.
2016-02-19 17:17:48 +00:00
Svetoslav Ganov
5350306989 Merge "Don't hold a lock while reading shared preferences from disk." into nyc-dev 2016-02-19 17:12:40 +00:00
Svet Ganov
96db26032e Don't hold a lock while reading shared preferences from disk.
Shared prefrences loads thir content from disk on a separate
thread to improve performance, however it holds the lock
the whole time  while reading from disk which as a result blocks
operations that don't rely on reading data from being performed
intil load completes, e.g. reguistering a prefernces change
listener does not depend on having the data loaded.

bug:5254577

Change-Id: I5ad67b285631c34d5aadac7138ba8bfaa728cf94
2016-02-19 09:11:39 -08:00
Esteban Talavera
d76c5fedc8 Merge "Update DevicePolicyManager parent instance documentation" into nyc-dev
am: 44da29407f

* commit '44da29407f3228811d5c1387a184fc68c388c5c7':
  Update DevicePolicyManager parent instance documentation
2016-02-19 09:42:28 +00:00
Esteban Talavera
44da29407f Merge "Update DevicePolicyManager parent instance documentation" into nyc-dev 2016-02-19 09:37:23 +00:00
Toby Sargeant
9381d8c44b Merge "add developer setting for multiprocess webview" into nyc-dev
am: a7000fa864

* commit 'a7000fa8648af2457ab07cc736e2314bbc7eba22':
  add developer setting for multiprocess webview
2016-02-19 09:19:02 +00:00
Toby Sargeant
a7000fa864 Merge "add developer setting for multiprocess webview" into nyc-dev 2016-02-19 09:14:56 +00:00
Colin Cross
4bf50e486f resolve merge conflicts of bd45c08468 to nyc-dev-plus-aosp
Change-Id: Ifdf52646440b65ca4b3aadc8bba212b5f1fd0c0d
2016-02-18 22:27:04 -08:00
Colin Cross
bd45c08468 Merge "Add dumpsys meminfo --unreachable"
am: 916ea08119

* commit '916ea081196a47ef3257910a71fa7a7ac609ddb1':
  Add dumpsys meminfo --unreachable
2016-02-19 06:14:50 +00:00
Colin Cross
916ea08119 Merge "Add dumpsys meminfo --unreachable" 2016-02-19 06:10:36 +00:00
Lorenzo Colitti
7f31662fb0 Add a MessageUtils class to convert int constants to strings. am: d2457a3ee3
am: a2a9ab947f

* commit 'a2a9ab947f248f35bafb9dd74b46016c3aa31820':
  Add a MessageUtils class to convert int constants to strings.
2016-02-19 05:54:06 +00:00
Lorenzo Colitti
a2a9ab947f Add a MessageUtils class to convert int constants to strings.
am: d2457a3ee3

* commit 'd2457a3ee39ea55ed8e302bd93feede793cb5055':
  Add a MessageUtils class to convert int constants to strings.
2016-02-19 05:01:56 +00:00
Svetoslav Ganov
8a20395156 Merge "Improve requestPermissions API docs and throw correct exception." into nyc-dev
am: 0f3431b616

* commit '0f3431b616e03fe76cb52cabad209f95e1d7899c':
  Improve requestPermissions API docs and throw correct exception.
2016-02-19 04:10:02 +00:00
Svetoslav Ganov
0f3431b616 Merge "Improve requestPermissions API docs and throw correct exception." into nyc-dev 2016-02-19 04:03:50 +00:00
Svet Ganov
f66381cd0d Improve requestPermissions API docs and throw correct exception.
bug:26220898

Change-Id: Iebda3fe13b963b10829de917fb00a9a14186b72c
2016-02-18 20:02:40 -08:00
Yohei Yukawa
887f7c0fe3 Merge "Introduce InputConnection#getHandler()." into nyc-dev
am: 116d872d9c

* commit '116d872d9c3167a270407af374d4696efa1b21d7':
  Introduce InputConnection#getHandler().
2016-02-19 02:52:35 +00:00
Yohei Yukawa
116d872d9c Merge "Introduce InputConnection#getHandler()." into nyc-dev 2016-02-19 02:36:50 +00:00
Lorenzo Colitti
d2457a3ee3 Add a MessageUtils class to convert int constants to strings.
This class uses reflection to find accessible static integer
members in a specified list of classes and returns a SparseArray
mapping the integers to their names. This will allow us to
replace various 400-line switch statements with a simple
array access.

Change-Id: I3607e6389a423cde0bd83270c00b3c863ae1bb29
2016-02-19 10:26:55 +09:00
Abhijith Shastry
0c5a42fc6f Merge "Make BlockSuppressalStatus constructor public so that it can be constructed by the provider." into nyc-dev
am: 5042001350

* commit '5042001350bcc74fc58a77eb1122dc4a64a703df':
  Make BlockSuppressalStatus constructor public so that it can be constructed by the provider.
2016-02-19 00:26:16 +00:00
Abhijith Shastry
5042001350 Merge "Make BlockSuppressalStatus constructor public so that it can be constructed by the provider." into nyc-dev 2016-02-19 00:21:16 +00:00
Abhijith Shastry
a4e836c174 Make BlockSuppressalStatus constructor public so that it can be constructed by the provider.
BUG: 26989170
Change-Id: I9fae7fc03b34b4081c7096eb13fa38737b52efe6
2016-02-18 16:15:58 -08:00
Adam Powell
e0967f875e Merge "Fix NPE for Fragment#setUserVisibleHint(true)" into nyc-dev
am: 35c8e0fcf2

* commit '35c8e0fcf2e26f24ac21bb3df87158d4a0f4587f':
  Fix NPE for Fragment#setUserVisibleHint(true)
2016-02-18 23:53:06 +00:00
Adam Powell
35c8e0fcf2 Merge "Fix NPE for Fragment#setUserVisibleHint(true)" into nyc-dev 2016-02-18 23:44:15 +00:00