commit | 92f003ff64717600bf1bdd545f89f38a26c9c278 | [log] [tgz] |
---|---|---|
author | Mark Lu <marklu@google.com> | Mon Jun 27 11:53:49 2016 -0700 |
committer | Mark Lu <marklu@google.com> | Mon Jun 27 18:14:44 2016 -0700 |
tree | 8d8ddc9fdf60f076395e009bc39665582817c8f8 | |
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