Home
last modified time | relevance | path

Searched refs:mainHandler (Results 1 – 14 of 14) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/request/
DRequestFutureTarget.java41 private final Handler mainHandler; field in RequestFutureTarget
58 public RequestFutureTarget(Handler mainHandler, int width, int height) { in RequestFutureTarget() argument
59 this(mainHandler, width, height, true, DEFAULT_WAITER); in RequestFutureTarget()
62 …RequestFutureTarget(Handler mainHandler, int width, int height, boolean assertBackgroundThread, Wa… in RequestFutureTarget() argument
63 this.mainHandler = mainHandler; in RequestFutureTarget()
232 mainHandler.post(this); in clear()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifFrameManager.java29 private final Handler mainHandler; field in GifFrameManager
48 …ic GifFrameManager(Context context, BitmapPool bitmapPool, GifDecoder decoder, Handler mainHandler, in GifFrameManager() argument
52 this.mainHandler = mainHandler; in GifFrameManager()
108 mainHandler.removeCallbacks(current); in clear()
113 mainHandler.removeCallbacks(next); in clear()
139 mainHandler.postAtTime(this, targetTime); in onResourceReady()
149 mainHandler.post(new Runnable() { in run()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DActionSchedule.java102 HandlerWrapper mainHandler, in start() argument
105 rootNode.schedule(player, trackSelector, surface, mainHandler); in start()
677 private @MonotonicNonNull HandlerWrapper mainHandler; field in ActionSchedule.ActionNode
721 HandlerWrapper mainHandler) { in schedule() argument
725 this.mainHandler = mainHandler; in schedule()
726 if (delayMs == 0 && Looper.myLooper() == mainHandler.getLooper()) { in schedule()
729 mainHandler.postDelayed(this, delayMs); in schedule()
739 Assertions.checkStateNotNull(mainHandler), in run()
742 mainHandler.postDelayed( in run()
747 player, trackSelector, surface, mainHandler, /* nextAction= */ null); in run()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownloadManager.java170 private final Handler mainHandler; field in DownloadManager
226 Handler mainHandler = Util.createHandler(this::handleMainMessage); in DownloadManager() local
227 this.mainHandler = mainHandler; in DownloadManager()
235 mainHandler, in DownloadManager()
491 mainHandler.removeCallbacksAndMessages(/* token= */ null); in release()
659 private final Handler mainHandler; field in DownloadManager.InternalHandler
673 Handler mainHandler, in InternalHandler() argument
681 this.mainHandler = mainHandler; in InternalHandler()
748 mainHandler in handleMessage()
773 mainHandler.obtainMessage(MSG_INITIALIZED, downloadsForMessage).sendToTarget(); in initialize()
[all …]
/external/exoplayer/tree/demos/gl/src/main/java/com/google/android/exoplayer2/gldemo/
DVideoProcessingGLSurfaceView.java71 private final Handler mainHandler; field in VideoProcessingGLSurfaceView
92 mainHandler = new Handler(); in VideoProcessingGLSurfaceView()
175 mainHandler.post( in onDetachedFromWindow()
189 mainHandler.post( in onSurfaceTextureAvailable()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/spherical/
DSphericalGLSurfaceView.java69 private final Handler mainHandler; field in SphericalGLSurfaceView
85 mainHandler = new Handler(Looper.getMainLooper()); in SphericalGLSurfaceView()
178 mainHandler.post( in onDetachedFromWindow()
207 mainHandler.post( in onSurfaceTextureAvailable()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/
DAdsMediaSource.java130 private final Handler mainHandler; field in AdsMediaSource
178 mainHandler = new Handler(Looper.getMainLooper()); in AdsMediaSource()
196 mainHandler.post(() -> adsLoader.start(componentListener, adViewProvider)); in prepareSourceInternal()
255 mainHandler.post(adsLoader::stop); in releaseSourceInternal()
386 mainHandler.post( in onPrepareError()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothMediaFacade.java229 Handler mainHandler = new Handler(mContext.getMainLooper()); in setCurrentMediaController() local
241 mMediaController.registerCallback(mMediaCtrlCallback, mainHandler); in setCurrentMediaController()
440 Handler mainHandler = new Handler(mContext.getMainLooper()); in bluetoothMediaConnectToCarMBS() local
441 mainHandler.post(createAndConnectMediaBrowser); in bluetoothMediaConnectToCarMBS()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DWaltTcpConnection.java50 private final Handler mainHandler = new Handler(); field in WaltTcpConnection
106 mainHandler.post(new Runnable() { in connect()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerNotificationManager.java363 private final Handler mainHandler; field in PlayerNotificationManager
612 mainHandler = in PlayerNotificationManager()
999 mainHandler.removeMessages(MSG_START_OR_UPDATE_NOTIFICATION); in stopNotification()
1220 if (!mainHandler.hasMessages(MSG_START_OR_UPDATE_NOTIFICATION)) { in postStartOrUpdateNotification()
1221 mainHandler.sendEmptyMessage(MSG_START_OR_UPDATE_NOTIFICATION); in postStartOrUpdateNotification()
1226 mainHandler in postUpdateNotificationBitmap()
/external/glide/library/src/main/java/com/bumptech/glide/
DGlide.java98 private final Handler mainHandler; field in Glide
193 mainHandler = new Handler(Looper.getMainLooper()); in Glide()
305 return mainHandler; in getMainHandler()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowInstrumentation.java82 private Handler mainHandler; field in ShadowInstrumentation
732 if (mainHandler == null) {
733 mainHandler = new Handler(context.getMainLooper());
735 return mainHandler;
DShadowAccountManager.java51 private Handler mainHandler; field in ShadowAccountManager
57 mainHandler = new Handler(context.getMainLooper()); in __constructor__()
597 this.handler = handler == null ? mainHandler : handler;
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DDefaultBandwidthMeter.java436 private final Handler mainHandler; field in DefaultBandwidthMeter.ConnectivityActionReceiver
450 mainHandler = new Handler(Looper.getMainLooper()); in ConnectivityActionReceiver()
459 mainHandler.post(() -> updateBandwidthMeter(bandwidthMeter)); in register()