Searched refs:PlayerMessage (Results 1 – 16 of 16) sorted by relevance
29 public final class PlayerMessage { class53 void sendMessage(PlayerMessage message); in sendMessage()83 public PlayerMessage( in PlayerMessage() method in PlayerMessage115 public PlayerMessage setType(int messageType) { in setType()133 public PlayerMessage setPayload(@Nullable Object payload) { in setPayload()152 public PlayerMessage setHandler(Handler handler) { in setHandler()182 public PlayerMessage setPosition(long positionMs) { in setPosition()200 public PlayerMessage setPosition(int windowIndex, long positionMs) { in setPosition()225 public PlayerMessage setDeleteAfterDelivery(boolean deleteAfterDelivery) { in setDeleteAfterDelivery()244 public PlayerMessage send() { in send()[all …]
22 import com.google.android.exoplayer2.PlayerMessage.Target;47 public interface Renderer extends PlayerMessage.Target {
516 PlayerMessage createMessage(PlayerMessage.Target target); in createMessage()
61 PlayerMessage.Sender {287 public synchronized void sendMessage(PlayerMessage message) { in sendMessage()435 sendMessageInternal((PlayerMessage) msg.obj); in handleMessage()438 sendMessageToTargetThread((PlayerMessage) msg.obj); in handleMessage()1262 private void sendMessageInternal(PlayerMessage message) throws ExoPlaybackException { in sendMessageInternal()1288 private void sendMessageToTarget(PlayerMessage message) throws ExoPlaybackException { in sendMessageToTarget()1301 private void sendMessageToTargetThread(final PlayerMessage message) { in sendMessageToTargetThread()1319 private void deliverMessage(PlayerMessage message) throws ExoPlaybackException { in deliverMessage()2547 public final PlayerMessage message;2553 public PendingMessageInfo(PlayerMessage message) {
26 import com.google.android.exoplayer2.PlayerMessage.Target;702 public PlayerMessage createMessage(Target target) { in createMessage()703 return new PlayerMessage( in createMessage()
1616 public PlayerMessage createMessage(PlayerMessage.Target target) { in createMessage()1845 List<PlayerMessage> messages = new ArrayList<>(); in setVideoSurfaceInternal()1859 for (PlayerMessage message : messages) { in setVideoSurfaceInternal()
49 private PlayerMessage message;54 PlayerMessage.Sender sender = (message) -> {}; in setUp()55 PlayerMessage.Target target = (messageType, payload) -> {}; in setUp()60 new PlayerMessage(sender, target, Timeline.EMPTY, /* defaultWindowIndex= */ 0, handler); in setUp()
2250 final AtomicReference<PlayerMessage> message = new AtomicReference<>(); in cancelMessageBeforeDelivery()2282 final AtomicReference<PlayerMessage> message = new AtomicReference<>(); in cancelRepeatedMessageAfterDelivery()6524 private static final class CountingMessageTarget implements PlayerMessage.Target {
26 import com.google.android.exoplayer2.PlayerMessage;363 public PlayerMessage createMessage(PlayerMessage.Target target) { in createMessage()
26 import com.google.android.exoplayer2.PlayerMessage;27 import com.google.android.exoplayer2.PlayerMessage.Target;599 PlayerMessage message = player.createMessage(target); in doActionImpl()
24 import com.google.android.exoplayer2.PlayerMessage;25 import com.google.android.exoplayer2.PlayerMessage.Target;
29 import com.google.android.exoplayer2.PlayerMessage.Target;
31 import com.google.android.exoplayer2.PlayerMessage.Target;
30 import com.google.android.exoplayer2.PlayerMessage.Target;
41 import com.google.android.exoplayer2.PlayerMessage.Target;
48 * Allow to explicitly send `PlayerMessage`s at the end of a stream.1257 * Add possibility to cancel `PlayerMessage`s.