/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | ControlDispatcher.java | 18 import com.google.android.exoplayer2.Player.RepeatMode; 21 * Dispatches operations to the {@link Player}. 30 * Dispatches a {@link Player#setPlayWhenReady(boolean)} operation. 32 * @param player The {@link Player} to which the operation should be dispatched. 36 boolean dispatchSetPlayWhenReady(Player player, boolean playWhenReady); in dispatchSetPlayWhenReady() argument 39 * Dispatches a {@link Player#seekTo(int, long)} operation. 41 * @param player The {@link Player} to which the operation should be dispatched. 47 boolean dispatchSeekTo(Player player, int windowIndex, long positionMs); in dispatchSeekTo() argument 50 * Dispatches a {@link Player#previous()} operation. 52 * @param player The {@link Player} to which the operation should be dispatched. [all …]
|
D | DefaultControlDispatcher.java | 53 public boolean dispatchSetPlayWhenReady(Player player, boolean playWhenReady) { in dispatchSetPlayWhenReady() argument 54 player.setPlayWhenReady(playWhenReady); in dispatchSetPlayWhenReady() 59 public boolean dispatchSeekTo(Player player, int windowIndex, long positionMs) { in dispatchSeekTo() argument 60 player.seekTo(windowIndex, positionMs); in dispatchSeekTo() 65 public boolean dispatchPrevious(Player player) { in dispatchPrevious() argument 66 Timeline timeline = player.getCurrentTimeline(); in dispatchPrevious() 67 if (timeline.isEmpty() || player.isPlayingAd()) { in dispatchPrevious() 70 int windowIndex = player.getCurrentWindowIndex(); in dispatchPrevious() 72 int previousWindowIndex = player.getPreviousWindowIndex(); in dispatchPrevious() 74 && (player.getCurrentPosition() <= MAX_POSITION_FOR_SEEK_TO_PREVIOUS in dispatchPrevious() [all …]
|
D | SimpleExoPlayer.java | 75 Player.AudioComponent, 76 Player.VideoComponent, 77 Player.TextComponent, 78 Player.MetadataComponent, 79 Player.DeviceComponent { 142 * player. 167 * player. 172 * @param looper A {@link Looper} that must be used for all calls to the player. 176 * initial preparations are triggered only when the player starts buffering the media. 203 * Sets the {@link TrackSelector} that will be used by the player. [all …]
|
D | ExoPlayer.java | 48 * An extensible media player that plays {@link MediaSource}s. Instances can be obtained from {@link 51 * <h3>Player components</h3> 56 * work to components that are injected when a player is created or when it's prepared for playback. 73 * player is created. 77 * when the player is created. 80 * DefaultLoadControl}) suitable for most use cases. A LoadControl is injected when the player 86 * custom LoadControl could be injected to change the player's buffering strategy, or a custom 89 * <p>The concept of injecting components that implement pieces of player functionality is present 108 * specified by passing a `Looper` when creating the player. If no `Looper` is specified, then 109 * the `Looper` of the thread that the player is created on is used, or if that thread does [all …]
|
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/ |
D | MediaSessionConnector.java | 41 import com.google.android.exoplayer2.Player; 57 * Connects a {@link MediaSessionCompat} to a {@link Player}. 65 * actions by calling appropriate player methods. The playback state of the media session is 66 * automatically synced with the player. The connector can also be optionally extended by providing 131 * Player#getPlaybackSpeed()}. 155 * receiver may handle the command, but is not required to do so. Changes to the player should 158 * @param player The player connected to the media session. 160 * changes to the player. 167 Player player, in onCommand() argument 248 * @param player The player connected to the media session. [all …]
|
D | TimelineQueueNavigator.java | 26 import com.google.android.exoplayer2.Player; 35 * windows of a {@link Player}'s {@link Timeline} to the media session queue. 61 * If the number of windows in the {@link Player}'s {@link Timeline} exceeds {@code maxQueueSize}, 84 * @param player The current player. 88 public abstract MediaDescriptionCompat getMediaDescription(Player player, int windowIndex); in getMediaDescription() argument 91 public long getSupportedQueueNavigatorActions(Player player) { in getSupportedQueueNavigatorActions() argument 95 Timeline timeline = player.getCurrentTimeline(); in getSupportedQueueNavigatorActions() 96 if (!timeline.isEmpty() && !player.isPlayingAd()) { in getSupportedQueueNavigatorActions() 97 timeline.getWindow(player.getCurrentWindowIndex(), window); in getSupportedQueueNavigatorActions() 99 enablePrevious = window.isSeekable || !window.isDynamic || player.hasPrevious(); in getSupportedQueueNavigatorActions() [all …]
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/ |
D | ExoPlayerTest.java | 35 import com.google.android.exoplayer2.Player.DiscontinuityReason; 36 import com.google.android.exoplayer2.Player.EventListener; 111 * For tests that rely on the player transitioning to the ended state, the duration in 112 * milliseconds after starting the player before the test will time out. This is to catch cases 113 * where the player under test is not making progress, in which case the test should fail. 145 Player.TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, in playEmptyTimeline() 146 Player.TIMELINE_CHANGE_REASON_SOURCE_UPDATE); in playEmptyTimeline() 169 Player.TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, in playSinglePeriodTimeline() 170 Player.TIMELINE_CHANGE_REASON_SOURCE_UPDATE); in playSinglePeriodTimeline() 191 Player.DISCONTINUITY_REASON_PERIOD_TRANSITION, in playMultiPeriodTimeline() [all …]
|
/external/python/google-api-python-client/docs/dyn/ |
D | games_v1.scores.html | 79 …s, and optionally ranks, in leaderboards for the currently authenticated player. For a specific ti… 88 <p class="firstline">Lists the scores in a leaderboard around (and including) a player's score.</p> 104 …s, and optionally ranks, in leaderboards for the currently authenticated player. For a specific ti… 108 …playerId: string, A player ID. A value of me may be used in place of the authenticated player's ID… 119 PUBLIC - Retrieve public ranks, if the player is sharing their gameplay activity publicly. 128 { # This is a JSON template for a list of player leaderboard scores. 131 { # This is a JSON template for a player leaderboard score object. 160 …"player": { # This is a JSON template for a Player resource. # The Player resources for the owner … 161 …player ID that was used for this player the first time they signed into the game in question. This… 162 …"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed… [all …]
|
D | games_v1.players.html | 79 <p class="firstline">Retrieves the Player resource with the given ID. To retrieve the player for th… 89 …<pre>Retrieves the Player resource with the given ID. To retrieve the player for the currently aut… 92 …playerId: string, A player ID. A value of me may be used in place of the authenticated player's ID… 98 { # This is a JSON template for a Player resource. 99 …player ID that was used for this player the first time they signed into the game in question. This… 100 …"kind": "games#player", # Uniquely identifies the type of this resource. Value is always the fixed… 101 "displayName": "A String", # The name to display for the player. 102 …"name": { # An object representation of the individual components of the player's name. For some p… 103 …"givenName": "A String", # The given name of this player. In some places, this is known as the fir… 104 …"familyName": "A String", # The family name of this player. In some places, this is known as the l… [all …]
|
D | games_v1.rooms.html | 121 "invitedPlayerIds": [ # The player IDs to invite to the room. 137 …e for the client address when setting up a room. # Client address for the player creating the room. 156 …m should no longer be shown on the client. Returned in sync calls when a player joins a room (as a… 169 …short description is generated by our servers and worded relative to the player requesting the roo… 177 …utoMatched": True or False, # True if this participant was auto-matched with the requesting player. 185 …or an anonymous player # Information about a player that has been anonymously auto-matched against… 187 … "avatarImageUrl": "A String", # The base URL for the image to display for the anonymous player. 188 "displayName": "A String", # The name to display for the anonymous player. 192 # - "PLAYER_LEFT" - The player explicitly chose to leave the room. 193 # - "GAME_LEFT" - The game chose to remove the player from the room. [all …]
|
D | games_v1.turnBasedMatches.html | 91 …line">Finish a turn-based match. Each player should make this call once, after all results are in.… 100 <p class="firstline">Leave a turn-based match when it is not the current player's turn, without can… 103 <p class="firstline">Leave a turn-based match during the current player's turn, without canceling t… 106 <p class="firstline">Returns turn-based matches the player is or was involved in.</p> 112 …e same participants. This can be called by only one player on a match still in their list; the pla… 115 <p class="firstline">Returns turn-based matches the player is or was involved in that changed since… 121 <p class="firstline">Commit the results of a player turn.</p> 141 "invitedPlayerIds": [ # The player ids to invite to the match. 192 …utoMatched": True or False, # True if this participant was auto-matched with the requesting player. 203 …or an anonymous player # Information about a player that has been anonymously auto-matched against… [all …]
|
D | gamesManagement_v1management.applications.html | 91 … The maximum number of player resources to return in the response, used for paging. For any respon… 100 "player": { # This is a JSON template for a Player resource. # The player information. 101 …player ID that was used for this player the first time they signed into the game in question. This… 102 …": "gamesManagement#player", # Uniquely identifies the type of this resource. Value is always the … 103 "displayName": "A String", # The name to display for the player. 104 …"name": { # An object representation of the individual components of the player's name. For some p… 105 …"givenName": "A String", # The given name of this player. In some places, this is known as the fir… 106 …"familyName": "A String", # The family name of this player. In some places, this is known as the l… 108 …player playing a game with the currently authenticated user. # Details about the last time this pl… 109 …"autoMatched": True or False, # True if the player was auto-matched with the currently authenticat… [all …]
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | TestExoPlayer.java | 28 import com.google.android.exoplayer2.Player; 109 /** Returns whether the player will use lazy preparation. */ 118 * @param trackSelector The {@link DefaultTrackSelector} to be used by the player. 127 /** Returns the track selector used by the player. */ 133 * Sets a {@link LoadControl} to be used by the player. The default value is a {@link 136 * @param loadControl The {@link LoadControl} to be used by the player. 144 /** Returns the {@link LoadControl} that will be used by the player. */ 153 * @param bandwidthMeter The {@link BandwidthMeter} to be used by the player. 162 /** Returns the bandwidth meter used by the player. */ 168 * Sets the {@link Renderer}s. If not set, the player will use a {@link FakeVideoRenderer} and a [all …]
|
D | Action.java | 25 import com.google.android.exoplayer2.Player; 65 * @param player The player to which the action should be applied. 74 SimpleExoPlayer player, in doActionAndScheduleNext() argument 82 doActionAndScheduleNextImpl(player, trackSelector, surface, handler, nextAction); in doActionAndScheduleNext() 89 * @param player The player to which the action should be applied. 98 SimpleExoPlayer player, in doActionAndScheduleNextImpl() argument 103 doActionImpl(player, trackSelector, surface); in doActionAndScheduleNextImpl() 105 nextAction.schedule(player, trackSelector, surface, handler); in doActionAndScheduleNextImpl() 113 * @param player The player to which the action should be applied. 119 SimpleExoPlayer player, DefaultTrackSelector trackSelector, @Nullable Surface surface); in doActionImpl() argument [all …]
|
D | ExoPlayerTestRunner.java | 29 import com.google.android.exoplayer2.Player; 51 public final class ExoPlayerTestRunner implements Player.EventListener, ActionSchedule.Callback { 82 private Player.EventListener eventListener; 132 * Seeks before setting the media sources and preparing the player. 279 * Sets an {@link Player.EventListener} to be registered to listen to player events. 281 * @param eventListener A {@link Player.EventListener} to be registered by the test runner to 282 * listen to player events. 285 public Builder setEventListener(Player.EventListener eventListener) { in setEventListener() 302 * Sets the number of times the test runner is expected to reach the {@link Player#STATE_ENDED} 303 * or {@link Player#STATE_IDLE}. The default is 1. This affects how long [all …]
|
D | ExoHostedTest.java | 29 import com.google.android.exoplayer2.Player; 70 private @MonotonicNonNull SimpleExoPlayer player; field in ExoHostedTest 103 * @param failOnPlayerError Whether a player error should be considered a test failure. 123 schedule.start(player, trackSelector, surface, actionHandler, /* callback= */ null); in setSchedule() 132 // Build the player. in onStart() 135 player = buildExoPlayer(host, surface, trackSelector); in onStart() 136 player.play(); in onStart() 137 player.addAnalyticsListener(this); in onStart() 138 player.addAnalyticsListener(new EventLogger(trackSelector, tag)); in onStart() 142 pendingSchedule.start(player, trackSelector, surface, actionHandler, /* callback= */ null); in onStart() [all …]
|
/external/exoplayer/tree/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/ |
D | LeanbackPlayerAdapter.java | 34 import com.google.android.exoplayer2.Player; 35 import com.google.android.exoplayer2.Player.DiscontinuityReason; 36 import com.google.android.exoplayer2.Player.TimelineChangeReason; 42 /** Leanback {@code PlayerAdapter} implementation for {@link Player}. */ 50 private final Player player; field in LeanbackPlayerAdapter 64 * {@link Player} instance. The caller remains responsible for releasing the player when it's no 68 * @param player Instance of your exoplayer that needs to be configured. 69 * @param updatePeriodMs The delay between player control updates, in milliseconds. 71 public LeanbackPlayerAdapter(Context context, Player player, final int updatePeriodMs) { in LeanbackPlayerAdapter() argument 73 this.player = player; in LeanbackPlayerAdapter() [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
D | MediaPlayerFacade.java | 100 private void putMp(String tag, MediaPlayer player, String url) { in putMp() argument 102 mPlayers.put(tag, player); in putMp() 108 MediaPlayer player = mPlayers.get(tag); in removeMp() local 109 if (player != null) { in removeMp() 110 player.stop(); in removeMp() 111 player.release(); in removeMp() 126 MediaPlayer player = getPlayer(tag); in mediaPlayOpen() local 127 player = MediaPlayer.create(mService, Uri.parse(url)); in mediaPlayOpen() 128 if (player != null) { in mediaPlayOpen() 129 putMp(tag, player, url); in mediaPlayOpen() [all …]
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | PlayerControlView.java | 40 import com.google.android.exoplayer2.Player; 51 * A view for controlling {@link Player} instances. 123 * Player#REPEAT_MODE_OFF}. 125 * Player#REPEAT_MODE_ONE}. 127 * Player#REPEAT_MODE_ALL}. 170 * button according to the player's current repeat mode. The drawables used are {@code 179 * according to the player's current repeat mode. The drawables used are {@code 296 @Nullable private Player player; field in PlayerControlView 477 * Returns the {@link Player} currently being controlled by this view, or null if no player is 481 public Player getPlayer() { in getPlayer() [all …]
|
D | PlayerNotificationManager.java | 41 import com.google.android.exoplayer2.Player; 57 * Starts, updates and cancels a media style notification reflecting the player state. The actions 60 * <p>The notification is cancelled when {@code null} is passed to {@link #setPlayer(Player)} or 63 * <p>If the player is released it must be removed from the manager by calling {@code 140 * @param player The {@link Player} for which a notification is being built. 142 CharSequence getCurrentContentTitle(Player player); in getCurrentContentTitle() argument 149 * @param player The {@link Player} for which a notification is being built. 152 PendingIntent createCurrentContentIntent(Player player); in createCurrentContentIntent() argument 159 * @param player The {@link Player} for which a notification is being built. 162 CharSequence getCurrentContentText(Player player); in getCurrentContentText() argument [all …]
|
D | DebugTextViewHelper.java | 22 import com.google.android.exoplayer2.Player; 32 public class DebugTextViewHelper implements Player.EventListener, Runnable { 36 private final SimpleExoPlayer player; field in DebugTextViewHelper 42 * @param player The {@link SimpleExoPlayer} from which debug information should be obtained. Only 44 * player.getApplicationLooper() == Looper.getMainLooper()}). 47 public DebugTextViewHelper(SimpleExoPlayer player, TextView textView) { in DebugTextViewHelper() argument 48 Assertions.checkArgument(player.getApplicationLooper() == Looper.getMainLooper()); in DebugTextViewHelper() 49 this.player = player; in DebugTextViewHelper() 62 player.addListener(this); in start() 75 player.removeListener(this); in stop() [all …]
|
D | PlayerView.java | 49 import com.google.android.exoplayer2.Player; 50 import com.google.android.exoplayer2.Player.DiscontinuityReason; 78 * A high level view for {@link Player} media playbacks. It displays video, subtitles and album art 119 * Controls are always shown during ads if they are enabled and the player is paused. 124 * <li><b>{@code show_buffering}</b> - Whether the buffering spinner is displayed when the player 159 * or media artwork is kept visible when the player is reset. 210 * <li><b>{@code exo_buffering}</b> - A view that's made visible when the player is buffering. 240 * <li><b>{@code exo_ad_overlay}</b> - A {@link FrameLayout} positioned on top of the player which 245 * <li><b>{@code exo_overlay}</b> - A {@link FrameLayout} positioned on top of the player which 277 * The buffering view is shown when the player is in the {@link Player#STATE_BUFFERING buffering} [all …]
|
/external/adhd/cras/src/server/ |
D | cras_bt_player.c | 39 struct cras_bt_player *player) in cras_bt_add_player() argument 55 &player->object_path); in cras_bt_add_player() 65 DBUS_TYPE_STRING_AS_STRING, &player->playback_status); in cras_bt_add_player() 67 DBUS_TYPE_STRING_AS_STRING, &player->identity); in cras_bt_add_player() 69 DBUS_TYPE_STRING_AS_STRING, &player->loop_status); in cras_bt_add_player() 71 DBUS_TYPE_INT64_AS_STRING, &player->position); in cras_bt_add_player() 73 DBUS_TYPE_BOOLEAN_AS_STRING, &player->shuffle); in cras_bt_add_player() 75 DBUS_TYPE_BOOLEAN_AS_STRING, &player->can_go_next); in cras_bt_add_player() 77 DBUS_TYPE_BOOLEAN_AS_STRING, &player->can_go_prev); in cras_bt_add_player() 79 DBUS_TYPE_BOOLEAN_AS_STRING, &player->can_play); in cras_bt_add_player() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/ |
D | AnalyticsCollector.java | 24 import com.google.android.exoplayer2.Player; 25 import com.google.android.exoplayer2.Player.PlaybackSuppressionReason; 63 implements Player.EventListener, 78 private @MonotonicNonNull Player player; field in AnalyticsCollector 112 * Sets the player for which data will be collected. Must only be called if no player has been set 113 * yet or the current player is idle. 115 * @param player The {@link Player} for which data will be collected. 117 public void setPlayer(Player player) { in setPlayer() argument 119 this.player == null || mediaPeriodQueueTracker.mediaPeriodInfoQueue.isEmpty()); in setPlayer() 120 this.player = Assertions.checkNotNull(player); in setPlayer() [all …]
|
/external/exoplayer/tree/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/ |
D | FakePlayer.java | 20 import com.google.android.exoplayer2.Player; 26 /** A fake player for testing content/ad playback. */ 29 private final ArrayList<Player.EventListener> listeners; 33 @Player.State private int state; 44 state = Player.STATE_IDLE; in FakePlayer() 49 /** Sets the timeline on this fake player, which notifies listeners with the changed timeline. */ 51 for (Player.EventListener listener : listeners) { in updateTimeline() 57 * Sets the state of this player as if it were playing content at the given {@code position}. If 68 for (Player.EventListener listener : listeners) { in setPlayingContentPosition() 75 * Sets the state of this player as if it were playing an ad with the given indices at the given [all …]
|