Skip to content
Commit 32773949 authored by Mark Renouf's avatar Mark Renouf
Browse files

Adds a model & view layer for long screenshot tiles

An ImageTile wraps an Image with an attached HardwareBuffer,
as received from an ImageReader as used by scroll capture.

ImageTileSet provides a drawable to present the result on-screen,
TiledImageDrawable maintains a display list which is updated when
notified of a change. This object can also produce a Bitmap as
output for export to a compressed image.

This change also tightens up the ScrollCaptureClient interface
to internally define tile size and limits. Instead of accepted
arbitrary rectangles, accept only a single y-coordinate to
specify the verical position of the tile to capture.

Bug: 174571735
Bug: 148519342
Test: manually, take long screenshot
Change-Id: I81032766c33396f51cb117f87a4d65288990f66d
parent f167275f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment