Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java95 @Thunk static final HandlerThread sWorkerThread = new HandlerThread("launcher-loader"); field in LauncherModel
97 sWorkerThread.start(); in sWorkerThread.start()
99 @Thunk static final Handler sWorker = new Handler(sWorkerThread.getLooper());
171 if (sWorkerThread.getThreadId() == Process.myTid()) { in runOnWorkerThread()
685 return sWorkerThread.getLooper(); in getWorkerLooper()
689 Process.setThreadPriority(sWorkerThread.getThreadId(), priority); in setWorkerPriority()
/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()