diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-10-25 11:54:39 -0700 |
---|---|---|
committer | Bobby Georgescu <georgescu@google.com> | 2012-10-25 11:54:39 -0700 |
commit | b64131fc5443eeb208178dd5e1cadd93d36bbdfd (patch) | |
tree | 379ab3115a7c49197fe1b80a602a4cae047cca33 /src | |
parent | 30e7406db27fc4f0dbd3dd0ee3a0b04f40439231 (diff) | |
download | android_packages_apps_Snap-b64131fc5443eeb208178dd5e1cadd93d36bbdfd.tar.gz android_packages_apps_Snap-b64131fc5443eeb208178dd5e1cadd93d36bbdfd.tar.bz2 android_packages_apps_Snap-b64131fc5443eeb208178dd5e1cadd93d36bbdfd.zip |
Get rid of black lines near edge of thumbnails
Bug: 7414307
Change-Id: If77e04945ff6df65301a6802dd40fabc8c329bfa
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/gallery3d/ui/TiledTexture.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/ui/TiledTexture.java b/src/com/android/gallery3d/ui/TiledTexture.java index 2c685bd0f..22afe310f 100644 --- a/src/com/android/gallery3d/ui/TiledTexture.java +++ b/src/com/android/gallery3d/ui/TiledTexture.java @@ -35,8 +35,8 @@ import java.util.ArrayList; // upload the whole bitmap but we reduce the time of uploading each tile // so it make the animation more smooth and prevents jank. public class TiledTexture implements Texture { - private static final int CONTENT_SIZE = 254; - private static final int BORDER_SIZE = 1; + private static final int CONTENT_SIZE = 256; + private static final int BORDER_SIZE = 0; private static final int TILE_SIZE = CONTENT_SIZE + 2 * BORDER_SIZE; private static final int INIT_CAPACITY = 8; |