Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpDeviceSet.java47 private Future<ArrayList<MediaSet>> mLoadTask; field in MtpDeviceSet
124 if (mLoadTask != null) mLoadTask.cancel(); in reload()
126 mLoadTask = mApplication.getThreadPool().submit(new DevicesLoader(), this); in reload()
141 if (future != mLoadTask) return; in onFutureDone()
DLocalAlbumSet.java105 private Future<ArrayList<MediaSet>> mLoadTask; field in LocalAlbumSet
276 if (mLoadTask != null) mLoadTask.cancel(); in reload()
278 mLoadTask = mApplication.getThreadPool().submit(new AlbumsLoader(), this); in reload()
293 if (mLoadTask != future) return; // ignore, wait for the latest task in onFutureDone()
/packages/apps/Browser/src/com/android/browser/
DSnapshotTab.java46 private LoadData mLoadTask; field in SnapshotTab
81 if (mLoadTask == null) { in loadData()
82 mLoadTask = new LoadData(this, mContext); in loadData()
83 mLoadTask.execute(); in loadData()
231 mTab.mLoadTask = null; in onPostExecute()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCropImage.java148 private Future<BitmapRegionDecoder> mLoadTask; field in CropImage
820 mLoadTask = getThreadPool().submit(new LoadDataTask(mMediaItem), in initializeData()
823 mLoadTask = null; in initializeData()
870 Future<BitmapRegionDecoder> loadTask = mLoadTask; in onPause()