Home
last modified time | relevance | path

Searched refs:sWorkerThread (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java96 private static final HandlerThread sWorkerThread = new HandlerThread("launcher-loader"); field in LauncherModel
98 sWorkerThread.start(); in sWorkerThread.start()
100 private static final Handler sWorker = new Handler(sWorkerThread.getLooper());
204 if (sWorkerThread.getThreadId() == Process.myTid()) { in runOnMainThread()
215 if (sWorkerThread.getThreadId() == Process.myTid()) { in runOnWorkerThread()
228 if (sWorkerThread.getThreadId() == Process.myTid()) { in unbindItemInfosAndClearQueuedBindRunnables()
954 sWorkerThread.setPriority(Thread.NORM_PRIORITY); in startLoader()
1882 boolean isRunningOnMainThread = !(sWorkerThread.getThreadId() == Process.myTid()); in onlyBindAllApps()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java111 @Thunk static final HandlerThread sWorkerThread = new HandlerThread("launcher-loader"); field in LauncherModel
113 sWorkerThread.start(); in sWorkerThread.start()
115 @Thunk static final Handler sWorker = new Handler(sWorkerThread.getLooper());
248 if (sWorkerThread.getThreadId() == Process.myTid()) { in runOnMainThread()
259 if (sWorkerThread.getThreadId() == Process.myTid()) { in runOnWorkerThread()
580 if (sWorkerThread.getThreadId() == Process.myTid()) { in unbindItemInfosAndClearQueuedBindRunnables()
1367 sWorkerThread.setPriority(Thread.NORM_PRIORITY); in startLoader()
2783 boolean isRunningOnMainThread = !(sWorkerThread.getThreadId() == Process.myTid());
3670 return sWorkerThread.getLooper();
DUtilities.java725 (LauncherModel.sWorkerThread.getThreadId() != Process.myTid())) { in assertWorkerThread()