Home
last modified time | relevance | path

Searched refs:ImageData (Results 1 – 6 of 6) sorted by relevance

/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoSource.java50 public class ImageData { class in PhotoSource
63 ImageData naturalNext() { in naturalNext()
66 ImageData naturalPrevious() { in naturalPrevious()
88 private final LinkedList<ImageData> mImageQueue;
93 private final HashMap<Bitmap, ImageData> mImageMap;
113 mImageQueue = new LinkedList<ImageData>(); in PhotoSource()
117 mImageMap = new HashMap<Bitmap, ImageData>(); in PhotoSource()
132 ImageData imageData = null; in next()
152 image = load((ImageData) mFallbackSource.findImages(1).toArray()[0], in next()
159 public Bitmap load(ImageData data, BitmapFactory.Options options, int longSide, int shortSide) { in load()
[all …]
DStockSource.java33 private final ArrayList<ImageData> mImageCache;
36 private final ArrayList<ImageData> mImageList;
45 mImageCache = new ArrayList<ImageData>(PHOTOS.length); in StockSource()
47 mImageList = new ArrayList<ImageData>(PHOTOS.length); in StockSource()
57 ImageData imageData = new ImageData(); in StockSource()
75 protected Collection<ImageData> findImages(int howMany) { in findImages()
83 protected InputStream getStream(ImageData data, int longSide) { in getStream()
98 public ImageData naturalNext(ImageData current) { in naturalNext()
105 public ImageData naturalPrevious(ImageData current) { in naturalPrevious()
112 protected void donePaging(ImageData current) { in donePaging()
DCursorPhotoSource.java41 protected ImageData naturalNext(ImageData current) { in naturalNext()
48 ImageData data = null; in naturalNext()
59 protected ImageData naturalPrevious(ImageData current) { in naturalPrevious()
66 ImageData data = null; in naturalPrevious()
77 protected void donePaging(ImageData current) { in donePaging()
83 protected abstract void openCursor(ImageData data); in openCursor()
84 protected abstract void findPosition(ImageData data); in findPosition()
85 protected abstract ImageData unpackImageData(Cursor cursor, ImageData data); in unpackImageData()
DPhotoSourcePlexor.java56 protected Collection<ImageData> findImages(int howMany) { in findImages()
58 LinkedList<ImageData> foundImages = new LinkedList<ImageData>(); in findImages()
70 protected InputStream getStream(ImageData data, int longSide) { in getStream()
75 protected ImageData naturalNext(ImageData current) { in naturalNext()
80 protected ImageData naturalPrevious(ImageData current) { in naturalPrevious()
85 protected void donePaging(ImageData current) { in donePaging()
DLocalSource.java126 protected void openCursor(ImageData data) { in openCursor()
137 protected void findPosition(ImageData data) { in findPosition()
160 protected ImageData unpackImageData(Cursor cursor, ImageData data) { in unpackImageData()
162 data = new ImageData(); in unpackImageData()
178 protected Collection<ImageData> findImages(int howMany) { in findImages()
180 LinkedList<ImageData> foundImages = new LinkedList<ImageData>(); in findImages()
188 protected void findImages(boolean internal, int howMany, LinkedList<ImageData> foundImages ) { in findImages()
221 ImageData data = unpackImageData(cursor, null); in findImages()
243 protected InputStream getStream(ImageData data, int longSide) { in getStream()
DPicasaSource.java71 private final LinkedList<ImageData> mRecycleBin;
89 mRecycleBin = new LinkedList<ImageData>(); in PicasaSource()
104 protected void openCursor(ImageData data) { in openCursor()
119 protected void findPosition(ImageData data) { in findPosition()
142 protected ImageData unpackImageData(Cursor cursor, ImageData data) { in unpackImageData()
144 data = new ImageData(); in unpackImageData()
163 protected Collection<ImageData> findImages(int howMany) { in findImages()
165 LinkedList<ImageData> foundImages = new LinkedList<ImageData>(); in findImages()
235 ImageData data = unpackImageData(cursor, null); in findImages()
433 protected InputStream getStream(ImageData data, int longSide) { in getStream()