summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2012-10-25 13:14:50 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-10-25 13:14:51 -0700
commitf6ac061eb455fff6e8d08410f70db2dffbaa9213 (patch)
tree308fd005d4be2757b649d99a074d32ab3568a5a7 /src/com
parent78266e0e11cd939fb813565e8736282cad83771b (diff)
parentb64131fc5443eeb208178dd5e1cadd93d36bbdfd (diff)
downloadandroid_packages_apps_Snap-f6ac061eb455fff6e8d08410f70db2dffbaa9213.tar.gz
android_packages_apps_Snap-f6ac061eb455fff6e8d08410f70db2dffbaa9213.tar.bz2
android_packages_apps_Snap-f6ac061eb455fff6e8d08410f70db2dffbaa9213.zip
Merge "Get rid of black lines near edge of thumbnails" into gb-ub-photos-arches
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/gallery3d/ui/TiledTexture.java4
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;