Skip navigation links
A B C D G H I J M O P R S T U 

A

ACTION_FAST_FORWARD - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which fast forwards.
ACTION_NEXT - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which skips to the next window.
ACTION_PAUSE - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which pauses playback.
ACTION_PLAY - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which starts playback.
ACTION_PREVIOUS - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which skips to the previous window.
ACTION_REWIND - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which rewinds.
ACTION_STOP - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which cancels the notification and stops playback.
addListener(TimeBar.OnScrubListener) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
addListener(TimeBar.OnScrubListener) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Adds a listener for scrubbing events.
AspectRatioFrameLayout - Class in com.google.android.exoplayer2.ui
A FrameLayout that resizes itself to match a specified aspect ratio.
AspectRatioFrameLayout(Context) - Constructor for class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
 
AspectRatioFrameLayout(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
 
AspectRatioFrameLayout.AspectRatioListener - Interface in com.google.android.exoplayer2.ui
Listener to be notified about changes of the aspect ratios of this view.
AspectRatioFrameLayout.ResizeMode - Annotation Type in com.google.android.exoplayer2.ui
Resize modes for AspectRatioFrameLayout.

B

buildDownloadCompletedNotification(Context, int, String, PendingIntent, String) - Static method in class com.google.android.exoplayer2.ui.DownloadNotificationUtil
Returns a notification for a completed download.
buildDownloadFailedNotification(Context, int, String, PendingIntent, String) - Static method in class com.google.android.exoplayer2.ui.DownloadNotificationUtil
Returns a notification for a failed download.
buildProgressNotification(Context, int, String, PendingIntent, String, DownloadManager.TaskState[]) - Static method in class com.google.android.exoplayer2.ui.DownloadNotificationUtil
Returns a progress notification for the given task states.

C

com.google.android.exoplayer2.ui - package com.google.android.exoplayer2.ui
 
createCurrentContentIntent(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
Creates a content intent for the current media item.
createCustomActions(Context) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver
Gets the actions handled by this receiver.
createNotification(Player, Bitmap) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Creates the notification given the current player state.
createWithNotificationChannel(Context, String, int, int, PlayerNotificationManager.MediaDescriptionAdapter) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Creates a notification manager and a low-priority notification channel with the specified channelId and channelName.

D

DebugTextViewHelper - Class in com.google.android.exoplayer2.ui
A helper class for periodically updating a TextView with debug information obtained from a SimpleExoPlayer.
DebugTextViewHelper(SimpleExoPlayer, TextView) - Constructor for class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
DEFAULT_AD_MARKER_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default color for ad markers.
DEFAULT_AD_MARKER_WIDTH_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default width for ad markers, in dp.
DEFAULT_BAR_HEIGHT_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default height for the time bar, in dp.
DEFAULT_BOTTOM_PADDING_FRACTION - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
The default bottom padding to apply when Cue.line is Cue.DIMEN_UNSET, as a fraction of the viewport height.
DEFAULT_CONTROL_DISPATCHER - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
Deprecated.
Use DefaultControlDispatcher.
DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
Deprecated.
The default fast forward increment, in milliseconds.
DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
The default fast forward increment, in milliseconds.
DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The default fast forward increment, in milliseconds.
DEFAULT_PLAYED_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default color for the played portion of the time bar.
DEFAULT_REPEAT_TOGGLE_MODES - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
Deprecated.
The default repeat toggle modes.
DEFAULT_REPEAT_TOGGLE_MODES - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
The default repeat toggle modes.
DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
Deprecated.
The default rewind increment, in milliseconds.
DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
The default rewind increment, in milliseconds.
DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The default rewind increment, in milliseconds.
DEFAULT_SCRUBBER_DISABLED_SIZE_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default diameter for the scrubber when disabled, in dp.
DEFAULT_SCRUBBER_DRAGGED_SIZE_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default diameter for the scrubber when dragged, in dp.
DEFAULT_SCRUBBER_ENABLED_SIZE_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default diameter for the scrubber when enabled, in dp.
DEFAULT_SHOW_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
Deprecated.
The default show timeout, in milliseconds.
DEFAULT_SHOW_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
The default show timeout, in milliseconds.
DEFAULT_TEXT_SIZE_FRACTION - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
The default fractional text size.
DEFAULT_TOUCH_TARGET_HEIGHT_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default height for the touch target, in dp.
DefaultTimeBar - Class in com.google.android.exoplayer2.ui
A time bar that shows a current position, buffered position, duration and ad markers.
DefaultTimeBar(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
Creates a new time bar.
DefaultTrackNameProvider - Class in com.google.android.exoplayer2.ui
DefaultTrackNameProvider(Resources) - Constructor for class com.google.android.exoplayer2.ui.DefaultTrackNameProvider
 
dispatchDraw(Canvas) - Method in class com.google.android.exoplayer2.ui.SubtitleView
 
dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
 
dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
 
dispatchMediaKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Called to process media key events.
dispatchMediaKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
Called to process media key events.
DownloadNotificationUtil - Class in com.google.android.exoplayer2.ui
Helper for creating download notifications.
drawableStateChanged() - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 

G

getActionIndicesForCompactView(Player) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Gets an array with the indices of the buttons to be shown in compact mode.
getActions(Player) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Gets the names and order of the actions to be included in the notification at the current player state.
getAudioString() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
Returns a string containing audio debugging information.
getControllerAutoShow() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns whether the playback controls are automatically shown when playback starts, pauses, ends, or fails.
getControllerHideOnTouch() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns whether the playback controls are hidden by touch events.
getControllerShowTimeoutMs() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns the playback controls timeout.
getCurrentContentText(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
Gets the content text for the current media item.
getCurrentContentTitle(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
Gets the content title for the current media item.
getCurrentLargeIcon(Player, PlayerNotificationManager.BitmapCallback) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
Gets the large icon for the current media item.
getCustomActions(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver
Gets the actions to be included in the notification given the current player state.
getDebugString() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
Returns the debugging information string to be shown by the target TextView.
getDefaultArtwork() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns the default artwork to display.
getDefaultBufferedColor(int) - Static method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
getDefaultPlayedAdMarkerColor(int) - Static method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
getDefaultScrubberColor(int) - Static method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
getDefaultUnplayedColor(int) - Static method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
getDialog(Activity, CharSequence, DefaultTrackSelector, int) - Static method in class com.google.android.exoplayer2.ui.TrackSelectionView
Gets a pair consisting of a dialog and the TrackSelectionView that will be shown by it.
getOverlayFrameLayout() - Method in class com.google.android.exoplayer2.ui.PlayerView
Gets the overlay FrameLayout, which can be populated with UI elements to show on top of the player.
getPlayer() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Returns the Player currently being controlled by this view, or null if no player is set.
getPlayer() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns the player currently set on this view, or null if no player is set.
getPlayerStateString() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
Returns a string containing player state debugging information.
getRepeatToggleModes() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Returns which repeat toggle modes are enabled.
getResizeMode() - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Returns the resize mode.
getResizeMode() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns the resize mode.
getShowShuffleButton() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Returns whether the shuffle button is shown.
getShowTimeoutMs() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Returns the playback controls timeout.
getSubtitleView() - Method in class com.google.android.exoplayer2.ui.PlayerView
Gets the SubtitleView.
getTrackName(Format) - Method in class com.google.android.exoplayer2.ui.DefaultTrackNameProvider
 
getTrackName(Format) - Method in interface com.google.android.exoplayer2.ui.TrackNameProvider
Returns a user readable track name for the given Format.
getUseArtwork() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns whether artwork is displayed if present in the media.
getUseController() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns whether the playback controls can be shown.
getVideoString() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
Returns a string containing video debugging information.
getVideoSurfaceView() - Method in class com.google.android.exoplayer2.ui.PlayerView
Gets the view onto which video is rendered.

H

hide() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Hides the controller.
hideController() - Method in class com.google.android.exoplayer2.ui.PlayerView
Hides the playback controls.

I

init(DefaultTrackSelector, int) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
Initialize the view to select tracks for a specified renderer using a DefaultTrackSelector.
isVisible() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Returns whether the controller is currently visible.

J

jumpDrawablesToCurrentState() - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 

M

MAX_WINDOWS_FOR_MULTI_WINDOW_TIME_BAR - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
Deprecated.
The maximum number of windows that can be shown in a multi-window time bar.
MAX_WINDOWS_FOR_MULTI_WINDOW_TIME_BAR - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
The maximum number of windows that can be shown in a multi-window time bar.

O

onAspectRatioUpdated(float, float, boolean) - Method in interface com.google.android.exoplayer2.ui.AspectRatioFrameLayout.AspectRatioListener
Called when either the target aspect ratio or the view aspect ratio is updated.
onAttachedToWindow() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
 
onBitmap(Bitmap) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.BitmapCallback
Called when Bitmap is available.
onCues(List<Cue>) - Method in class com.google.android.exoplayer2.ui.SubtitleView
 
onCustomAction(Player, String, Intent) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver
Called when a custom action has been received.
onDetachedFromWindow() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
 
onDraw(Canvas) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onInitializeAccessibilityEvent(AccessibilityEvent) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onKeyDown(int, KeyEvent) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onLayout(boolean, int, int, int, int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onMeasure(int, int) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
 
onMeasure(int, int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onNotificationCancelled(int) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.NotificationListener
Called after the notification has been cancelled.
onNotificationStarted(int, Notification) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.NotificationListener
Called after the notification has been started.
onPlayerStateChanged(boolean, int) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
onPositionDiscontinuity(int) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
onRtlPropertiesChanged(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onScrubMove(TimeBar, long) - Method in interface com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
Called when the user moves the scrubber.
onScrubStart(TimeBar, long) - Method in interface com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
Called when the user starts moving the scrubber.
onScrubStop(TimeBar, long, boolean) - Method in interface com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
Called when the user stops moving the scrubber.
onTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
 
onTrackballEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
 
onVisibilityChange(int) - Method in interface com.google.android.exoplayer2.ui.PlayerControlView.VisibilityListener
Called when the visibility changes.

P

performAccessibilityAction(int, Bundle) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
PlaybackControlView - Class in com.google.android.exoplayer2.ui
Deprecated.
PlaybackControlView(Context) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
Deprecated.
 
PlaybackControlView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
Deprecated.
 
PlaybackControlView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
Deprecated.
 
PlaybackControlView(Context, AttributeSet, int, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
Deprecated.
 
PlaybackControlView.ControlDispatcher - Interface in com.google.android.exoplayer2.ui
Deprecated.
Use ControlDispatcher.
PlaybackControlView.VisibilityListener - Interface in com.google.android.exoplayer2.ui
PlayerControlView - Class in com.google.android.exoplayer2.ui
A view for controlling Player instances.
PlayerControlView(Context) - Constructor for class com.google.android.exoplayer2.ui.PlayerControlView
 
PlayerControlView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlayerControlView
 
PlayerControlView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.PlayerControlView
 
PlayerControlView(Context, AttributeSet, int, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlayerControlView
 
PlayerControlView.VisibilityListener - Interface in com.google.android.exoplayer2.ui
Listener to be notified about changes of the visibility of the UI control.
PlayerNotificationManager - Class in com.google.android.exoplayer2.ui
A notification manager to start, update and cancel a media style notification reflecting the player state.
PlayerNotificationManager(Context, String, int, PlayerNotificationManager.MediaDescriptionAdapter) - Constructor for class com.google.android.exoplayer2.ui.PlayerNotificationManager
Creates a notification manager using the specified notification channelId.
PlayerNotificationManager(Context, String, int, PlayerNotificationManager.MediaDescriptionAdapter, PlayerNotificationManager.CustomActionReceiver) - Constructor for class com.google.android.exoplayer2.ui.PlayerNotificationManager
Creates a notification manager using the specified notification channelId and PlayerNotificationManager.CustomActionReceiver.
PlayerNotificationManager.BitmapCallback - Class in com.google.android.exoplayer2.ui
Receives a Bitmap.
PlayerNotificationManager.CustomActionReceiver - Interface in com.google.android.exoplayer2.ui
Defines and handles custom actions.
PlayerNotificationManager.MediaDescriptionAdapter - Interface in com.google.android.exoplayer2.ui
An adapter to provide content assets of the media currently playing.
PlayerNotificationManager.NotificationListener - Interface in com.google.android.exoplayer2.ui
A listener for start and cancellation of the notification.
PlayerNotificationManager.Priority - Annotation Type in com.google.android.exoplayer2.ui
Priority of the notification (required for API 25 and lower).
PlayerNotificationManager.Visibility - Annotation Type in com.google.android.exoplayer2.ui
Visibility of notification on the lock screen.
PlayerView - Class in com.google.android.exoplayer2.ui
A high level view for Player media playbacks.
PlayerView(Context) - Constructor for class com.google.android.exoplayer2.ui.PlayerView
 
PlayerView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlayerView
 
PlayerView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.PlayerView
 

R

removeListener(TimeBar.OnScrubListener) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
removeListener(TimeBar.OnScrubListener) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Removes a listener for scrubbing events.
RESIZE_MODE_FILL - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
The specified aspect ratio is ignored.
RESIZE_MODE_FIT - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Either the width or height is decreased to obtain the desired aspect ratio.
RESIZE_MODE_FIXED_HEIGHT - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
The height is fixed and the width is increased or decreased to obtain the desired aspect ratio.
RESIZE_MODE_FIXED_WIDTH - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
The width is fixed and the height is increased or decreased to obtain the desired aspect ratio.
RESIZE_MODE_ZOOM - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Either the width or height is increased to obtain the desired aspect ratio.
run() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 

S

setAdGroupTimesMs(long[], boolean[], int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setAdGroupTimesMs(long[], boolean[], int) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the times of ad groups and whether each ad group has been played.
setAdMarkerColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Sets the color for unplayed ad markers.
setAllowAdaptiveSelections(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
Sets whether adaptive selections (consisting of more than one track) can be made using this selection view.
setApplyEmbeddedFontSizes(boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets whether font sizes embedded within the cues should be applied.
setApplyEmbeddedStyles(boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets whether styling embedded within the cues should be applied.
setAspectRatio(float) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Sets the aspect ratio that this view should satisfy.
setAspectRatioListener(AspectRatioFrameLayout.AspectRatioListener) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
setAspectRatioListener(AspectRatioFrameLayout.AspectRatioListener) - Method in class com.google.android.exoplayer2.ui.PlayerView
setBadgeIconType(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the badge icon type of the notification.
setBottomPaddingFraction(float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the bottom padding fraction to apply when Cue.line is Cue.DIMEN_UNSET, as a fraction of the view's remaining height after its top and bottom padding have been subtracted.
setBufferedColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Sets the color for the portion of the time bar after the current played position up to the current buffered position.
setBufferedPosition(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setBufferedPosition(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the buffered position.
setColor(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the accent color of the notification.
setColorized(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the notification should be colorized.
setControlDispatcher(ControlDispatcher) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets the ControlDispatcher.
setControlDispatcher(ControlDispatcher) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the ControlDispatcher.
setControlDispatcher(ControlDispatcher) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the ControlDispatcher.
setControllerAutoShow(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the playback controls are automatically shown when playback starts, pauses, ends, or fails.
setControllerHideDuringAds(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the playback controls are hidden when ads are playing.
setControllerHideOnTouch(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the playback controls are hidden by touch events.
setControllerShowTimeoutMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the playback controls timeout.
setControllerVisibilityListener(PlayerControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.PlayerView
setCues(List<Cue>) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the cues to be displayed by the view.
setCustomErrorMessage(CharSequence) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets a custom error message to be displayed by the view.
setDefaultArtwork(Bitmap) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the default artwork to display if useArtwork is true and no artwork is present in the media.
setDefaults(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the defaults.
setDuration(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setDuration(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the duration.
setEnabled(boolean) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setEnabled(boolean) - Method in interface com.google.android.exoplayer2.ui.TimeBar
 
setErrorMessageProvider(ErrorMessageProvider<? super ExoPlaybackException>) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the optional ErrorMessageProvider.
setExtraAdGroupMarkers(long[], boolean[]) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets the millisecond positions of extra ad markers relative to the start of the window (or timeline, if in multi-window mode) and whether each extra ad has been played or not.
setExtraAdGroupMarkers(long[], boolean[]) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the millisecond positions of extra ad markers relative to the start of the window (or timeline, if in multi-window mode) and whether each extra ad has been played or not.
setFastForwardIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets the fast forward increment in milliseconds.
setFastForwardIncrementMs(long) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the fast forward increment in milliseconds.
setFastForwardIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the fast forward increment in milliseconds.
setFixedTextSize(int, float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Set the text size to a given unit and value.
setFractionalTextSize(float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the text size to be a fraction of the view's remaining height after its top and bottom padding have been subtracted.
setFractionalTextSize(float, boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the text size to be a fraction of the height of this view.
setKeepContentOnPlayerReset(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the currently displayed video frame or media artwork is kept visible when the player is reset.
setKeyCountIncrement(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setKeyCountIncrement(int) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the position increment for key presses and accessibility actions, as a number of increments that divide the duration of the media.
setKeyTimeIncrement(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setKeyTimeIncrement(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the position increment for key presses and accessibility actions, in milliseconds.
setMediaSessionToken(MediaSessionCompat.Token) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the MediaSessionCompat.Token.
setNotificationListener(PlayerNotificationManager.NotificationListener) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
setOngoing(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the notification should be ongoing.
setPlaybackPreparer(PlaybackPreparer) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets the PlaybackPreparer.
setPlaybackPreparer(PlaybackPreparer) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the PlaybackPreparer.
setPlayedAdMarkerColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Sets the color for played ad markers.
setPlayedColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Sets the color for the portion of the time bar representing media before the playback position.
setPlayer(Player) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets the Player to control.
setPlayer(Player) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the Player.
setPlayer(Player) - Method in class com.google.android.exoplayer2.ui.PlayerView
Set the Player to use.
setPosition(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setPosition(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the current position.
setPriority(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the priority of the notification required for API 25 and lower.
setRepeatToggleModes(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets which repeat toggle modes are enabled.
setRepeatToggleModes(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets which repeat toggle modes are enabled.
setResizeMode(int) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Sets the resize mode.
setResizeMode(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the resize mode.
setRewindIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets the rewind increment in milliseconds.
setRewindIncrementMs(long) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the rewind increment in milliseconds.
setRewindIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the rewind increment in milliseconds.
setScrubberColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Sets the color for the scrubber handle.
setShowBuffering(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether a buffering spinner is displayed when the player is in the buffering state.
setShowDisableOption(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
Sets whether an option is available for disabling the renderer.
setShowMultiWindowTimeBar(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets whether the time bar should show all windows, as opposed to just the current one.
setShowMultiWindowTimeBar(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the time bar should show all windows, as opposed to just the current one.
setShowShuffleButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets whether the shuffle button is shown.
setShowShuffleButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the shuffle button is shown.
setShowTimeoutMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets the playback controls timeout.
setShutterBackgroundColor(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the background color of the exo_shutter view.
setSmallIcon(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the small icon of the notification which is also shown in the system status bar.
setStopAction(String) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the name of the action to be used as stop action to cancel the notification.
setStyle(CaptionStyleCompat) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the caption style.
setTrackNameProvider(TrackNameProvider) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
Sets the TrackNameProvider used to generate the user visible name of each track and updates the view with track names queried from the specified provider.
setUnplayedColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Sets the color for the portion of the time bar after the current played position.
setUseArtwork(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether artwork is displayed if present in the media.
setUseChronometer(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the elapsed time of the media playback should be displayed
setUseController(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the playback controls can be shown.
setUseNavigationActions(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the navigation actions should be used.
setUsePlayPauseActions(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the play and pause actions should be used.
setUserDefaultStyle() - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the caption style to be equivalent to the one returned by CaptioningManager.getUserStyle(), or to a default style before API level 19.
setUserDefaultTextSize() - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the text size to one derived from CaptioningManager.getFontScale(), or to a default size before API level 19.
setVisibility(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the visibility of the notification which determines whether and how the notification is shown when the device is in lock screen mode.
setVisibility(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
 
setVisibilityListener(PlayerControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
show() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Shows the playback controls.
showController() - Method in class com.google.android.exoplayer2.ui.PlayerView
Shows the playback controls.
SimpleExoPlayerView - Class in com.google.android.exoplayer2.ui
Deprecated.
SimpleExoPlayerView(Context) - Constructor for class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Deprecated.
 
SimpleExoPlayerView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Deprecated.
 
SimpleExoPlayerView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Deprecated.
 
start() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
Starts periodic updates of the TextView.
stop() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
Stops periodic updates of the TextView.
SubtitleView - Class in com.google.android.exoplayer2.ui
A view for displaying subtitle Cues.
SubtitleView(Context) - Constructor for class com.google.android.exoplayer2.ui.SubtitleView
 
SubtitleView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.SubtitleView
 
switchTargetView(Player, PlayerView, PlayerView) - Static method in class com.google.android.exoplayer2.ui.PlayerView
Switches the view targeted by a given Player.
switchTargetView(SimpleExoPlayer, SimpleExoPlayerView, SimpleExoPlayerView) - Static method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Deprecated.
Switches the view targeted by a given SimpleExoPlayer.

T

TimeBar - Interface in com.google.android.exoplayer2.ui
Interface for time bar views that can display a playback position, buffered position, duration and ad markers, and that have a listener for scrubbing (seeking) events.
TimeBar.OnScrubListener - Interface in com.google.android.exoplayer2.ui
Listener for scrubbing events.
TrackNameProvider - Interface in com.google.android.exoplayer2.ui
Converts Formats to user readable track names.
TrackSelectionView - Class in com.google.android.exoplayer2.ui
A view for making track selections.
TrackSelectionView(Context) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionView
 
TrackSelectionView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionView
 
TrackSelectionView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionView
 

U

updateAndPost() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
A B C D G H I J M O P R S T U 
Skip navigation links