Searched refs:downloadTask (Results 1 – 2 of 2) sorted by relevance
390 PhotoTask downloadTask = sInstance.mPhotoTaskWorkQueue.poll(); in startDownload() local393 if (null == downloadTask) { in startDownload()394 downloadTask = new PhotoTask(); in startDownload()398 downloadTask.initializeDownloaderTask(PhotoManager.sInstance, imageView, cacheFlag); in startDownload()404 downloadTask.setByteBuffer(sInstance.mPhotoCache.get(downloadTask.getImageURL())); in startDownload()407 if (null == downloadTask.getByteBuffer()) { in startDownload()413 sInstance.mDownloadThreadPool.execute(downloadTask.getHTTPDownloadRunnable()); in startDownload()426 sInstance.handleState(downloadTask, DOWNLOAD_COMPLETE); in startDownload()430 return downloadTask; in startDownload()438 void recycleTask(PhotoTask downloadTask) { in recycleTask() argument[all …]
104 PhotoDecodeRunnable(TaskRunnableDecodeMethods downloadTask) { in PhotoDecodeRunnable() argument105 mPhotoTask = downloadTask; in PhotoDecodeRunnable()