summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2023-06-07 17:58:16 -0400
committer John Reck <jreck@google.com> 2023-06-08 12:36:46 -0400
commitb1c20eea9e53c2ae1147ce44ed25e524a4e51cc1 (patch)
tree9e6809591c424d3b15fbb4a2776515e95bb8728b /libs/androidfw/FileStream.cpp
parent64d7bea91622ce5f17f9d2c0ee0c16626846ba5a (diff)
Transform & preserve gainmaps
Have Bitmap.createBitmap(sourceBitmap, ...) preserve any gainmaps if present, transforming the gainmaps in the same way. This addresses 2 common usages: 1) Rotating bitmaps to handle EXIF orientations 2) Bitmap.createScaledBitmap() to do "static" scaling Bug: 286131154 Test: SilkFX GainmapTransformsTest Change-Id: I5a62dccbb2c70bc38cca581b161eef792c8b2a78
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions