Home
last modified time | relevance | path

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

/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoManager.java188 PhotoTask photoTask = (PhotoTask) inputMessage.obj; in PhotoManager()
192 PhotoView localView = photoTask.getPhotoView(); in PhotoManager()
210 if (photoTask.getImageURL() == localURL) in PhotoManager()
240 localView.setImageBitmap(photoTask.getImage()); in PhotoManager()
241 recycleTask(photoTask); in PhotoManager()
248 recycleTask(photoTask); in PhotoManager()
274 public void handleState(PhotoTask photoTask, int state) { in handleState() argument
281 if (photoTask.isCacheEnabled()) { in handleState()
285 mPhotoCache.put(photoTask.getImageURL(), photoTask.getByteBuffer()); in handleState()
289 Message completeMessage = mHandler.obtainMessage(state, photoTask); in handleState()
[all …]
DPhotoDownloadRunnable.java99 PhotoDownloadRunnable(TaskRunnableDownloadMethods photoTask) { in PhotoDownloadRunnable() argument
100 mPhotoTask = photoTask; in PhotoDownloadRunnable()