/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | JobLimiter.java | 53 public synchronized void setFuture(Future<T> future) { in setFuture() argument 55 mDelegate = future; in setFuture() 137 JobWrapper<T> future = new JobWrapper<T>(Utils.checkNotNull(job), listener); in submit() local 138 mJobs.addLast(future); in submit() 140 return future; in submit() 155 public synchronized void onFutureDone(Future future) { in onFutureDone() argument
|
D | FutureListener.java | 20 public void onFutureDone(Future<T> future); in onFutureDone() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | SinglePhotoDataAdapter.java | 87 public void onFutureDone(Future<BitmapRegionDecoder> future) { 88 BitmapRegionDecoder decoder = future.get(); 103 public void onFutureDone(Future<Bitmap> future) { 105 mHandler.obtainMessage(MSG_UPDATE_IMAGE, future)); 124 private void onDecodeThumbComplete(Future<Bitmap> future) { in onDecodeThumbComplete() argument 126 Bitmap backup = future.get(); in onDecodeThumbComplete()
|
D | PhotoDataAdapter.java | 291 private void updateScreenNail(Path path, Future<ScreenNail> future) { in updateScreenNail() argument 293 ScreenNail screenNail = future.get(); in updateScreenNail() 295 if (entry == null || entry.screenNailTask != future) { in updateScreenNail() 325 private void updateFullImage(Path path, Future<BitmapRegionDecoder> future) { in updateFullImage() argument 327 if (entry == null || entry.fullImageTask != future) { in updateFullImage() 328 BitmapRegionDecoder fullImage = future.get(); in updateFullImage() 334 entry.fullImage = future.get(); in updateFullImage() 806 public void onFutureDone(Future<BitmapRegionDecoder> future) { in onFutureDone() argument 807 mFuture = future; in onFutureDone() 828 public void onFutureDone(Future<ScreenNail> future) { in onFutureDone() argument [all …]
|
D | CropImage.java | 540 public void onFutureDone(Future<Intent> future) { in onSaveClicked() 542 if (future.isCancelled()) return; in onSaveClicked() 543 Intent intent = future.get(); in onSaveClicked() 822 public void onFutureDone(Future<BitmapRegionDecoder> future) { in initializeData() 824 BitmapRegionDecoder decoder = future.get(); in initializeData() 825 if (future.isCancelled()) { in initializeData() 836 public void onFutureDone(Future<Bitmap> future) { in initializeData() 838 Bitmap bitmap = future.get(); in initializeData() 839 if (future.isCancelled()) { in initializeData()
|
D | SlideshowPage.java | 137 public void onFutureDone(Future<Slide> future) { in loadNextBitmap() 138 mPendingSlide = future.get(); in loadNextBitmap()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | BitmapLoader.java | 48 public void onFutureDone(Future<Bitmap> future) { in onFutureDone() argument 51 mBitmap = future.get(); in onFutureDone() 59 if (future.isCancelled() && mBitmap == null) { in onFutureDone()
|
D | DetailsAddressResolver.java | 66 public void onFutureDone(final Future<Address> future) { in resolveAddress() 68 if (!future.isCancelled()) { in resolveAddress() 71 updateLocation(future.get()); in resolveAddress()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | AccountPromptUtils.java | 107 public void run(AccountManagerFuture<Bundle> future) { in getAccountManagerCallback() 108 if (future.isCancelled()) { in getAccountManagerCallback() 114 Bundle result = future.getResult(); in getAccountManagerCallback()
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | IntegrationTestUtils.java | 94 FutureTask<T> future = new FutureTask<T>(callable); 95 mInstrumentation.waitForIdle(future); 97 return future.get();
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MtpDeviceSet.java | 140 public synchronized void onFutureDone(Future<ArrayList<MediaSet>> future) { in onFutureDone() argument 141 if (future != mLoadTask) return; in onFutureDone() 142 mLoadBuffer = future.get(); in onFutureDone()
|
D | LocalAlbumSet.java | 292 public synchronized void onFutureDone(Future<ArrayList<MediaSet>> future) { in onFutureDone() argument 293 if (mLoadTask != future) return; // ignore, wait for the latest task in onFutureDone() 294 mLoadBuffer = future.get(); in onFutureDone()
|
D | DownloadCache.java | 285 public void onFutureDone(Future<File> future) { in onFutureDone() argument 286 File file = future.get(); in onFutureDone() 292 if (future.isCancelled()) { in onFutureDone()
|
D | MediaSet.java | 300 for (Future<Integer> future : mFutures) future.cancel(); in cancel()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AddAccountSettings.java | 69 public void run(AccountManagerFuture<Bundle> future) { 71 Bundle bundle = future.getResult();
|
D | AccountSyncSettings.java | 98 public void run(AccountManagerFuture<Boolean> future) { in onCreateDialog() 105 if (future.getResult() == true) { in onCreateDialog()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | AccountTestCase.java | 85 AccountManagerFuture<Boolean> future = in deleteAccountManagerAccount() local 88 future.getResult(); in deleteAccountManagerAccount()
|
/packages/apps/Exchange/tests/src/com/android/exchange/ |
D | CalendarSyncEnablerTest.java | 251 AccountManagerFuture<Boolean> future = in deleteAccountManagerAccount() local 254 future.getResult(); in deleteAccountManagerAccount()
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/ |
D | CalendarSyncEnablerTest.java | 251 AccountManagerFuture<Boolean> future = in deleteAccountManagerAccount() local 254 future.getResult(); in deleteAccountManagerAccount()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupOptions.java | 275 public void run(AccountManagerFuture<Bundle> future) { 277 Bundle bundle = future.getResult();
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | AllInOneActivity.java | 223 public void run(AccountManagerFuture<Bundle> future) { in onQueryComplete() 224 if (future.isCancelled()) { in onQueryComplete() 228 Bundle result = future.getResult(); in onQueryComplete()
|