Commit Graph

55794 Commits

Author SHA1 Message Date
Siyamed Sinir
8771900fd3 Merge "JavaDoc for ReplacementSpan getSize & draw functions." into nyc-dev
am: 74615b9859

* commit '74615b985928dfebcf0a41afa39ffe0ef7cfd778':
  JavaDoc for ReplacementSpan getSize & draw functions.
2016-02-20 01:56:59 +00:00
Siyamed Sinir
74615b9859 Merge "JavaDoc for ReplacementSpan getSize & draw functions." into nyc-dev 2016-02-20 01:52:38 +00:00
Yohei Yukawa
bda1ce850f Merge "Remove unused InputMethodInfo#isEncryptionAware()." into nyc-dev
am: 263e21f12c

* commit '263e21f12cba4a2c5b4a6ac07fad55a4afc2ec45':
  Remove unused InputMethodInfo#isEncryptionAware().
2016-02-20 00:49:04 +00:00
Svetoslav Ganov
b4c337e65a Merge "Discard prefetched disconnected predecessors of a virtual node." into nyc-dev
am: 3c3e271447

* commit '3c3e271447a213f1cb5c34ed088cbb2c01b6cd43':
  Discard prefetched disconnected predecessors of a virtual node.
2016-02-20 00:47:44 +00:00
Yohei Yukawa
263e21f12c Merge "Remove unused InputMethodInfo#isEncryptionAware()." into nyc-dev 2016-02-20 00:33:22 +00:00
Svetoslav Ganov
3c3e271447 Merge "Discard prefetched disconnected predecessors of a virtual node." into nyc-dev 2016-02-20 00:32:58 +00:00
Svet Ganov
75e5816102 Discard prefetched disconnected predecessors of a virtual node.
bug:18247269

Change-Id: I24f1ed1e9aa44fbb847722833fe68a1eef7e92c5
2016-02-19 16:29:33 -08:00
Vadim Tryshev
935755cc3b Merge "Add Wallpaper.getBitmapAsUser()" into nyc-dev
am: a6a127747a

* commit 'a6a127747ae04c12966737b3792dc5df4402c292':
  Add Wallpaper.getBitmapAsUser()
2016-02-20 00:20:30 +00:00
Yohei Yukawa
d9550a7545 Remove unused InputMethodInfo#isEncryptionAware().
This logically reverts a previous CL [1], which added
InputMethodInfo#isEncryptionAware() for File-Based Encryption (FBE)
support, since it turns out that the method in question is unnecessary
to make InputMethodManagerService encryption-aware.

  [1]: Icf921fe3661eccf4a589b08b616d05decc561356
       69811a98f1

Bug: 26279466
Change-Id: Ia4884bf5922ad453d4b9e5e3c6f0d17b36dc205d
2016-02-20 00:16:32 +00:00
Vadim Tryshev
a6a127747a Merge "Add Wallpaper.getBitmapAsUser()" into nyc-dev 2016-02-20 00:11:41 +00:00
Selim Cinek
147ad1680b Merge "Add support for custom media notifications" into nyc-dev
am: c68190ae90

* commit 'c68190ae903685a8243e82f94c03c325ba00e121':
  Add support for custom media notifications
2016-02-19 23:19:35 +00:00
Selim Cinek
9867f9ae34 Merge "Cleaned up the logic for the picture end margin" into nyc-dev
am: 54c857cda6

* commit '54c857cda62fbd3a86f5a74924fcea23b89bb1f5':
  Cleaned up the logic for the picture end margin
2016-02-19 23:17:45 +00:00
Selim Cinek
3145572f64 Merge "Added the possibility to show custom notifications decorated." into nyc-dev
am: 3c306d8acd

* commit '3c306d8acdb34b667ad55ad30a9a2119cad0e0ab':
  Added the possibility to show custom notifications decorated.
2016-02-19 23:09:22 +00:00
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
Selim Cinek
c68190ae90 Merge "Add support for custom media notifications" into nyc-dev 2016-02-19 23:04:42 +00:00
Selim Cinek
54c857cda6 Merge "Cleaned up the logic for the picture end margin" into nyc-dev 2016-02-19 23:04:26 +00:00
Selim Cinek
3c306d8acd Merge "Added the possibility to show custom notifications decorated." into nyc-dev 2016-02-19 23:03:38 +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
Yorke Lee
dcd93cc21a Add Wallpaper.getBitmapAsUser()
Add a new API to allow a wallpaper bitmap to be obtained for
a specific user.

Without this API, using only getWallpaperFile(..., userId), one
can't get a default wallpaper bitmap if the wallpaper is not set.

Bug: 25185253
Change-Id: Ibe1e9a49d22bee08fd4bed415573c1ee28526aea
2016-02-19 14:47:39 -08: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
Selim Cinek
03eb3b7c44 Add support for custom media notifications
Custom media notifications can now also be decorated by the system
instead of going fully custom.

Bug: 26961842
Change-Id: I1d85a652b93f10988939b471a14b372671acfaf1
2016-02-19 11:54:42 -08:00
Selim Cinek
247fa01931 Cleaned up the logic for the picture end margin
This allows decorated custom remote views to be properly
showing with a large image.

Bug: 24866646
Change-Id: Ie355e503437f19ace2503d42f44bee4bd22f03c8
2016-02-19 11:54:41 -08:00
Selim Cinek
593610c248 Added the possibility to show custom notifications decorated.
Bug: 26961842
Change-Id: I3966a4e6ecb05b9f284ec5b244b2594f78bcb337
2016-02-19 11:52:12 -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
Siyamed Sinir
c7ff969b47 JavaDoc for ReplacementSpan getSize & draw functions.
Added JavaDoc for ReplacementSpan’s getSize and draw functions.

Bug: 20616288
Change-Id: I033ae82b5de672c508d8cbcd69e942c236b2e674
2016-02-19 11:15:09 -08: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