Searched refs:LoaderTask (Results 1 – 8 of 8) sorted by relevance
/packages/services/Mtp/src/com/android/mtp/ |
D | DocumentLoader.java | 74 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/ |
D | LauncherModel.java | 48 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()
|
D | AppWidgetsRestoredReceiver.java | 18 import com.android.launcher3.model.LoaderTask; 77 if (LoaderTask.isValidProvider(provider)) { in restoreAppWidgetIds()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ProviderStatusWatcher.java | 70 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/ |
D | LiveWallpaperInfo.java | 74 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/ |
D | LauncherPreviewRenderer.java | 74 import com.android.launcher3.model.LoaderTask; 549 private static class WorkspaceItemsInfoFromPreviewFetcher extends LoaderTask implements
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderTask.java | 109 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/ |
D | WallpaperPickerActivity.java | 149 new LiveWallpaperInfo.LoaderTask(this) { in init()
|