e15352e516fb6ecde12866f0eb27c32470ddbded |
|
21-Dec-2016 |
Matthew Ng <ngmatthew@google.com> |
Splitscreen for minimized state that works with resizable launchers If a launcher is resizable, going to minimized mode (dock task and then press home) would show a cropped height of the task at the top in a minimized state and the fullscreen stack would show the home launcher which takes the rest of the remaining height. If the launcher is not resizable, it will default the original behavior. To enable this in a launcher, add android:resizeableActivity="true" in the AndroidManifest.xml in the <application/> tag. Test: manual - rotating while minimized, minimizing using dragging task or holding overview nav button, installing resizable launcher with a non-resizable launcher Fixes: 32504542 Change-Id: Idf4015b40f9bec81b70f146f0f2d7df8ccfb4cf0
/frameworks/base/core/java/android/view/IDockedStackListener.aidl
|
698e7634aa2ced554f564f588c2e878fb35757a3 |
|
14-Apr-2016 |
Jorim Jaggi <jjaggi@google.com> |
Disable resize when IME is adjusted Bug: 28175599 Change-Id: I338dd230443973d912f17946ed722789b0f545a2
/frameworks/base/core/java/android/view/IDockedStackListener.aidl
|
2917dc4918ab2061f6cab3d181d19ea8375df9f6 |
|
11-Apr-2016 |
Jorim Jaggi <jjaggi@google.com> |
Add shadow for minimized dock Bug: 27972642 Change-Id: Ic4c8145f61694ff2bb0e237da1142093c6a4d965
/frameworks/base/core/java/android/view/IDockedStackListener.aidl
|
42625d1bc7ef99c4d4435e8cdebfe3eee57b8d97 |
|
12-Feb-2016 |
Jorim Jaggi <jjaggi@google.com> |
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
/frameworks/base/core/java/android/view/IDockedStackListener.aidl
|
a6c934e2a3e6ddec6549cea55b7bece02348c6f8 |
|
21-Dec-2015 |
Jorim Jaggi <jjaggi@google.com> |
Use different asset when docked stack exists - Add the ability to add a listener when the existence of the docked stack changes. - Register SystemUI as such a listener and switch the recents button asset when docked stack exists. Change-Id: I05350878c5adc7ad9f0399f0c42d8d1615d44d02
/frameworks/base/core/java/android/view/IDockedStackListener.aidl
|