diff options
author | Miranda Kephart <mkephart@google.com> | 2021-06-18 10:06:50 -0400 |
---|---|---|
committer | Miranda Kephart <mkephart@google.com> | 2021-06-24 11:30:55 -0400 |
commit | a22342e8719ac5ca23221685adb62944f3489f1d (patch) | |
tree | 72ebcbddad446cd70bb9ac31de6dd9dedd87b1e7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a389edcf517e769c06542f775796088098d62631 (diff) |
Capture a new scrim for scrolling screenshots
The capture process for scrolling screenshots is disorienting
(since the app itself is actually scrolled on the display), so we
add a scrim on top. Previously we just used the original bitmap,
but this looks odd if the user scrolled between the original
capture and tapping the scroll button.
This change captures a new screenshot when the scroll button is
tapped, and shades/dims it to indicate to the user that the
scrolling process is happening.
Bug: 183197533
Test: manual; visual verification
Change-Id: Ief2111ecc93f90638c6b2abb8a8120b83e805c07
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions