HomeSort by relevance Sort by last modified time
    Searched refs:downloadTask (Results 1 - 2 of 2) sorted by null

  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoManager.java 390 PhotoTask downloadTask = sInstance.mPhotoTaskWorkQueue.poll();
393 if (null == downloadTask) {
394 downloadTask = new PhotoTask();
398 downloadTask.initializeDownloaderTask(PhotoManager.sInstance, imageView, cacheFlag);
404 downloadTask.setByteBuffer(sInstance.mPhotoCache.get(downloadTask.getImageURL()));
407 if (null == downloadTask.getByteBuffer()) {
413 sInstance.mDownloadThreadPool.execute(downloadTask.getHTTPDownloadRunnable());
426 sInstance.handleState(downloadTask, DOWNLOAD_COMPLETE);
430 return downloadTask;
    [all...]
PhotoDecodeRunnable.java 102 * @param downloadTask The PhotoTask, which implements ImageDecoderRunnableCallback
104 PhotoDecodeRunnable(TaskRunnableDecodeMethods downloadTask) {
105 mPhotoTask = downloadTask;

Completed in 674 milliseconds