Home
last modified time | relevance | path

Searched refs:LoaderTask (Results 1 – 8 of 8) sorted by relevance

/packages/services/Mtp/src/com/android/mtp/
DDocumentLoader.java74 LoaderTask task = mTaskList.findTask(parent); in queryChildDocuments()
85 task = new LoaderTask(mMtpManager, mDatabase, mDevice.operationsSupported, parent); in queryChildDocuments()
94 if (task.getState() == LoaderTask.STATE_LOADING) { in queryChildDocuments()
117 synchronized @Nullable LoaderTask getNextTaskOrReleaseBackgroundThread() { in getNextTaskOrReleaseBackgroundThread()
120 for (final LoaderTask task : mTaskList) { in getNextTaskOrReleaseBackgroundThread()
121 if (task.getState() == LoaderTask.STATE_LOADING) { in getNextTaskOrReleaseBackgroundThread()
128 final LoaderTask existingTask = mTaskList.findTask(identifier); in getNextTaskOrReleaseBackgroundThread()
130 Preconditions.checkState(existingTask.getState() != LoaderTask.STATE_LOADING); in getNextTaskOrReleaseBackgroundThread()
133 final LoaderTask newTask = new LoaderTask( in getNextTaskOrReleaseBackgroundThread()
171 final LoaderTask task; in cancelTask()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java48 import com.android.launcher3.model.LoaderTask;
90 private LoaderTask mLoaderTask;
362 LoaderTask oldTask = mLoaderTask; in stopLoader()
375 mLoaderTask = new LoaderTask(mApp, mBgAllAppsList, mBgDataModel, results); in startLoaderForResults()
453 private final LoaderTask mTask;
455 private LoaderTransaction(LoaderTask task) throws CancellationException { in LoaderTransaction()
485 public LoaderTransaction beginLoader(LoaderTask task) throws CancellationException { in beginLoader()
DAppWidgetsRestoredReceiver.java18 import com.android.launcher3.model.LoaderTask;
77 if (LoaderTask.isValidProvider(provider)) { in restoreAppWidgetIds()
/packages/apps/Contacts/src/com/android/contacts/list/
DProviderStatusWatcher.java70 private LoaderTask mLoaderTask;
211 mLoaderTask = new LoaderTask(); in startLoading()
215 private class LoaderTask extends AsyncTask<Void, Void, Boolean> { class in ProviderStatusWatcher
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DLiveWallpaperInfo.java74 public static class LoaderTask extends AsyncTask<Void, Void, List<LiveWallpaperInfo>> { class in LiveWallpaperInfo
77 public LoaderTask(Context context) { in LoaderTask() method in LiveWallpaperInfo.LoaderTask
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java74 import com.android.launcher3.model.LoaderTask;
549 private static class WorkspaceItemsInfoFromPreviewFetcher extends LoaderTask implements
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java109 public class LoaderTask implements Runnable { class
131 public LoaderTask(LauncherAppState app, AllAppsList bgAllAppsList, BgDataModel dataModel, in LoaderTask() method in LoaderTask
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperPickerActivity.java149 new LiveWallpaperInfo.LoaderTask(this) { in init()