diff options
author | Mark Lu <marklu@google.com> | 2016-06-27 11:53:49 -0700 |
---|---|---|
committer | Mark Lu <marklu@google.com> | 2016-06-27 18:14:44 -0700 |
commit | 92f003ff64717600bf1bdd545f89f38a26c9c278 (patch) | |
tree | 8d8ddc9fdf60f076395e009bc39665582817c8f8 /tools/aapt2/diff/Diff.cpp | |
parent | b2cd9c95bf5fdfb8a1ff85c0f8f9c66738dca463 (diff) |
docs: Fixed logic for determining image sample size
The code sample in the "Load a Scaled Down Version into Memory"
section on the "Loading Large Bitmaps Efficiently" page now handles
corner cases correctly when determining how to downscale an image by
a factor that is equal to a power of 2.
Bug: 25944661
Change-Id: I971f90fb5d153abec4bc1d96ae465e3910e82efa
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions