diff options
author | Chih-Chung Chang <chihchung@google.com> | 2012-04-19 20:14:11 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2012-04-19 20:25:50 +0800 |
commit | b79bbd85bc1ce26a18a2be1100b95dfacbbce5e6 (patch) | |
tree | 73a1b17a5bf7955286ab89be104ac7e38dad56b0 /src/com/android/gallery3d/ui/BitmapScreenNail.java | |
parent | 4831a8fbd146ed627b8f6be4f4d1fed4cd4e3fe5 (diff) | |
download | android_packages_apps_Snap-b79bbd85bc1ce26a18a2be1100b95dfacbbce5e6.tar.gz android_packages_apps_Snap-b79bbd85bc1ce26a18a2be1100b95dfacbbce5e6.tar.bz2 android_packages_apps_Snap-b79bbd85bc1ce26a18a2be1100b95dfacbbce5e6.zip |
In filmstrip, show placeholders for pictures not loaded yet.
Change-Id: I037f1f054da4a3800045d5b89724341ac22272a5
Diffstat (limited to 'src/com/android/gallery3d/ui/BitmapScreenNail.java')
-rw-r--r-- | src/com/android/gallery3d/ui/BitmapScreenNail.java | 9 |
1 files changed, 1 insertions, 8 deletions
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. @@ -53,11 +51,6 @@ public class BitmapScreenNail implements ScreenNail { } @Override - public int getRotation() { - return mRotation; - } - - @Override public void noDraw() { } |