Home
last modified time | relevance | path

Searched refs:FutureListener (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/util/
DJobLimiter.java27 public class JobLimiter implements FutureListener {
45 private FutureListener<T> mListener;
48 public JobWrapper(Job<T> job, FutureListener<T> listener) { in JobWrapper()
60 FutureListener<T> listener = null; in cancel()
116 FutureListener<T> listener = null; in run()
136 public synchronized <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { in submit()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSinglePhotoDataAdapter.java36 import com.android.gallery3d.util.FutureListener;
87 private FutureListener<BitmapRegionDecoder> mLargeListener =
88 new FutureListener<BitmapRegionDecoder>() {
104 private FutureListener<Bitmap> mThumbListener =
105 new FutureListener<Bitmap>() {
DPanoramaMetadataSupport.java22 import com.android.gallery3d.util.FutureListener;
33 public class PanoramaMetadataSupport implements FutureListener<PanoramaMetadata> {
DSlideshowPage.java39 import com.android.gallery3d.util.FutureListener;
64 public Future<Slide> nextSlide(FutureListener<Slide> listener); in nextSlide()
143 mModel.nextSlide(new FutureListener<Slide>() { in loadNextBitmap()
DSlideshowDataAdapter.java27 import com.android.gallery3d.util.FutureListener;
174 public Future<Slide> nextSlide(FutureListener<Slide> listener) { in nextSlide()
DPhotoDataAdapter.java39 import com.android.gallery3d.util.FutureListener;
852 implements Runnable, FutureListener<BitmapRegionDecoder> {
874 implements Runnable, FutureListener<ScreenNail> {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DBitmapLoader.java23 import com.android.gallery3d.util.FutureListener;
28 public abstract class BitmapLoader implements FutureListener<Bitmap> {
106 abstract protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l); in submitBitmapTask()
DDetailsAddressResolver.java27 import com.android.gallery3d.util.FutureListener;
66 new FutureListener<Address>() { in resolveAddress()
DAlbumSetSlidingWindow.java36 import com.android.gallery3d.util.FutureListener;
430 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) { in submitBitmapTask()
494 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) { in submitBitmapTask()
DAlbumSlidingWindow.java32 import com.android.gallery3d.util.FutureListener;
298 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) { in submitBitmapTask()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java97 public <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { in submit()
111 private FutureListener<T> mListener;
119 public Worker(Job<T> job, FutureListener<T> listener) { in Worker()
DFutureListener.java19 public interface FutureListener<T> { interface
/packages/apps/Gallery2/src/com/android/photos/shims/
DBitmapJobDrawable.java31 import com.android.gallery3d.util.FutureListener;
169 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) { in submitBitmapTask()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalAlbumSet.java28 import com.android.gallery3d.util.FutureListener;
39 implements FutureListener<ArrayList<MediaSet>> {
DDownloadCache.java30 import com.android.gallery3d.util.FutureListener;
260 private class DownloadTask implements Job<File>, FutureListener<File> {