blob: 7a1e727791c0028ade5236f642adfeddb5465609 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
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;
}
protected void setContainer(IImageList container) {
this.mContainer = container;
}
public Bitmap fullSizeBitmap(int targetWidthOrHeight) {
return null;
}
public Cancelable<Bitmap> fullSizeBitmapCancelable(int targetWidthOrHeight,
BitmapFactory.Options options) {
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() {
return null;
}
public Uri thumbUri() {
return null;
}
}
|