summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorStan Iliev <stani@google.com>2018-01-30 16:56:15 -0500
committerLeon Scroggins III <scroggo@google.com>2018-02-02 10:26:57 -0500
commit5aec67ca1baaa5ce7af5062cec0437a72969d2f9 (patch)
tree2499dde6284af23353b8a73854bc8d23cad50742 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent34b58512cbec4b77803d412e4ce089a95dd1fec2 (diff)
Use ImageDecoder for NinePatchDrawable and BitmapDrawable
Don't scale NinePatchDrawable if bitmap has no density. Fixed bugs around density and input streams. Update PointerIcon to account for the fact that BitmapDrawable no longer scales its Bitmap up at decode time. PointerIcon now handles the scaling. This is necessary because PointerIcon never draws its Bitmap. Instead, native code uses the Bitmap's internal SkBitmap without accounting for density. Test: Ran CTS: - CtsUiRenderingTestCases - CtsGraphicsTestCases - CtsViewTestCases Change-Id: I030b4bb89c66b0102ccea2d85f5271197558d14e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions