Home
last modified time | relevance | path

Searched refs:eventHandler (Results 1 – 25 of 37) sorted by relevance

12

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DAudioBecomingNoisyManager.java35 public AudioBecomingNoisyManager(Context context, Handler eventHandler, EventListener listener) { in AudioBecomingNoisyManager() argument
37 this.receiver = new AudioBecomingNoisyReceiver(eventHandler, listener); in AudioBecomingNoisyManager()
60 private final Handler eventHandler; field in AudioBecomingNoisyManager.AudioBecomingNoisyReceiver
62 public AudioBecomingNoisyReceiver(Handler eventHandler, EventListener listener) { in AudioBecomingNoisyReceiver() argument
63 this.eventHandler = eventHandler; in AudioBecomingNoisyReceiver()
70 eventHandler.post(this); in onReceive()
DDefaultRenderersFactory.java203 Handler eventHandler, in createRenderers() argument
214 eventHandler, in createRenderers()
224 eventHandler, in createRenderers()
227 buildTextRenderers(context, textRendererOutput, eventHandler.getLooper(), in createRenderers()
229 buildMetadataRenderers(context, metadataRendererOutput, eventHandler.getLooper(), in createRenderers()
232 buildMiscellaneousRenderers(context, eventHandler, extensionRendererMode, renderersList); in createRenderers()
256 Handler eventHandler, in buildVideoRenderers() argument
266 eventHandler, in buildVideoRenderers()
295 eventHandler, in buildVideoRenderers()
322 eventHandler, in buildVideoRenderers()
[all …]
DStreamVolumeManager.java48 private final Handler eventHandler; field in StreamVolumeManager
59 public StreamVolumeManager(Context context, Handler eventHandler, Listener listener) { in StreamVolumeManager() argument
61 this.eventHandler = eventHandler; in StreamVolumeManager()
196 eventHandler.post(StreamVolumeManager.this::updateVolumeAndNotifyIfChanged); in onReceive()
DAudioFocusManager.java117 public AudioFocusManager(Context context, Handler eventHandler, PlayerControl playerControl) { in AudioFocusManager() argument
121 this.focusListener = new AudioFocusListener(eventHandler); in AudioFocusManager()
386 private final Handler eventHandler; field in AudioFocusManager.AudioFocusListener
388 public AudioFocusListener(Handler eventHandler) { in AudioFocusListener() argument
389 this.eventHandler = eventHandler; in AudioFocusListener()
394 eventHandler.post(() -> handlePlatformAudioFocusChange(focusChange)); in onAudioFocusChange()
DRenderersFactory.java40 Handler eventHandler, in createRenderers() argument
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DExtractorMediaSource.java205 Uri uri, @Nullable Handler eventHandler, @Nullable MediaSourceEventListener eventListener) { in createMediaSource() argument
207 if (eventHandler != null && eventListener != null) { in createMediaSource()
208 mediaSource.addEventListener(eventHandler, eventListener); in createMediaSource()
243 @Nullable Handler eventHandler, in ExtractorMediaSource() argument
245 this(uri, dataSourceFactory, extractorsFactory, eventHandler, eventListener, null); in ExtractorMediaSource()
265 @Nullable Handler eventHandler, in ExtractorMediaSource() argument
272 eventHandler, in ExtractorMediaSource()
297 @Nullable Handler eventHandler, in ExtractorMediaSource() argument
309 if (eventListener != null && eventHandler != null) { in ExtractorMediaSource()
310 addEventListener(eventHandler, new EventListenerWrapper(eventListener)); in ExtractorMediaSource()
DSingleSampleMediaSource.java168 @Nullable Handler eventHandler, in createMediaSource() argument
171 if (eventHandler != null && eventListener != null) { in createMediaSource()
172 mediaSource.addEventListener(eventHandler, eventListener); in createMediaSource()
259 @Nullable Handler eventHandler, in SingleSampleMediaSource() argument
271 if (eventHandler != null && eventListener != null) { in SingleSampleMediaSource()
272 addEventListener(eventHandler, new EventListenerWrapper(eventListener, eventSourceId)); in SingleSampleMediaSource()
DCompositeMediaSource.java39 @Nullable private Handler eventHandler; field in CompositeMediaSource
51 eventHandler = Util.createHandler(); in prepareSourceInternal()
116 mediaSource.addEventListener(Assertions.checkNotNull(eventHandler), eventListener); in prepareChildSource()
117 mediaSource.addDrmEventListener(Assertions.checkNotNull(eventHandler), eventListener); in prepareChildSource()
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaSource.java262 @Nullable Handler eventHandler, in createMediaSource() argument
265 if (eventHandler != null && eventListener != null) { in createMediaSource()
266 mediaSource.addEventListener(eventHandler, eventListener); in createMediaSource()
278 @Nullable Handler eventHandler, in createMediaSource() argument
281 if (eventHandler != null && eventListener != null) { in createMediaSource()
282 mediaSource.addEventListener(eventHandler, eventListener); in createMediaSource()
379 @Nullable Handler eventHandler, in SsMediaSource() argument
385 eventHandler, in SsMediaSource()
404 @Nullable Handler eventHandler, in SsMediaSource() argument
417 if (eventHandler != null && eventListener != null) { in SsMediaSource()
[all …]
/external/exoplayer/tree/extensions/vp9/src/main/java/com/google/android/exoplayer2/ext/vp9/
DLibvpxVideoRenderer.java78 @Nullable Handler eventHandler, in LibvpxVideoRenderer() argument
83 eventHandler, in LibvpxVideoRenderer()
108 @Nullable Handler eventHandler, in LibvpxVideoRenderer() argument
114 super(allowedJoiningTimeMs, eventHandler, eventListener, maxDroppedFramesToNotify); in LibvpxVideoRenderer()
/external/exoplayer/tree/extensions/av1/src/main/java/com/google/android/exoplayer2/ext/av1/
DLibgav1VideoRenderer.java69 @Nullable Handler eventHandler, in Libgav1VideoRenderer() argument
74 eventHandler, in Libgav1VideoRenderer()
98 @Nullable Handler eventHandler, in Libgav1VideoRenderer() argument
104 super(allowedJoiningTimeMs, eventHandler, eventListener, maxDroppedFramesToNotify); in Libgav1VideoRenderer()
/external/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/
DLibflacAudioRenderer.java54 @Nullable Handler eventHandler, in LibflacAudioRenderer()
57 super(eventHandler, eventListener, audioProcessors); in LibflacAudioRenderer()
67 @Nullable Handler eventHandler, in LibflacAudioRenderer()
71 eventHandler, in LibflacAudioRenderer()
/external/exoplayer/tree/extensions/ffmpeg/src/main/java/com/google/android/exoplayer2/ext/ffmpeg/
DFfmpegAudioRenderer.java60 @Nullable Handler eventHandler, in FfmpegAudioRenderer()
64 eventHandler, in FfmpegAudioRenderer()
83 @Nullable Handler eventHandler, in FfmpegAudioRenderer()
88 eventHandler, in FfmpegAudioRenderer()
DFfmpegVideoRenderer.java55 @Nullable Handler eventHandler, in FfmpegVideoRenderer() argument
58 super(allowedJoiningTimeMs, eventHandler, eventListener, maxDroppedFramesToNotify); in FfmpegVideoRenderer()
/external/apache-http/android/src/android/net/http/
DRequestQueue.java291 Map<String, String> headers, EventHandler eventHandler, in queueRequest() argument
294 return queueRequest(url, uri, method, headers, eventHandler, in queueRequest()
311 EventHandler eventHandler, in queueRequest() argument
317 if (eventHandler == null) { in queueRequest()
318 eventHandler = new LoggingEventHandler(); in queueRequest()
327 bodyLength, eventHandler, headers); in queueRequest()
365 EventHandler eventHandler, InputStream bodyProvider, in queueSynchronousRequest() argument
374 bodyProvider, bodyLength, eventHandler, headers); in queueSynchronousRequest()
DHttpConnection.java48 EventHandler eventHandler = req.getEventHandler(); in openConnection() local
50 eventHandler.certificate(mCertificate); in openConnection()
/external/grpc-grpc/src/objective-c/RxLibrary/
DGRXWriteable.m32 __block GRXEventHandler eventHandler = ^(BOOL done, id value, NSError *error) {
33 // Nillify eventHandler before invoking handler, in case the latter causes the former to be
38 eventHandler = nil;
63 if (eventHandler) {
64 eventHandler(done, value, error);
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashMediaSource.java286 @Nullable Handler eventHandler, in createMediaSource() argument
289 if (eventHandler != null && eventListener != null) { in createMediaSource()
290 mediaSource.addEventListener(eventHandler, eventListener); in createMediaSource()
302 @Nullable Handler eventHandler, in createMediaSource() argument
305 if (eventHandler != null && eventListener != null) { in createMediaSource()
306 mediaSource.addEventListener(eventHandler, eventListener); in createMediaSource()
438 @Nullable Handler eventHandler, in DashMediaSource() argument
444 eventHandler, in DashMediaSource()
463 @Nullable Handler eventHandler, in DashMediaSource() argument
477 if (eventHandler != null && eventListener != null) { in DashMediaSource()
[all …]
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/
DDebugRenderersFactory.java55 Handler eventHandler, in buildVideoRenderers() argument
64 eventHandler, in buildVideoRenderers()
90 Handler eventHandler, in DebugMediaCodecVideoRenderer() argument
97 eventHandler, in DebugMediaCodecVideoRenderer()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DMediaCodecAudioRenderer.java116 @Nullable Handler eventHandler, in MediaCodecAudioRenderer() argument
121 eventHandler, in MediaCodecAudioRenderer()
140 @Nullable Handler eventHandler, in MediaCodecAudioRenderer() argument
147 eventHandler, in MediaCodecAudioRenderer()
163 @Nullable Handler eventHandler, in MediaCodecAudioRenderer() argument
170 eventHandler, in MediaCodecAudioRenderer()
190 @Nullable Handler eventHandler, in MediaCodecAudioRenderer() argument
200 eventDispatcher = new EventDispatcher(eventHandler, eventListener); in MediaCodecAudioRenderer()
DDecoderAudioRenderer.java139 @Nullable Handler eventHandler, in DecoderAudioRenderer()
143 eventHandler, in DecoderAudioRenderer()
158 @Nullable Handler eventHandler, in DecoderAudioRenderer()
162 this(eventHandler, eventListener, new DefaultAudioSink(audioCapabilities, audioProcessors)); in DecoderAudioRenderer()
172 @Nullable Handler eventHandler, in DecoderAudioRenderer()
176 eventDispatcher = new EventDispatcher(eventHandler, eventListener); in DecoderAudioRenderer()
/external/exoplayer/tree/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/
DLibopusAudioRenderer.java52 @Nullable Handler eventHandler, in LibopusAudioRenderer()
55 super(eventHandler, eventListener, audioProcessors); in LibopusAudioRenderer()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DBandwidthMeter.java63 void addEventListener(Handler eventHandler, EventListener eventListener); in addEventListener() argument
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTestExoPlayer.java279 (eventHandler, in build()
287 new FakeVideoRenderer(eventHandler, videoRendererEventListener), in build()
288 new FakeAudioRenderer(eventHandler, audioRendererEventListener) in build()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaSource.java321 @Nullable Handler eventHandler, in createMediaSource() argument
324 if (eventHandler != null && eventListener != null) { in createMediaSource()
325 mediaSource.addEventListener(eventHandler, eventListener); in createMediaSource()

12