Home
last modified time | relevance | path

Searched refs:sHandler (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DForegroundThread.java28 private static Handler sHandler; field in ForegroundThread
38 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
52 return sHandler; in getHandler()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DPlaybackTransportControlGlue.java110 static final Handler sHandler = new UpdatePlaybackStateHandler(); field in PlaybackTransportControlGlue
127 sHandler.removeMessages(MSG_UPDATE_PLAYBACK_STATE, mGlueWeakReference); in setControlsRow()
228 sHandler.removeMessages(MSG_UPDATE_PLAYBACK_STATE, mGlueWeakReference); in onUpdatePlaybackStatusAfterUserAction()
229 sHandler.sendMessageDelayed(sHandler.obtainMessage(MSG_UPDATE_PLAYBACK_STATE, in onUpdatePlaybackStatusAfterUserAction()
272 if (sHandler.hasMessages(MSG_UPDATE_PLAYBACK_STATE, mGlueWeakReference)) { in onPlayStateChanged()
273 sHandler.removeMessages(MSG_UPDATE_PLAYBACK_STATE, mGlueWeakReference); in onPlayStateChanged()
276 sHandler.sendMessageDelayed(sHandler.obtainMessage(MSG_UPDATE_PLAYBACK_STATE, in onPlayStateChanged()
DPlaybackControlGlue.java204 static final Handler sHandler = new UpdatePlaybackStateHandler(); field in PlaybackControlGlue
569 sHandler.removeMessages(MSG_UPDATE_PLAYBACK_STATE, mGlueWeakReference); in updateControlsRow()
576 sHandler.removeMessages(MSG_UPDATE_PLAYBACK_STATE, mGlueWeakReference); in updatePlaybackStatusAfterUserAction()
577 sHandler.sendMessageDelayed(sHandler.obtainMessage(MSG_UPDATE_PLAYBACK_STATE, in updatePlaybackStatusAfterUserAction()
842 if (sHandler.hasMessages(MSG_UPDATE_PLAYBACK_STATE, mGlueWeakReference)) { in onStateChanged()
843 sHandler.removeMessages(MSG_UPDATE_PLAYBACK_STATE, mGlueWeakReference); in onStateChanged()
846 sHandler.sendMessageDelayed(sHandler.obtainMessage(MSG_UPDATE_PLAYBACK_STATE, in onStateChanged()
/frameworks/base/services/core/java/com/android/server/
DFgThread.java32 private static Handler sHandler; field in FgThread
43 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
57 return sHandler; in getHandler()
DDisplayThread.java31 private static Handler sHandler; field in DisplayThread
44 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
58 return sHandler; in getHandler()
DIoThread.java29 private static Handler sHandler; field in IoThread
40 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
54 return sHandler; in getHandler()
DAnimationThread.java30 private static Handler sHandler; field in AnimationThread
41 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
55 return sHandler; in getHandler()
DUiThread.java32 private static Handler sHandler; field in UiThread
52 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
66 return sHandler; in getHandler()
/frameworks/base/core/java/com/android/internal/os/
DBackgroundThread.java28 private static Handler sHandler; field in BackgroundThread
39 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
53 return sHandler; in getHandler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDejankUtils.java32 private static final Handler sHandler = new Handler(); field in DejankUtils
40 sHandler.post(sPendingRunnables.get(i));
67 sHandler.removeCallbacks(r); in removeCallbacks()
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
DCamera2DeviceTester.java37 private static Handler sHandler; field in Camera2DeviceTester
43 sHandler = new Handler(sThread.getLooper()); in setupBackgroundHandler()
62 manager.openCamera(id, this, sHandler); in captureCameraDevice()
/frameworks/base/core/java/android/app/
DQueuedWork.java77 private static Handler sHandler = null; field in QueuedWork
101 if (sHandler == null) { in getHandler()
106 sHandler = new QueuedWorkHandler(handlerThread.getLooper()); in getHandler()
108 return sHandler; in getHandler()
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java49 private static Handler sHandler; field in RotationHelper
61 sHandler = handler; in init()
68 .registerDisplayListener(sDisplayListener, sHandler); in enable()
/frameworks/support/core-utils/java/android/support/v4/content/
DModernAsyncTask.java81 private static InternalHandler sHandler; field in ModernAsyncTask
113 if (sHandler == null) { in getHandler()
114 sHandler = new InternalHandler(); in getHandler()
116 return sHandler; in getHandler()
/frameworks/support/design/src/android/support/design/widget/
DBaseTransientBottomBar.java169 static final Handler sHandler; field in BaseTransientBottomBar
180 sHandler = new Handler(Looper.getMainLooper(), new Handler.Callback() {
394 sHandler.sendMessage(sHandler.obtainMessage(MSG_SHOW, BaseTransientBottomBar.this));
399 sHandler.sendMessage(sHandler.obtainMessage(MSG_DISMISS, event, 0,
459 sHandler.post(new Runnable() { in showView()
/frameworks/base/core/java/android/os/
DAsyncTask.java225 private static InternalHandler sHandler; field in AsyncTask
284 if (sHandler == null) { in getMainHandler()
285 sHandler = new InternalHandler(Looper.getMainLooper()); in getMainHandler()
287 return sHandler; in getMainHandler()
/frameworks/base/core/java/android/provider/
DFontsContract.java160 private static Handler sHandler; field in FontsContract
322 sHandler = null;
340 if (sHandler == null) { in getFontSync()
343 sHandler = new Handler(sThread.getLooper()); in getFontSync()
351 sHandler.post(() -> { in getFontSync()
374 sHandler.removeCallbacks(sReplaceDispatcherThreadRunnable); in getFontSync()
375 sHandler.postDelayed(sReplaceDispatcherThreadRunnable, THREAD_RENEWAL_THRESHOLD_MS); in getFontSync()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DBackgroundHelper.java191 static Handler sHandler = new Handler(); field in BackgroundHelper
243 sHandler.removeCallbacks(mRunnable); in setBackground()
246 sHandler.postDelayed(mRunnable, SET_BACKGROUND_DELAY_MS); in setBackground()
/frameworks/support/core-utils/java/android/support/v4/app/
DFrameMetricsAggregator.java341 private static Handler sHandler = null; field in FrameMetricsAggregator.FrameMetricsApi24Impl
413 sHandler = new Handler(sHandlerThread.getLooper()); in add()
420 activity.getWindow().addOnFrameMetricsAvailableListener(mListener, sHandler); in add()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DFullWidthDetailsOverviewRowPresenter.java69 static final Handler sHandler = new Handler(); field in FullWidthDetailsOverviewRowPresenter
172 sHandler.removeCallbacks(mUpdateDrawableCallback); in onImageDrawableChanged()
173 sHandler.post(mUpdateDrawableCallback); in onImageDrawableChanged()
227 sHandler.removeCallbacks(mUpdateDrawableCallback); in onUnbind()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotSurface.java408 private static Handler sHandler = new Handler(Looper.getMainLooper()) { field in TaskSnapshotSurface
448 sHandler.post(mOuter::remove); in resized()
451 sHandler.obtainMessage(MSG_REPORT_DRAW, mOuter).sendToTarget(); in resized()