diff options
author | Ben Lin <linben@google.com> | 2020-02-27 17:48:16 -0800 |
---|---|---|
committer | Ben Lin <linben@google.com> | 2020-03-04 20:03:27 +0000 |
commit | 7d6b8e746b4aaecd69847fadcc66c2bc61a13343 (patch) | |
tree | 2bc7b1e004368816098a565da075854cc55c5fd4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 39c9570d459da54aac59a615b9cadd0397383144 (diff) |
Implement PIP Leash resizing.
This CL does a couple of things:
- Break apart resizePinnedStack into animateResizeStack and
resizeStackIntermediate, in which the latter is expected to only do
maniuplation on the leash itself but don't send any
WindowContainerTransaction until #finishResize is called.
- Break apart the coupling where the duration signifies whether we only
do manipulation on the leash, or send over a WCT. Now we can choose to
either resize leash only, or animate correctly an entire resize with
animation = 0.
- Have PipResizeGestureHandler call on #finishResize and
resizePipStackIntermediate during MOVE and UP events, respectively
Bug: 147361175
Test: Manually. Resize PIP.
Change-Id: Id3953904a7d626880855eab043abfb8d8a8d9b11
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions