Home
last modified time | relevance | path

Searched refs:MODEL_EXECUTOR (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelWriter.java19 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
199 ((Executor) MODEL_EXECUTOR).execute(new UpdateItemRunnable(item, () -> in modifyItemInDatabase()
214 ((Executor) MODEL_EXECUTOR).execute(new UpdateItemRunnable(item, () -> { in updateItemInDatabase()
234 ((Executor) MODEL_EXECUTOR).execute(() -> { in addItemToDatabase()
341 ((Executor) MODEL_EXECUTOR).execute(r); in enqueueDeleteRunnable()
348 ((Executor) MODEL_EXECUTOR).execute(runnable); in commitDelete()
DLoaderTask.java23 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
793 MODEL_EXECUTOR.getHandler()); in loadWorkspace()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DViewOnDrawExecutor.java19 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
72 MODEL_EXECUTOR.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in execute()
114 MODEL_EXECUTOR.setThreadPriority(Process.THREAD_PRIORITY_DEFAULT); in markCompleted()
DPreconditions.java19 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
37 if (FeatureFlags.IS_DOGFOOD_BUILD && !isSameLooper(MODEL_EXECUTOR.getLooper())) { in assertWorkerThread()
DExecutors.java85 public static final LooperExecutor MODEL_EXECUTOR = field in Executors
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java20 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
75 super(context, LauncherFiles.APP_ICONS_DB, MODEL_EXECUTOR.getLooper(), in IconCache()
126 MODEL_EXECUTOR.setThreadPriority(Process.THREAD_PRIORITY_FOREGROUND); in updateIconInBackground()
151 MODEL_EXECUTOR.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); in onIconRequestEnd()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java22 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
382 MODEL_EXECUTOR.post(mLoaderTask); in startLoaderForResults()
449 MODEL_EXECUTOR.getHandler().removeCallbacks(mShortcutPermissionCheckRunnable); in refreshShortcutsIfRequired()
450 MODEL_EXECUTOR.post(mShortcutPermissionCheckRunnable); in refreshShortcutsIfRequired()
478 MODEL_EXECUTOR.execute(task); in enqueueModelUpdateTask()
DWidgetPreviewLoader.java4 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
602 MODEL_EXECUTOR.post(new Runnable() { in onPostExecute()
632 MODEL_EXECUTOR.post(new Runnable() { in onCancelled()
653 MODEL_EXECUTOR.post(new Runnable() { in onCancel()
DInstallShortcutReceiver.java19 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
280 MODEL_EXECUTOR.post(() -> addToQueue(context, info)); in queuePendingShortcutInfo()
296 MODEL_EXECUTOR.post(() -> flushQueueInBackground(context)); in flushInstallQueue()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/plugins/
DPluginInitializerImpl.java17 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
27 return MODEL_EXECUTOR.getLooper(); in getBgLooper()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherAppsCompatVO.java19 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
123 MODEL_EXECUTOR.execute(new Runnable() { in createWorkspaceItemFromPinItemRequest()
DPackageInstallerCompatVL.java19 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
66 mLauncherApps.registerSessionCallback(MODEL_EXECUTOR, mCallback); in PackageInstallerCompatVL()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DDynamicItemCache.java20 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
81 mWorker = new Handler(MODEL_EXECUTOR.getLooper(), this::handleWorkerMessage); in DynamicItemCache()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java23 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
236 }.executeOnExecutor(MODEL_EXECUTOR); in applyWidgetItemAsync()
DDragView.java20 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
213 MODEL_EXECUTOR.getHandler().postAtFrontOfQueue(new Runnable() { in setItemInfo()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java19 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
144 mWorkerHandler = new Handler(MODEL_EXECUTOR.getLooper(), mWorkerCallback); in NotificationListener()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java27 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
317 MODEL_EXECUTOR.getHandler().postAtFrontOfQueue(PopupPopulator.createUpdateRunnable( in populateAndShow()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java25 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
725 MODEL_EXECUTOR.getHandler().postAtFrontOfQueue(() -> { in fetchIcon()