HomeSort by relevance Sort by last modified time
    Searched refs:isCancelled (Results 1 - 25 of 254) 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/guava/guava-tests/test/com/google/common/util/concurrent/
ListenableFutureTester.java 57 assertFalse(future.isCancelled());
67 assertFalse(future.isCancelled());
71 assertFalse(future.isCancelled());
79 assertTrue(future.isCancelled());
83 assertTrue(future.isCancelled());
94 assertFalse(future.isCancelled());
98 assertFalse(future.isCancelled());
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 84 assertFalse(task.isCancelled());
93 assertFalse(task.isCancelled());
101 assertFalse(task.isCancelled());
121 assertFalse(task.isCancelled());
127 assertTrue(task.isCancelled());
133 assertTrue(task.isCancelled());
146 assertTrue(task.isCancelled());
152 assertTrue(task.isCancelled());
  /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 80 * always return {@code true}. Subsequent calls to {@link #isCancelled}
98 boolean isCancelled();
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
EngineJob.java 20 private boolean isCancelled;
56 if (isComplete || isCancelled) {
59 isCancelled = true;
64 boolean isCancelled() {
65 return isCancelled;
76 + " cancelled: " + isCancelled);
78 if (isCancelled) {
115 + " cancelled: " + isCancelled);
117 if (isCancelled) {
ResourceRunner.java 37 private volatile boolean isCancelled;
62 isCancelled = true;
75 if (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/volley/
VolleyRequestFuture.java 117 if (isCancelled()) {
131 if (isCancelled()) {
143 public boolean isCancelled() {
149 return mResultReceived || mException != null || 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/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() {
  /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();
  /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...]
  /external/guava/guava/src/com/google/common/util/concurrent/
ForwardingFuture.java 52 public boolean isCancelled() {
53 return delegate().isCancelled();
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
VibratorTest.java 51 assertThat(shadowVibrator.isCancelled(), is(false));
55 assertThat(shadowVibrator.isCancelled(), is(true));
  /external/nist-sip/java/gov/nist/javax/sip/parser/
Pipeline.java 61 private boolean isCancelled;
68 if (this.isCancelled)
80 this.isCancelled = true;
  /frameworks/base/services/core/java/com/android/server/notification/
RankingReconsideration.java 76 public boolean isCancelled() {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
PhoneNumberFormatter.java 49 if (watcher == null || isCancelled()) {
  /packages/apps/Mms/src/com/android/mms/util/
PhoneNumberFormatter.java 49 if (watcher == null || isCancelled()) {
  /frameworks/volley/src/com/android/volley/toolbox/
RequestFuture.java 128 public boolean isCancelled() {
137 return mResultReceived || mException != null || isCancelled();
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PreparePageFadeoutTexture.java 34 public boolean isCancelled() {
69 if (task.isCancelled()) return;

Completed in 871 milliseconds

1 2 3 4 5 6 7 8 91011