Home
last modified time | relevance | path

Searched refs:getMainLooper (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/support/volley/src/com/android/volley/
DRequest.java140 if (Looper.myLooper() != Looper.getMainLooper()) { in finish()
143 Handler mainThread = new Handler(Looper.getMainLooper()); in finish()
DRequestQueue.java115 new ExecutorDelivery(new Handler(Looper.getMainLooper()))); in RequestQueue()
/frameworks/base/core/java/android/app/
DWallpaperManager.java340 initGlobals(context.getMainLooper()); in WallpaperManager()
712 WindowManagerGlobal.getWindowSession(mContext.getMainLooper()).setWallpaperPosition( in setWallpaperOffsets()
750 WindowManagerGlobal.getWindowSession(mContext.getMainLooper()).sendWallpaperCommand( in sendWallpaperCommand()
770 WindowManagerGlobal.getWindowSession(mContext.getMainLooper()).setWallpaperPosition( in clearWallpaperOffsets()
/frameworks/support/volley/src/com/android/volley/toolbox/
DClearCacheRequest.java51 Handler handler = new Handler(Looper.getMainLooper()); in isCanceled()
/frameworks/base/test-runner/src/android/test/
DLoaderTestCase.java77 final Handler mainThreadHandler = new Handler(Looper.getMainLooper()) { in getLoaderResultSynchronously()
/frameworks/base/opengl/java/android/opengl/
DManagedEGLContext.java100 if (Looper.getMainLooper() != Looper.myLooper()) { in doTerminate()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DCallbackFilter.java81 mUiThreadHandler = new Handler(Looper.getMainLooper()); in prepare()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DGLEnvironment.java82 if (Looper.myLooper() != null && Looper.myLooper().equals(Looper.getMainLooper())) { in activate()
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java115 } else if ((looper = Looper.getMainLooper()) != null) { in SurfaceTexture()
/frameworks/base/core/java/android/os/
DLooper.java101 public static Looper getMainLooper() { in getMainLooper() method in Looper
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityInputFilter.java68 super(context.getMainLooper()); in AccessibilityInputFilter()
/frameworks/base/core/java/android/app/backup/
DRestoreSession.java194 mHandler = new Handler(context.getMainLooper()) { in RestoreObserverWrapper()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAdnRecordLoader.java63 super(Looper.getMainLooper()); in AdnRecordLoader()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java510 return new IAccessibilityServiceClientWrapper(this, getMainLooper(), new Callbacks() { in onBind()
/frameworks/base/media/java/android/media/
DSoundPool.java422 } else if ((looper = Looper.getMainLooper()) != null) { in setOnLoadCompleteListener()
DJetPlayer.java161 mInitializationLooper = Looper.getMainLooper(); in JetPlayer()
DMediaRecorder.java102 } else if ((looper = Looper.getMainLooper()) != null) { in MediaRecorder()
/frameworks/base/core/java/android/webkit/
DWebCoreThreadWatchdog.java239 assert Looper.getMainLooper().getThread() == Thread.currentThread(); in run()
DHTML5Audio.java194 webViewCore.getContext().getMainLooper(), webViewCore.getWebViewClassic()); in HTML5Audio()
/frameworks/base/keystore/java/android/security/
DKeyChain.java426 if (looper != null && looper == context.getMainLooper()) { in ensureNotOnMainThread()
/frameworks/base/core/java/android/content/
DContextWrapper.java103 public Looper getMainLooper() { in getMainLooper() method in ContextWrapper
104 return mBase.getMainLooper(); in getMainLooper()
/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java50 mMainLooper = context.getMainLooper(); in HandlerCaller()
/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java502 } else if ((looper = Looper.getMainLooper()) != null) { in setDataCaptureListener()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java195 mHandler = new MyHandler(context.getMainLooper()); in AccessibilityManager()
/frameworks/support/v4/java/android/support/v4/content/
DLocalBroadcastManager.java110 mHandler = new Handler(context.getMainLooper()) { in LocalBroadcastManager()

123