diff options
author | Mark Renouf <mrenouf@google.com> | 2021-02-10 21:39:57 -0500 |
---|---|---|
committer | Mark Renouf <mrenouf@google.com> | 2021-02-11 12:29:26 -0500 |
commit | cb077ba635fc41eaf833305b010935487c082a95 (patch) | |
tree | 59407dd90aeebaa2306fc3cd70d4ce6023b6a7aa /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e8d910de023b1bf0021b82351d6c914ccafbad87 (diff) |
Long screenshots: Fix/simplify ImageTileSet.toBitmap
Bug: 179378294
Test: manual
There were subtle mistakes in the drawing which caused
bounds to fail when the image had tiles at negative
offsets. toBitmap now delegates to the drawable impl
which can already be cropped with setBounds
In addition this fixes mistakes in TiledImageDrawable
where translation is applied in the wrong direction
and cropRect applied in the wrong position.
Change-Id: Ica28e47031cb28353a49cdd657666f17115c4f6c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions