summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2018-01-12 16:40:52 -0500
committerLeon Scroggins III <scroggo@google.com>2018-01-19 15:10:05 -0500
commit66c6d78908e0203a497c2e97398c824b2591ea19 (patch)
tree66458b84cfc27a4d08bd0490beea4f1df8ddaf86 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent671cce2605ed50c9aba73ab5bd530cb7741c53cd (diff)
Use ImageDecoder for BitmapDrawable
If required due to density mismatches the ImageDecoder will not upscale the image at decode time, but instead will decode at the bitmaps default size and upscale at draw time. This can be a significant memory savings for low-dpi assets being used on a high-dpi device. However, if the provided asset has a higher dpi level than the bitmaps default density then we will match BitmapFactories behavior and downscale the bitmap to match the default density. Bug: 63909536 Test: CtsGraphicsTestCases Change-Id: I189306b7a3b706bed32bb267970ade27a57c0e7f
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions