summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorjorgegil@google.com <jorgegil@google.com>2021-05-21 10:44:43 -0700
committerjorgegil@google.com <jorgegil@google.com>2021-06-11 09:45:39 -0700
commite5f4c32ce8b37ccb72ed707b60c6270fc926f4a7 (patch)
treee383b73f61283915a6127734d5e40c3ce54b357f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentfe788b0b7b7a8297facb17ed0d29a7d053b0015a (diff)
Remove duplicate call to update PIP bounds on PIP expand
Remove the callback to update bounds in resizeAndAnimatePipUnchecked because: 1. animateResizePip already attaches a callback to update the bounds state in onAnimationEnd 2. it updates the bounds too early before finishResize() is called, which causes finishResize() to not know the pre-resize bounds needed to perform the crossfade animation Bug: 188829986 Test: enter PIP with seamless resize turned on, double-tap to expand and unexpand, crossfade animation looks right Change-Id: Id64222fe762b4db0d9ea739db434e8e6acb0b31a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions