diff options
author | Mark Renouf <mrenouf@google.com> | 2020-12-09 17:33:54 -0500 |
---|---|---|
committer | Mark Renouf <mrenouf@google.com> | 2021-01-07 16:44:00 -0500 |
commit | 327739493602d8ce1ba09813e0bc60d6469db8f2 (patch) | |
tree | 7947f517979d7d50cdab59a8c9264dcf26a42e9d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f167275f604bdb2d8bf58d35ba3a705111d737d1 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions