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 
MockImage(long id, long takenDate)14     public MockImage(long id, long takenDate) {
15         mId = id;
16         mTakenDate = takenDate;
17     }
18 
getDegreesRotated()19     public int getDegreesRotated() {
20         return 0;
21     }
22 
setContainer(IImageList container)23     protected void setContainer(IImageList container) {
24         this.mContainer = container;
25     }
26 
fullSizeBitmap(int minSideLength, int maxNumberOfPixels)27     public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels) {
28         return null;
29     }
30 
fullSizeBitmap(int minSideLength, int maxNumberOfPixels, boolean rotateAsNeeded)31     public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels,
32             boolean rotateAsNeeded) {
33         return null;
34     }
35 
fullSizeBitmap(int minSideLength, int maxNumberOfPixels, boolean rotateAsNeeded, boolean useNative)36     public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels,
37             boolean rotateAsNeeded, boolean useNative) {
38         return null;
39     }
40 
fullSizeImageData()41     public InputStream fullSizeImageData() {
42         return null;
43     }
44 
fullSizeImageId()45     public long fullSizeImageId() {
46         return mId;
47     }
48 
fullSizeImageUri()49     public Uri fullSizeImageUri() {
50         return null;
51     }
52 
getContainer()53     public IImageList getContainer() {
54         return mContainer;
55     }
56 
getDataPath()57     public String getDataPath() {
58         return null;
59     }
60 
getDateTaken()61     public long getDateTaken() {
62         return mTakenDate;
63     }
64 
getDisplayName()65     public String getDisplayName() {
66         return null;
67     }
68 
getHeight()69     public int getHeight() {
70         return 0;
71     }
72 
getMimeType()73     public String getMimeType() {
74         return null;
75     }
76 
getTitle()77     public String getTitle() {
78         return null;
79     }
80 
getWidth()81     public int getWidth() {
82         return 0;
83     }
84 
isDrm()85     public boolean isDrm() {
86         return false;
87     }
88 
isReadonly()89     public boolean isReadonly() {
90         return false;
91     }
92 
miniThumbBitmap()93     public Bitmap miniThumbBitmap() {
94         return null;
95     }
96 
rotateImageBy(int degrees)97     public boolean rotateImageBy(int degrees) {
98         return false;
99     }
100 
setTitle(String name)101     public void setTitle(String name) {
102     }
103 
thumbBitmap(boolean rotateAsNeeded)104     public Bitmap thumbBitmap(boolean rotateAsNeeded) {
105         return null;
106     }
107 
thumbUri()108     public Uri thumbUri() {
109         return null;
110     }
111 }
112