History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/WindowManagerProxy.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e75a9adfbd37f9ec1a9324caceb9d5d7ceed217c 19-Mar-2016 Wale Ogunwale <ogunwale@google.com> Added support to specify animation duration when resizing stack

Needed for sys-ui to control the duration of various Pip transitions.

Bug: 27674339
Change-Id: I7bad27aaa19755a73c594e88b88b56db033e1a45
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/WindowManagerProxy.java
d47e7e1176dcf6961c7c9fce215f48f03a5098d1 01-Mar-2016 Jorim Jaggi <jjaggi@google.com> Add ability to swap docked/fullscreen stack

Adds tap affordance that moves all tasks of the docked
stack into the fullscreen stack as well as moves the top task
of the fullscreen stack into the docked stack.

Also make sure not to trigger focus switch when tapping the divider
handle. For that, add a method so SysUI can specify the touchable
region which then gets excludes for the focus switch touch region.

Bug: 27358134
Change-Id: I34f39c53cacc0b9c00f87a792b88c3f64a5f61e1
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/WindowManagerProxy.java
067e817585524aeb0fb2c5ff4444c21fadc3f0d3 04-Feb-2016 Jorim Jaggi <jjaggi@google.com> Only treat "null" bounds as fullscreen

When long pressing on the recents button, we made it one pixel smaller
than fullscreen so we don't dismiss the stack immediately again.
However, this is a huge hack, and lead to problems with navigation bar
background because there we actually rely on the fact whether
the window is fullscreen or not to determine whether to draw the
navigation bar background, which lead to flickering.

Bug: 26777526
Change-Id: Ifdfcf3ad4138bc88c5164177cd20f1ff1635085f
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/WindowManagerProxy.java
84fa3351a21b37d02fafd634a8de65cf6cd04c4d 26-Jan-2016 Filip Gruszczynski <gruszczy@google.com> Animate pinned stack resizing.

This introduces animating of stack bounds within window manager
module. It also uses this type of animation when moving an activity from
fullscreen stack to pinned stack.

Bug: 25672053
Change-Id: I75914a685d10021f8a7535b47ef12b6920b3fd5e
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/WindowManagerProxy.java
9101d2664388e234de1a2b3fd9e82fd777c1c407 15-Jan-2016 Wale Ogunwale <ogunwale@google.com> Allow AMS.moveTasksToFullscreenStack moving tasks onTop

Bug: 26573473
Change-Id: I4517ac2b3e803637971c329be2511ba66412d815
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/WindowManagerProxy.java
5098159ae31bc59aa3857fecb1847f8d7bb73e54 29-Dec-2015 Jorim Jaggi <jjaggi@google.com> Dim stack while dismissing

When dismissing the docked or fullscreen stack, a dim layer is
introduced for a nicer visual effect.

Change-Id: I9f12e331e978208aa9fd9e9883b3c8a36d4da3a0
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/WindowManagerProxy.java
dc249c4ae7c7838928f53f151bfda8a6817b8784 15-Dec-2015 Jorim Jaggi <jjaggi@google.com> Change behavior when resizing docked stack

- Add an API resizeDockedStack to resize the docked stack
and supply temporary task bounds, which can be different from
the stack bounds.
- Use that API in SystemUI to only switch task bounds when
crossing thresholds, so we have less flickering and more
predictable resizing.

Bug: 25015474
Bug: 26311778
Change-Id: Id5c9277dd908ccc28f95dab023efc914757a50d0
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/WindowManagerProxy.java
b3da834a914354741389e4dea16117b1d68c2ca4 11-Dec-2015 Filip Gruszczynski <gruszczy@google.com> Move tasks to fullscreen stack when dismissing docked stack.

When we dismissing a docked stack we don't want to get rid of it,
but instead make it available in the full screen stack. We need to
make sure that it goes into the bottom of the stack and prevent it
from taking focus or running any animation, so the operation is
invisible to the user.

Bug: 25840497
Bug: 25823213
Change-Id: Ibd08d7b723a2847d98c435f79541d5eb43587064
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/WindowManagerProxy.java
870ab5a15cf8dfff16148868c0397445087e8462 03-Dec-2015 Jorim Jaggi <jjaggi@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/WindowManagerProxy.java
8b717e7ad12f07b19870bb37251c0cf20093381d 11-Nov-2015 Jorim Jaggi <jjaggi@google.com> Make all calls go through mExecutor

So we don't run into race conditions when both the main thread and
the executor thread are calling into window manager.

Bug: 25591212

Change-Id: I6d02170f6b105c9b7b861b6dfc4b76452632d562
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/WindowManagerProxy.java
1fcbab6ae5c99acab70eacc015d194e2c6ddd4e2 04-Nov-2015 Jorim Jaggi <jjaggi@google.com> Implement divider UX interactions

- Update visuals to spec
- Divider lifts when touching
- Implement basic version of snap points and animations
- Implement touch conflict behavior: If touched around 48x48dp
area around the handle, the divider handles all these touches.
If touched outside of the black background divider, touch goes
directly to underlying window. If touch on the black background
divider, touch is considered slippery and thus the window in
which the touch trace moves gets the touches.

Change-Id: I0307c191ae032672c4b73d439c23cf9833d3fce6
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/WindowManagerProxy.java