diff options
author | Matt Casey <mrcasey@google.com> | 2021-06-16 15:13:18 -0400 |
---|---|---|
committer | Matt Casey <mrcasey@google.com> | 2021-06-23 09:47:48 -0400 |
commit | 2ec7b90b516ff741453affc03b78bb78fd28f3d3 (patch) | |
tree | d6638a0f26e56dad3d1923e6e448699fbd7deb79 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 2a7139a34f0cad1a884e85f92066c5939f118f8b (diff) |
Long screenshot fixes for apps that return less than the requested rect
- Use pixel height instead of tile count to determine ideal long screenshot height.
- After adding each tile, go back and see if there are gaps in the tile
set, if so then try to fill in the gap before continuing walking up or
down.
- Set max tiles to a constant as it's for system safety and not a
completion criteria in the common cases.
- Remove ImageTileSet's unused OnBoundsChangedListener (definition got
more complicated now that we're dealing with gaps).
Test: atest ScrollCaptureControllerTest
Test: atest FakeSessionTest
Bug: 189475409
Change-Id: I0cfc9519e7fa444d662ac41e0bef4fced785a98e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions