Home | History | Annotate | Download | only in gallery
      1 package com.android.camera.gallery;
      2 
      3 import android.graphics.Bitmap;
      4 import android.graphics.BitmapFactory;
      5 import android.net.Uri;
      6 
      7 import java.io.InputStream;
      8 
      9 public class MockImage implements IImage {
     10     private final long mId;
     11     private final long mTakenDate;
     12     private IImageList mContainer;
     13 
     14     public MockImage(long id, long takenDate) {
     15         mId = id;
     16         mTakenDate = takenDate;
     17     }
     18 
     19     public int getDegreesRotated() {
     20         return 0;
     21     }
     22 
     23     protected void setContainer(IImageList container) {
     24         this.mContainer = container;
     25     }
     26 
     27     public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels) {
     28         return null;
     29     }
     30 
     31     public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels,
     32             boolean rotateAsNeeded) {
     33         return null;
     34     }
     35 
     36     public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels,
     37             boolean rotateAsNeeded, boolean useNative) {
     38         return null;
     39     }
     40 
     41     public InputStream fullSizeImageData() {
     42         return null;
     43     }
     44 
     45     public long fullSizeImageId() {
     46         return mId;
     47     }
     48 
     49     public Uri fullSizeImageUri() {
     50         return null;
     51     }
     52 
     53     public IImageList getContainer() {
     54         return mContainer;
     55     }
     56 
     57     public String getDataPath() {
     58         return null;
     59     }
     60 
     61     public long getDateTaken() {
     62         return mTakenDate;
     63     }
     64 
     65     public String getDisplayName() {
     66         return null;
     67     }
     68 
     69     public int getHeight() {
     70         return 0;
     71     }
     72 
     73     public String getMimeType() {
     74         return null;
     75     }
     76 
     77     public String getTitle() {
     78         return null;
     79     }
     80 
     81     public int getWidth() {
     82         return 0;
     83     }
     84 
     85     public boolean isDrm() {
     86         return false;
     87     }
     88 
     89     public boolean isReadonly() {
     90         return false;
     91     }
     92 
     93     public Bitmap miniThumbBitmap() {
     94         return null;
     95     }
     96 
     97     public boolean rotateImageBy(int degrees) {
     98         return false;
     99     }
    100 
    101     public void setTitle(String name) {
    102     }
    103 
    104     public Bitmap thumbBitmap(boolean rotateAsNeeded) {
    105         return null;
    106     }
    107 
    108     public Uri thumbUri() {
    109         return null;
    110     }
    111 }
    112