Searched refs:isCancelled (Results 1 - 25 of 74) sorted by relevance

123

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
H A DFuture.java21 // - Once cancel() is called, isCancelled() always returns true. It is a sticky
31 public boolean isCancelled(); method in interface:Future
H A DThreadPool.java49 boolean isCancelled(); method in interface:ThreadPool.JobContext
56 public boolean isCancelled() { method in class:ThreadPool.JobContextStub
164 public boolean isCancelled() { method in class:ThreadPool.Worker
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DImageCacheRequest.java59 if (jc.isCancelled()) return null;
71 if (bitmap == null && !jc.isCancelled()) {
80 if (jc.isCancelled()) return null;
92 if (jc.isCancelled()) return null;
95 if (jc.isCancelled()) return null;
H A DBytesBufferPool.java48 if (rc < 0 || jc.isCancelled()) return;
H A DUriImage.java107 if (jc.isCancelled()) return STATE_INIT;
117 if (jc.isCancelled()) return STATE_INIT;
149 if (jc.isCancelled()) return false;
199 if (jc.isCancelled() || bitmap == null) {
H A DDownloadUtils.java58 if (jc.isCancelled()) throw new InterruptedIOException();
/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DProcessorBase.java28 * {@link #cancel(boolean)}. Users can check the processor's status using {@link #isCancelled()}
56 public abstract boolean isCancelled(); method in class:ProcessorBase
H A DImportProcessor.java111 if (isCancelled() && mListener != null) {
126 if (isCancelled()) {
191 if (isCancelled()) {
237 if (isCancelled()) {
294 public synchronized boolean isCancelled() { method in class:ImportProcessor
H A DExportProcessor.java97 if (isCancelled()) {
117 if (isCancelled()) {
179 if (isCancelled()) {
327 public synchronized boolean isCancelled() { method in class:ExportProcessor
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestTimer.java47 if (!task.isCancelled()) {
76 if (task.isCancelled()) {
150 boolean isCancelled() { method in class:TestTimer.Task
/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DSilentSettingsModel.java152 if (!isCancelled() && isDoNotDisturbBlockingAlarms()) {
154 } else if (!isCancelled() && isAlarmStreamMuted()) {
156 } else if (!isCancelled() && isSystemAlarmRingtoneSilent()) {
158 } else if (!isCancelled() && isAppNotificationBlocked()) {
/packages/apps/TV/src/com/android/tv/dvr/provider/
H A DAsyncDvrDbTask.java140 if (isCancelled()) {
145 while (c.moveToNext() && !isCancelled()) {
213 if (isCancelled()) {
219 while (c.moveToNext() && !isCancelled()) {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPreparePageFadeoutTexture.java34 public boolean isCancelled() { method in class:PreparePageFadeoutTexture
69 if (task.isCancelled()) return;
H A DBitmapLoader.java60 if (future.isCancelled() && mBitmap == null) {
H A DActionModeHandler.java106 if (mNumInfoRequired == 0 || mJobContext.isCancelled()) {
114 while (mNumInfoRequired != 0 && !mJobContext.isCancelled()) {
275 if (jc.isCancelled()) {
329 if (jc.isCancelled()) return null;
361 if (jc.isCancelled()) return null;
416 if (jc.isCancelled()) return;
424 if (jc.isCancelled()) {
448 if (jc.isCancelled()) {
455 if (jc.isCancelled()) return;
H A DAlbumLabelMaker.java174 if (jc.isCancelled()) return null;
183 if (jc.isCancelled()) return null;
191 if (jc.isCancelled()) return null;
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/
H A DTrickplayStorageManager.java86 if (isCancelled()) {
94 if (isCancelled()) {
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
H A DGetCapabilitiesTask.java80 if (!online || isCancelled()) return null;
87 if (isCancelled()) return null;
/packages/apps/Contacts/src/com/android/contacts/util/
H A DPhoneNumberFormatter.java53 if (watcher == null || isCancelled()) {
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
H A DFuturesUtil.java44 didTimeout.set(!future.isDone() && !future.isCancelled());
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DJobLimiter.java79 public synchronized boolean isCancelled() { method in class:JobLimiter.JobWrapper
147 if (!wrapper.isCancelled()) {
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
H A DContactBitmapWorker.java92 if (isCancelled()) {
/packages/apps/TV/src/com/android/tv/util/
H A DAsyncDbTask.java124 if (isCancelled()) {
133 if (c != null && !isCancelled()) {
194 if (isCancelled()) {
239 if (isCancelled()) {
/packages/apps/Camera2/src/com/android/camera/ui/
H A DZoomView.java123 if (isCancelled()) {
155 if (isCancelled()) {
223 if (mPartialDecodingTask != null && !mPartialDecodingTask.isCancelled()) {
/packages/apps/TV/src/com/android/tv/data/
H A DChannelLogoFetcher.java93 if (isCancelled()) {
133 if (isCancelled()) {
146 if (isCancelled()) {

Completed in 2325 milliseconds

123