summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJoshua Tsuji <tsuji@google.com>2020-06-08 11:18:40 -0400
committerJosh Tsuji <tsuji@google.com>2020-06-10 03:59:30 +0000
commit06785ab656c629c993e448f91afe8e977e911b9d (patch)
tree2cb6b8f7df757252fc9350cfc5ad3289dcba6137 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentb1215125800bfba2b6566028842e070cb4378922 (diff)
ActivityView animations!
Expand/collapse animations work by applying a matrix to the expanded view container - this is a) fast b) allows for pivot scale animation c) works around some weirdness with "actually" scaling the view, since the matrix transform is applied after the AV draws. Switch animations work by snapshotting the current bubble's surface into graphics memory, rendering that into a SurfaceView, and animating the SurfaceView out. Memory profiler indicates this does not use additional memory (since those pixels were already in graphic memory anyway, and released as soon as the animation ends). Test: lots and lots of manual testing Fixes: 123306815 Fixes: 135137761 Merged-In: I0b01dab4bb0c82873afc55d054bafc672bacc8bf Change-Id: I0b01dab4bb0c82873afc55d054bafc672bacc8bf
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions