[Android] Use a simpler downsampling routine when loading resources
commitc2c0014636e7af36ee768f4bf684a27ec82ec0ae
authorjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 1 Sep 2013 23:34:15 +0000 (1 23:34 +0000)
committerjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 1 Sep 2013 23:34:15 +0000 (1 23:34 +0000)
tree4c8af9e0f400dcad7c9b92beae6ea924ba97d9a5
parent204c19c9d5d94a76e70fa18c367f6cecf05631f1
[Android] Use a simpler downsampling routine when loading resources

Resizing Android resources at runtime trades CPU cycles for a reduced memory
footprint. By switching to a simpler (box) downsampling filter, we maintain
sufficient quality while reducing the resize computation expense.

BUG=281476,282411

Review URL: https://chromiumcodereview.appspot.com/23572021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220763 0039d316-1c4b-4281-b951-d872f2087c98
ui/gfx/android/java_bitmap.cc
ui/gfx/android/java_bitmap.h