summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJacky Kao <jackykao@google.com>2020-02-05 17:16:23 +0800
committerJacky Kao <jackykao@google.com>2020-02-06 16:29:05 +0800
commit2fffd22b76a5b6f771c7169570ff0136e07cd133 (patch)
tree5a3e984b14b317bf102ad337299daa18c3562bb7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentdc50df397b4353883742cbcfc9fb4eaaef61ffa1 (diff)
Changing the return type of takeScreenshot() (2/n)
Implementing the new return type for A11y services to take the screenshot of the specified display. boolean takeScreenshot(int displayId, @NonNull @CallbackExecutor Executor executor, @NonNull Consumer<ScreenshotResult> callback) The return type is a new class, ScreenshotResult, including hardwareBuffer, colorSpace, and timestamp. A11y services could use the method, Bitmap#wrapHardwareBuffer, to obtain the bitmap. Bug: 10931661 Test: a11y CTS & unit tests Change-Id: I03eae10f0970d0e11e02c9d3f4031c4096b7b5b4
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions