Searched refs:MODEL_EXECUTOR (Results 1 – 18 of 18) sorted by relevance
19 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()
23 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;793 MODEL_EXECUTOR.getHandler()); in loadWorkspace()
19 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()
19 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;37 if (FeatureFlags.IS_DOGFOOD_BUILD && !isSameLooper(MODEL_EXECUTOR.getLooper())) { in assertWorkerThread()
85 public static final LooperExecutor MODEL_EXECUTOR = field in Executors
20 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()
22 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()
4 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()
19 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()
17 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;27 return MODEL_EXECUTOR.getLooper(); in getBgLooper()
19 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;123 MODEL_EXECUTOR.execute(new Runnable() { in createWorkspaceItemFromPinItemRequest()
19 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;66 mLauncherApps.registerSessionCallback(MODEL_EXECUTOR, mCallback); in PackageInstallerCompatVL()
20 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;81 mWorker = new Handler(MODEL_EXECUTOR.getLooper(), this::handleWorkerMessage); in DynamicItemCache()
23 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;236 }.executeOnExecutor(MODEL_EXECUTOR); in applyWidgetItemAsync()
20 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;213 MODEL_EXECUTOR.getHandler().postAtFrontOfQueue(new Runnable() { in setItemInfo()
19 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;144 mWorkerHandler = new Handler(MODEL_EXECUTOR.getLooper(), mWorkerCallback); in NotificationListener()
27 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;317 MODEL_EXECUTOR.getHandler().postAtFrontOfQueue(PopupPopulator.createUpdateRunnable( in populateAndShow()
25 import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;725 MODEL_EXECUTOR.getHandler().postAtFrontOfQueue(() -> { in fetchIcon()