Home
last modified time | relevance | path

Searched refs:future (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/util/
DJobLimiter.java53 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
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSinglePhotoDataAdapter.java90 public void onFutureDone(Future<BitmapRegionDecoder> future) {
91 BitmapRegionDecoder decoder = future.get();
107 public void onFutureDone(Future<Bitmap> future) {
109 mHandler.obtainMessage(MSG_UPDATE_IMAGE, future));
134 private void onDecodeThumbComplete(Future<Bitmap> future) { in onDecodeThumbComplete() argument
136 Bitmap backup = future.get(); in onDecodeThumbComplete()
DPhotoDataAdapter.java295 private void updateScreenNail(Path path, Future<ScreenNail> future) { in updateScreenNail() argument
297 ScreenNail screenNail = future.get(); in updateScreenNail()
299 if (entry == null || entry.screenNailTask != future) { in updateScreenNail()
330 private void updateFullImage(Path path, Future<BitmapRegionDecoder> future) { in updateFullImage() argument
332 if (entry == null || entry.fullImageTask != future) { in updateFullImage()
333 BitmapRegionDecoder fullImage = future.get(); in updateFullImage()
339 entry.fullImage = future.get(); in updateFullImage()
861 public void onFutureDone(Future<BitmapRegionDecoder> future) { in onFutureDone() argument
862 mFuture = future; in onFutureDone()
883 public void onFutureDone(Future<ScreenNail> future) { in onFutureDone() argument
[all …]
DPanoramaMetadataSupport.java78 public void onFutureDone(Future<PanoramaMetadata> future) { in onFutureDone() argument
80 mPanoramaMetadata = future.get(); in onFutureDone()
DSlideshowPage.java145 public void onFutureDone(Future<Slide> future) { in loadNextBitmap()
146 mPendingSlide = future.get(); in loadNextBitmap()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
DMetadataPoolImpl.java70 ListenableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp); in removeMetadataFuture() local
72 Futures.addCallback(future, new FutureCallback<TotalCaptureResultProxy>() { in removeMetadataFuture()
85 return Futures2.nonCancellationPropagating(future); in removeMetadataFuture()
91 SettableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp); in update() local
92 future.set(metadata); in update()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DBitmapLoader.java49 public void onFutureDone(Future<Bitmap> future) { in onFutureDone() argument
52 mBitmap = future.get(); in onFutureDone()
60 if (future.isCancelled() && mBitmap == null) { in onFutureDone()
DDetailsAddressResolver.java68 public void onFutureDone(final Future<Address> future) { in resolveAddress()
70 if (!future.isCancelled()) { in resolveAddress()
74 updateLocation(future.get()); in resolveAddress()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/
DIntegrationTestUtils.java94 FutureTask<T> future = new FutureTask<T>(callable);
95 mInstrumentation.waitForIdle(future);
97 return future.get();
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalAlbumSet.java184 public synchronized void onFutureDone(Future<ArrayList<MediaSet>> future) { in onFutureDone() argument
185 if (mLoadTask != future) return; // ignore, wait for the latest task in onFutureDone()
186 mLoadBuffer = future.get(); in onFutureDone()
DDownloadCache.java286 public void onFutureDone(Future<File> future) { in onFutureDone() argument
287 File file = future.get(); in onFutureDone()
293 if (future.isCancelled()) { in onFutureDone()
DMediaSet.java302 for (Future<Integer> future : mFutures) future.cancel(); in cancel()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAddAccountWithTypeActivity.java45 public void run(AccountManagerFuture<Bundle> future) {
47 Intent addAccountIntent = future.getResult()
DRemoveAccountDialog.java59 public void run(AccountManagerFuture<Bundle> future) { in run() argument
67 if (!future.getResult().getBoolean(AccountManager.KEY_BOOLEAN_RESULT)) { in run()
/packages/apps/Email/tests/src/com/android/email/
DAccountTestCase.java87 AccountManagerFuture<Boolean> future = in deleteAccountManagerAccount() local
90 future.getResult(); in deleteAccountManagerAccount()
/packages/apps/Camera2/src/com/android/camera/async/
DFutures2.java71 final ListenableFuture<T> future) { in nonCancellationPropagating() argument
72 return new ForwardingListenableFuture.SimpleForwardingListenableFuture<T>(future) { in nonCancellationPropagating()
/packages/apps/Settings/src/com/android/settings/accounts/
DAddAccountSettings.java90 public void run(AccountManagerFuture<Bundle> future) {
93 Bundle bundle = future.getResult();
DAccountSyncSettings.java102 public void run(AccountManagerFuture<Bundle> future) { in onCreateDialog()
109 if (future.getResult() in onCreateDialog()
/packages/apps/TV/src/com/android/tv/search/
DDataManagerSearch.java71 Future<List<SearchResult>> future = MainThreadExecutor.getInstance() in search() local
80 return future.get(); in search()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCreationFragment.java186 final AccountManagerFuture<Bundle> future = in onCreateLoader() local
192 future.getResult(); in onCreateLoader()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DFutureListener.java20 public void onFutureDone(Future<T> future); in onFutureDone() argument
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java222 public void run(AccountManagerFuture<Bundle> future) { in onQueryComplete()
223 if (future.isCancelled()) { in onQueryComplete()
227 Bundle result = future.getResult(); in onQueryComplete()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceUtils.java265 private static void finishAccountManagerBlocker(AccountManagerFuture<?> future) { in finishAccountManagerBlocker() argument
269 future.getResult(); in finishAccountManagerBlocker()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dfaq.md281 …and he just knew about JSON at that time and would like to apply JSON in future projects. As JSON …
DDoxyfile.in1117 # it is more robust and this tag (HTML_STYLESHEET) will in the future become
1127 # standard style sheet and is therefor more robust against future updates.
1256 # Windows help format (.hlp) on all Windows platforms in the future. Compressed

12