/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MediaSet.java | 20 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()
|
D | LocalAlbumSet.java | 27 import com.android.gallery3d.util.Future; 58 private Future<ArrayList<MediaSet>> mLoadTask; 184 public synchronized void onFutureDone(Future<ArrayList<MediaSet>> future) { in onFutureDone()
|
D | DownloadCache.java | 29 import com.android.gallery3d.util.Future; 262 private Future<File> mFuture; 286 public void onFutureDone(Future<File> future) { in onFutureDone()
|
D | ComboAlbumSet.java | 21 import com.android.gallery3d.util.Future; 93 public Future<Integer> requestSync(SyncListener listener) { in requestSync()
|
D | ComboAlbum.java | 19 import com.android.gallery3d.util.Future; 100 public Future<Integer> requestSync(SyncListener listener) { in requestSync()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | SinglePhotoDataAdapter.java | 35 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()
|
D | PhotoDataAdapter.java | 38 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 …]
|
D | PanoramaMetadataSupport.java | 21 import com.android.gallery3d.util.Future; 35 private Future<PanoramaMetadata> mGetPanoMetadataTask; 78 public void onFutureDone(Future<PanoramaMetadata> future) { in onFutureDone()
|
D | SlideshowDataAdapter.java | 26 import com.android.gallery3d.util.Future; 60 private Future<Void> mReloadTask; 174 public Future<Slide> nextSlide(FutureListener<Slide> listener) { in nextSlide()
|
D | SlideshowPage.java | 38 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/ |
D | JobLimiter.java | 41 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/ |
D | BitmapLoader.java | 22 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()
|
D | DetailsAddressResolver.java | 26 import com.android.gallery3d.util.Future; 36 private Future<Address> mAddressLookupJob; 68 public void onFutureDone(final Future<Address> future) { in resolveAddress()
|
D | AlbumSetSlidingWindow.java | 35 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/ |
D | DeferredManualAutoFocus.java | 21 import java.util.concurrent.Future; 30 private final Future<ManualAutoFocus> mManualAutoFocusFuture; 32 public DeferredManualAutoFocus(Future<ManualAutoFocus> manualAutoFocusFuture) { in DeferredManualAutoFocus()
|
D | DeferredPictureTaker.java | 25 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/ |
D | ThreadPool.java | 97 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/ |
D | ResettingRunnableCameraCommand.java | 21 import java.util.concurrent.Future; 42 private Future<?> mInProgressCommand;
|
D | CameraCommandExecutor.java | 32 import java.util.concurrent.Future; 100 public Future<?> execute(CameraCommand command) { in execute()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadService.java | 63 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/ |
D | DownloadRequest.java | 33 import java.util.concurrent.Future; 107 final Future<Boolean> pendingResult = in writePduToContentUri()
|
D | SendRequest.java | 34 import java.util.concurrent.Future; 139 final Future<byte[]> pendingResult = mPduTransferExecutor.submit(copyPduToArray); in readPduFromContentUri()
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
D | BitmapJobDrawable.java | 30 import com.android.gallery3d.util.Future; 169 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) { in submitBitmapTask()
|
D | MediaItemsLoader.java | 36 import com.android.gallery3d.util.Future; 55 private Future<Integer> mSyncTask = null;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/ |
D | ZslImageCaptureCommand.java | 41 import java.util.concurrent.Future; 129 Future<TotalCaptureResultProxy> metadataFuture = in tryGetZslImage()
|