Home
last modified time | relevance | path

Searched refs:mMainThreadExecutor (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DOverviewCommandHelper.java46 private final MainThreadExecutor mMainThreadExecutor; field in OverviewCommandHelper
54 mMainThreadExecutor = new MainThreadExecutor(); in OverviewCommandHelper()
66 mMainThreadExecutor.execute(new RecentsActivityCommand<>()); in onOverviewToggle()
70 mMainThreadExecutor.execute(new ShowRecentsCommand()); in onOverviewShown()
74 mMainThreadExecutor.execute(new HideRecentsCommand()); in onOverviewHidden()
78 mMainThreadExecutor.execute(() -> in onTip()
164 provider, mContext, mMainThreadExecutor.getHandler(), in run()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DOverviewCommandHelper.java50 private final MainThreadExecutor mMainThreadExecutor; field in OverviewCommandHelper
58 mMainThreadExecutor = new MainThreadExecutor(); in OverviewCommandHelper()
70 mMainThreadExecutor.execute(new RecentsActivityCommand<>()); in onOverviewToggle()
74 mMainThreadExecutor.execute(new ShowRecentsCommand(triggeredFromAltTab)); in onOverviewShown()
78 mMainThreadExecutor.execute(new HideRecentsCommand()); in onOverviewHidden()
82 mMainThreadExecutor.execute(() -> in onTip()
180 this::createWindowAnimation, mContext, mMainThreadExecutor.getHandler(), in run()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentTasksList.java45 private final MainThreadExecutor mMainThreadExecutor; field in RecentTasksList
58 mMainThreadExecutor = new MainThreadExecutor(); in RecentTasksList()
72 mMainThreadExecutor.execute(() -> callback.accept(tasks)); in getTaskKeys()
91 mMainThreadExecutor.execute(resultCallback); in getTasks()
99 mMainThreadExecutor.execute(() -> { in getTasks()
DRecentsActivityTracker.java95 private MainThreadExecutor mMainThreadExecutor; field in RecentsActivityTracker.Scheduler
99 if (mMainThreadExecutor == null) { in schedule()
100 mMainThreadExecutor = new MainThreadExecutor(); in schedule()
102 mMainThreadExecutor.execute(this); in schedule()
DTaskIconCache.java49 private final MainThreadExecutor mMainThreadExecutor; field in TaskIconCache
70 mMainThreadExecutor = new MainThreadExecutor(); in TaskIconCache()
106 mMainThreadExecutor.execute(() -> { in updateIconInBackground()
DTaskThumbnailCache.java39 private final MainThreadExecutor mMainThreadExecutor; field in TaskThumbnailCache
97 mMainThreadExecutor = new MainThreadExecutor(); in TaskThumbnailCache()
171 mMainThreadExecutor.execute(() -> { in updateThumbnailInBackground()
/packages/apps/Launcher3/src/com/android/launcher3/states/
DInternalStateHandler.java97 private MainThreadExecutor mMainThreadExecutor; field in InternalStateHandler.Scheduler
102 if (mMainThreadExecutor == null) { in schedule()
103 mMainThreadExecutor = new MainThreadExecutor(); in schedule()
106 mMainThreadExecutor.execute(this); in schedule()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java340 private final Executor mMainThreadExecutor;
385 mMainThreadExecutor = ContactsExecutors.newHandlerExecutor(mMainThreadHandler);
508 mMainThreadExecutor);
523 mMainThreadExecutor);
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java93 protected MainThreadExecutor mMainThreadExecutor = new MainThreadExecutor(); field in AbstractLauncherUiTest
221 mMainThreadExecutor.execute( in resetLoaderState()
241 return mMainThreadExecutor.submit(callback).get(); in getOnUiThread()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java62 private final MainThreadExecutor mMainThreadExecutor = new MainThreadExecutor(); field in IconCache
138 mMainThreadExecutor.execute(() -> { in updateIconInBackground()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DAddConfigWidgetTest.java153 return mMainThreadExecutor.submit(mActivityMonitor.itemExists(this)).get(); in isTrue()
DRequestPinItemTest.java190 return mMainThreadExecutor.submit(mActivityMonitor.itemExists(mOp)).get(); in isTrue()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java79 private final MainThreadExecutor mMainThreadExecutor = new MainThreadExecutor(); field in WidgetPreviewLoader
497 return mMainThreadExecutor.submit(new Callable<Drawable>() { in mutateOnMainThread()