From b79bbd85bc1ce26a18a2be1100b95dfacbbce5e6 Mon Sep 17 00:00:00 2001 From: Chih-Chung Chang Date: Thu, 19 Apr 2012 20:14:11 +0800 Subject: In filmstrip, show placeholders for pictures not loaded yet. Change-Id: I037f1f054da4a3800045d5b89724341ac22272a5 --- src/com/android/gallery3d/ui/BitmapScreenNail.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/com/android/gallery3d/ui/BitmapScreenNail.java') diff --git a/src/com/android/gallery3d/ui/BitmapScreenNail.java b/src/com/android/gallery3d/ui/BitmapScreenNail.java index 064e1af0e..7f654058e 100644 --- a/src/com/android/gallery3d/ui/BitmapScreenNail.java +++ b/src/com/android/gallery3d/ui/BitmapScreenNail.java @@ -29,14 +29,12 @@ public class BitmapScreenNail implements ScreenNail { private static final String TAG = "BitmapScreenNail"; private final int mWidth; private final int mHeight; - private final int mRotation; private Bitmap mBitmap; private BitmapTexture mTexture; - public BitmapScreenNail(Bitmap bitmap, int rotation) { + public BitmapScreenNail(Bitmap bitmap) { mWidth = bitmap.getWidth(); mHeight = bitmap.getHeight(); - mRotation = rotation; mBitmap = bitmap; // We create mTexture lazily, so we don't incur the cost if we don't // actually need it. @@ -52,11 +50,6 @@ public class BitmapScreenNail implements ScreenNail { return mHeight; } - @Override - public int getRotation() { - return mRotation; - } - @Override public void noDraw() { } -- cgit v1.2.3