Home
last modified time | relevance | path

Searched refs:Future (Results 1 – 25 of 39) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaSet.java20 import com.android.gallery3d.util.Future;
241 public Future<Integer> requestSync(SyncListener listener) { in requestSync()
246 private static final Future<Integer> FUTURE_STUB = new Future<Integer>() {
269 protected Future<Integer> requestSyncOnMultipleSets(MediaSet[] sets, SyncListener listener) { in requestSyncOnMultipleSets()
273 private class MultiSetSyncFuture implements Future<Integer>, SyncListener {
278 private final Future<Integer> mFutures[];
288 mFutures = new Future[sets.length]; in MultiSetSyncFuture()
302 for (Future<Integer> future : mFutures) future.cancel(); in cancel()
DLocalAlbumSet.java27 import com.android.gallery3d.util.Future;
58 private Future<ArrayList<MediaSet>> mLoadTask;
184 public synchronized void onFutureDone(Future<ArrayList<MediaSet>> future) { in onFutureDone()
DDownloadCache.java29 import com.android.gallery3d.util.Future;
262 private Future<File> mFuture;
286 public void onFutureDone(Future<File> future) { in onFutureDone()
DComboAlbumSet.java21 import com.android.gallery3d.util.Future;
93 public Future<Integer> requestSync(SyncListener listener) { in requestSync()
DComboAlbum.java19 import com.android.gallery3d.util.Future;
100 public Future<Integer> requestSync(SyncListener listener) { in requestSync()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSinglePhotoDataAdapter.java35 import com.android.gallery3d.util.Future;
48 private Future<?> mTask;
70 onDecodeThumbComplete((Future<Bitmap>) message.obj); in SinglePhotoDataAdapter()
90 public void onFutureDone(Future<BitmapRegionDecoder> future) {
107 public void onFutureDone(Future<Bitmap> future) {
134 private void onDecodeThumbComplete(Future<Bitmap> future) { in onDecodeThumbComplete()
166 Future<?> task = mTask; in pause()
DPhotoDataAdapter.java38 import com.android.gallery3d.util.Future;
295 private void updateScreenNail(Path path, Future<ScreenNail> future) { in updateScreenNail()
330 private void updateFullImage(Path path, Future<BitmapRegionDecoder> future) { in updateFullImage()
667 Future<?> task = null; in updateImageRequests()
770 private Future<?> startTaskIfNeeded(int index, int which) { in startTaskIfNeeded()
854 private Future<BitmapRegionDecoder> mFuture;
861 public void onFutureDone(Future<BitmapRegionDecoder> future) { in onFutureDone()
876 private Future<ScreenNail> mFuture;
883 public void onFutureDone(Future<ScreenNail> future) { in onFutureDone()
898 public Future<ScreenNail> screenNailTask;
[all …]
DPanoramaMetadataSupport.java21 import com.android.gallery3d.util.Future;
35 private Future<PanoramaMetadata> mGetPanoMetadataTask;
78 public void onFutureDone(Future<PanoramaMetadata> future) { in onFutureDone()
DSlideshowDataAdapter.java26 import com.android.gallery3d.util.Future;
60 private Future<Void> mReloadTask;
174 public Future<Slide> nextSlide(FutureListener<Slide> listener) { in nextSlide()
DSlideshowPage.java38 import com.android.gallery3d.util.Future;
64 public Future<Slide> nextSlide(FutureListener<Slide> listener); in nextSlide()
145 public void onFutureDone(Future<Slide> future) { in loadNextBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DJobLimiter.java41 private static class JobWrapper<T> implements Future<T>, Job<T> {
44 private Future<T> mDelegate;
53 public synchronized void setFuture(Future<T> future) { in setFuture()
136 public synchronized <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { in submit()
155 public synchronized void onFutureDone(Future future) { in onFutureDone()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DBitmapLoader.java22 import com.android.gallery3d.util.Future;
45 private Future<Bitmap> mTask;
49 public void onFutureDone(Future<Bitmap> future) { in onFutureDone()
106 abstract protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l); in submitBitmapTask()
DDetailsAddressResolver.java26 import com.android.gallery3d.util.Future;
36 private Future<Address> mAddressLookupJob;
68 public void onFutureDone(final Future<Address> future) { in resolveAddress()
DAlbumSetSlidingWindow.java35 import com.android.gallery3d.util.Future;
430 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) { in submitBitmapTask()
494 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) { in submitBitmapTask()
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DDeferredManualAutoFocus.java21 import java.util.concurrent.Future;
30 private final Future<ManualAutoFocus> mManualAutoFocusFuture;
32 public DeferredManualAutoFocus(Future<ManualAutoFocus> manualAutoFocusFuture) { in DeferredManualAutoFocus()
DDeferredPictureTaker.java25 import java.util.concurrent.Future;
32 private final Future<PictureTaker> mPictureTakerFuture;
34 public DeferredPictureTaker(Future<PictureTaker> pictureTakerFuture) { in DeferredPictureTaker()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java97 public <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { in submit()
103 public <T> Future<T> submit(Job<T> job) { in submit()
107 private class Worker<T> implements Runnable, Future<T>, JobContext {
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/
DResettingRunnableCameraCommand.java21 import java.util.concurrent.Future;
42 private Future<?> mInProgressCommand;
DCameraCommandExecutor.java32 import java.util.concurrent.Future;
100 public Future<?> execute(CameraCommand command) { in execute()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadService.java63 import java.util.concurrent.Future;
127 if (t == null && r instanceof Future<?>) { in buildDownloadExecutor()
129 ((Future<?>) r).get(); in buildDownloadExecutor()
/packages/apps/Messaging/src/android/support/v7/mms/
DDownloadRequest.java33 import java.util.concurrent.Future;
107 final Future<Boolean> pendingResult = in writePduToContentUri()
DSendRequest.java34 import java.util.concurrent.Future;
139 final Future<byte[]> pendingResult = mPduTransferExecutor.submit(copyPduToArray); in readPduFromContentUri()
/packages/apps/Gallery2/src/com/android/photos/shims/
DBitmapJobDrawable.java30 import com.android.gallery3d.util.Future;
169 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) { in submitBitmapTask()
DMediaItemsLoader.java36 import com.android.gallery3d.util.Future;
55 private Future<Integer> mSyncTask = null;
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/
DZslImageCaptureCommand.java41 import java.util.concurrent.Future;
129 Future<TotalCaptureResultProxy> metadataFuture = in tryGetZslImage()

12