HomeSort by relevance Sort by last modified time
    Searched refs:isCancelled (Results 1 - 25 of 458) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
Future.java 21 // - Once cancel() is called, isCancelled() always returns true. It is a sticky
31 public boolean isCancelled();
  /external/glide/library/src/main/java/com/bumptech/glide/request/
Request.java 48 boolean isCancelled();
RequestFutureTarget.java 50 private boolean isCancelled;
75 if (isCancelled) {
81 isCancelled = true;
92 public synchronized boolean isCancelled() {
93 return isCancelled;
101 return isCancelled || resultReceived;
191 if (isCancelled) {
209 } else if (isCancelled) {
ThumbnailRequestCoordinator.java 120 public boolean isCancelled() {
121 return full.isCancelled();
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
FuturesTransformAsyncFunctionTest.java 101 assertTrue(resultFuture.isCancelled());
102 assertTrue(inputFuture.isCancelled());
103 assertFalse(outputFuture.isCancelled());
114 assertTrue(resultFuture.isCancelled());
115 assertFalse(inputFuture.isCancelled());
116 assertTrue(outputFuture.isCancelled());
136 assertTrue(resultFuture.isCancelled());
137 assertFalse(inputFuture.isCancelled());
138 assertFalse(outputFuture.isCancelled());
156 assertFalse(resultFuture.isCancelled());
    [all...]
ListenableFutureTaskTest.java 86 assertFalse(task.isCancelled());
95 assertFalse(task.isCancelled());
103 assertFalse(task.isCancelled());
123 assertFalse(task.isCancelled());
129 assertTrue(task.isCancelled());
135 assertTrue(task.isCancelled());
148 assertTrue(task.isCancelled());
154 assertTrue(task.isCancelled());
ListenableFutureTester.java 60 assertFalse(future.isCancelled());
70 assertFalse(future.isCancelled());
74 assertFalse(future.isCancelled());
82 assertTrue(future.isCancelled());
86 assertTrue(future.isCancelled());
97 assertFalse(future.isCancelled());
101 assertFalse(future.isCancelled());
AsyncSettableFutureTest.java 41 assertFalse(future.isCancelled());
54 assertFalse(future.isCancelled());
69 assertFalse(future.isCancelled());
89 assertFalse(future.isCancelled());
96 assertFalse(future.isCancelled());
111 assertFalse(future.isCancelled());
119 assertFalse(future.isCancelled());
128 assertTrue(async.isCancelled());
140 assertTrue(inner.isCancelled());
153 assertTrue(inner.isCancelled());
    [all...]
  /frameworks/base/core/java/android/accounts/
AccountManagerFuture.java 48 * always return <tt>true</tt>. Subsequent calls to {@link #isCancelled}
66 boolean isCancelled();
82 * available without blocking, one may call {@link #isDone()} and {@link #isCancelled()}.
99 * available without blocking, one may call {@link #isDone()} and {@link #isCancelled()}.
  /libcore/luni/src/main/java/java/util/concurrent/
Future.java 81 * always return {@code true}. Subsequent calls to {@link #isCancelled}
99 boolean isCancelled();
  /external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
AbstractCheckedFutureTest.java 74 assertFalse(future.isCancelled());
91 assertTrue(future.isCancelled());
104 assertFalse(future.isCancelled());
130 assertFalse(future.isCancelled());
138 assertFalse(future.isCancelled());
155 assertFalse(future.isCancelled());
AbstractListenableFutureTest.java 75 assertFalse(future.isCancelled());
103 assertFalse(future.isCancelled());
127 * This method checks the cancel, isCancelled, and isDone methods.
132 assertFalse(future.isCancelled());
151 assertFalse(future.isCancelled());
156 assertTrue(future.isCancelled());
191 assertTrue(future.isCancelled());
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
EngineRunnable.java 35 private volatile boolean isCancelled;
45 isCancelled = true;
51 if (isCancelled) {
66 if (isCancelled) {
EngineJob.java 36 private boolean isCancelled;
116 if (hasException || hasResource || isCancelled) {
124 isCancelled = true;
129 boolean isCancelled() {
130 return isCancelled;
140 if (isCancelled) {
171 if (isCancelled) {
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
ImageCacheRequest.java 59 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;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
AMReceiver.java 78 mLaunchInfo.isCancelled() == false) {
158 public boolean isCancelled() {
159 return mLaunchInfo.isCancelled();
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowVibrator.java 39 public boolean isCancelled() {
ShadowAccountManager.java 64 return isCancelled();
71 if (!isCancelled()) {
82 if (!isCancelled()) {
90 public boolean isCancelled() {
122 return isCancelled();
129 if (!isCancelled()) {
140 if (!isCancelled()) {
148 public boolean isCancelled() {
  /frameworks/opt/bitmap/src/com/android/bitmap/
DecodeTask.java 116 if (isCancelled()) {
134 if (isCancelled()) {
148 if (isCancelled()) {
196 if (isCancelled()) {
205 if (isCancelled()) {
219 if (isCancelled()) {
269 if (isCancelled()) {
287 if (isCancelled()) {
296 if (isCancelled()) {
319 if (isCancelled()) {
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
ProcessorBase.java 28 * {@link #cancel(boolean)}. Users can check the processor's status using {@link #isCancelled()}
56 public abstract boolean isCancelled();
  /packages/apps/TV/src/com/android/tv/dvr/provider/
AsyncDvrDbTask.java 140 if (isCancelled()) {
144 if (isCancelled()) {
147 if (isCancelled()) {
152 while (c.moveToNext() && !isCancelled()) {
  /external/glide/library/src/main/java/com/bumptech/glide/manager/
RequestTracker.java 69 if (!request.isComplete() && !request.isCancelled() && !request.isRunning()) {
89 if (!request.isComplete() && !request.isCancelled()) {
  /external/guava/guava/src/com/google/common/util/concurrent/
ForwardingFuture.java 52 public boolean isCancelled() {
53 return delegate().isCancelled();
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
VibratorTest.java 51 assertThat(shadowVibrator.isCancelled(), is(false));
55 assertThat(shadowVibrator.isCancelled(), is(true));
  /external/glide/library/src/main/java/com/bumptech/glide/load/data/
HttpUrlFetcher.java 26 private volatile boolean isCancelled;
65 if (isCancelled) {
110 isCancelled = true;

Completed in 615 milliseconds

1 2 3 4 5 6 7 8 91011>>