summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/screenshot/ImageTile.java
Commit message (Collapse)AuthorAgeFilesLines
* Long screenshots: Fix clipRect for ImageTileMark Renouf2021-02-111-1/+1
| | | | | | Bug: 179378294 Test: manual Change-Id: I5629edffb773854a32c77af290409a4d10ab652c
* Implements initial long screenshot preview UIMark Renouf2021-01-281-7/+8
| | | | | | | | This integrates UI to preview and take action on long screenshots. Bug: 170137878 Test: manual, take screenshot, invoke long screenshot feature Change-Id: I820a3f34b6cd740786c7360382ac3f148bc126fd
* Adds a model & view layer for long screenshot tilesMark Renouf2021-01-071-0/+113
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