Home
last modified time | relevance | path

Searched refs:bitmapWorkerTask (Results 1 – 2 of 2) sorted by relevance

/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageLoader.java138 final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask(imageView); in cancelWork() local
139 if (bitmapWorkerTask != null) { in cancelWork()
140 bitmapWorkerTask.cancel(true); in cancelWork()
142 final Object bitmapData = bitmapWorkerTask.data; in cancelWork()
155 final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask(imageView); in cancelPotentialWork() local
157 if (bitmapWorkerTask != null) { in cancelPotentialWork()
158 final Object bitmapData = bitmapWorkerTask.data; in cancelPotentialWork()
160 bitmapWorkerTask.cancel(true); in cancelPotentialWork()
276 final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask(imageView); in getAttachedImageView() local
278 if (this == bitmapWorkerTask) { in getAttachedImageView()
[all …]
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageWorker.java202 final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask(imageView); in cancelWork() local
203 if (bitmapWorkerTask != null) { in cancelWork()
204 bitmapWorkerTask.cancel(true); in cancelWork()
206 final Object bitmapData = bitmapWorkerTask.mData; in cancelWork()
220 final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask(imageView); in cancelPotentialWork() local
222 if (bitmapWorkerTask != null) { in cancelPotentialWork()
223 final Object bitmapData = bitmapWorkerTask.mData; in cancelPotentialWork()
225 bitmapWorkerTask.cancel(true); in cancelPotentialWork()
382 final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask(imageView); in getAttachedImageView() local
384 if (this == bitmapWorkerTask) { in getAttachedImageView()
[all …]