Home
last modified time | relevance | path

Searched refs:PhotoManager (Results 1 – 4 of 4) sorted by relevance

/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoTask.java85 private static PhotoManager sPhotoManager;
94 sPhotoManager = PhotoManager.getInstance(); in PhotoTask()
105 PhotoManager photoManager, in initializeDownloaderTask()
255 outState = PhotoManager.DOWNLOAD_COMPLETE; in handleDownloadState()
258 outState = PhotoManager.DOWNLOAD_FAILED; in handleDownloadState()
261 outState = PhotoManager.DOWNLOAD_STARTED; in handleDownloadState()
285 outState = PhotoManager.TASK_COMPLETE; in handleDecodeState()
288 outState = PhotoManager.DOWNLOAD_FAILED; in handleDecodeState()
291 outState = PhotoManager.DECODE_STARTED; in handleDecodeState()
DPhotoManager.java52 public class PhotoManager { class
110 private static PhotoManager sInstance = null;
119 sInstance = new PhotoManager();
124 private PhotoManager() { in PhotoManager() method in PhotoManager
263 public static PhotoManager getInstance() { in getInstance()
398 downloadTask.initializeDownloaderTask(PhotoManager.sInstance, imageView, cacheFlag); in startDownload()
DPhotoView.java214 mDownloadThread = PhotoManager.startDownload(this, mCacheFlag); in onDraw()
298 PhotoManager.removeDownload(mDownloadThread, mImageURL); in setImageURL()
322 mDownloadThread = PhotoManager.startDownload(this, cacheFlag); in setImageURL()
DDisplayActivity.java296 PhotoManager.cancelAll();