diff options
Diffstat (limited to 'tests/src/com/android/camera/gallery/MockImage.java')
-rw-r--r-- | tests/src/com/android/camera/gallery/MockImage.java | 111 |
1 files changed, 0 insertions, 111 deletions
diff --git a/tests/src/com/android/camera/gallery/MockImage.java b/tests/src/com/android/camera/gallery/MockImage.java deleted file mode 100644 index ad68e55..0000000 --- a/tests/src/com/android/camera/gallery/MockImage.java +++ /dev/null @@ -1,111 +0,0 @@ -package com.android.camera.gallery; - -import android.graphics.Bitmap; -import android.graphics.BitmapFactory; -import android.net.Uri; - -import java.io.InputStream; - -public class MockImage implements IImage { - private final long mId; - private final long mTakenDate; - private IImageList mContainer; - - public MockImage(long id, long takenDate) { - mId = id; - mTakenDate = takenDate; - } - - public int getDegreesRotated() { - return 0; - } - - protected void setContainer(IImageList container) { - this.mContainer = container; - } - - public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels) { - return null; - } - - public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, - boolean rotateAsNeeded) { - return null; - } - - public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, - boolean rotateAsNeeded, boolean useNative) { - return null; - } - - public InputStream fullSizeImageData() { - return null; - } - - public long fullSizeImageId() { - return mId; - } - - public Uri fullSizeImageUri() { - return null; - } - - public IImageList getContainer() { - return mContainer; - } - - public String getDataPath() { - return null; - } - - public long getDateTaken() { - return mTakenDate; - } - - public String getDisplayName() { - return null; - } - - public int getHeight() { - return 0; - } - - public String getMimeType() { - return null; - } - - public String getTitle() { - return null; - } - - public int getWidth() { - return 0; - } - - public boolean isDrm() { - return false; - } - - public boolean isReadonly() { - return false; - } - - public Bitmap miniThumbBitmap() { - return null; - } - - public boolean rotateImageBy(int degrees) { - return false; - } - - public void setTitle(String name) { - } - - public Bitmap thumbBitmap(boolean rotateAsNeeded) { - return null; - } - - public Uri thumbUri() { - return null; - } -} |