diff options
author | Hongwei Wang <hwwang@google.com> | 2020-05-29 12:51:52 -0700 |
---|---|---|
committer | Hongwei Wang <hwwang@google.com> | 2020-05-29 16:04:50 -0700 |
commit | b5333e999035ace5ef30d9b4d383c5f04faba19d (patch) | |
tree | 73e0372bf9b0f1b39852616b8fc0310ec5d2e6c0 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | c5401ef01559e59fa92a4ae5f30f1f00f4a4d50c (diff) |
Retain current position and expand state on `next video`
- When tap `next video` and SysUI receives onTaskInfoChanged callback,
it should keep the current expanded state, otherwise the PiP window
would immediately resized to its unexpanded size. Fixed this by using
current min edge when getDestinationBounds within onTaskInfoChanged
- When tap `next video`, we should also pass the current bounds to get
the new destination bounds, otherwise we would move PiP window to its
default position regardless of its current position
Video: http://go/recall/-/aaaaaabFQoRHlzixHdtY/hpXJhKI3CfDQ54a1sDmWyo
Bug: 157773582
Test: see video
Change-Id: I7515e88a2686015d0073181caa87df9426ff2f5b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions