Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d45cf602
authored
Oct 08, 2021
by
olly
Committed by
bachinger
Oct 09, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove reference to ExoPlayer from UI module
PiperOrigin-RevId: 401751490
parent
3d67400a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
17 deletions
library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerControlView.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerView.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/SpannedToHtmlConverter.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/StyledPlayerControlView.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/StyledPlayerView.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerControlView.java
View file @
d45cf602
...
...
@@ -164,8 +164,8 @@ import java.util.concurrent.CopyOnWriteArrayList;
* To customize the layout of PlayerControlView throughout your app, or just for certain
* configurations, you can define {@code exo_player_control_view.xml} layout files in your
* application {@code res/layout*} directories. These layouts will override the one provided by the
*
ExoPlayer library, and will be inflated for use by PlayerControlView. The view identifies and
*
binds its
children by looking for the following ids:
*
library, and will be inflated for use by PlayerControlView. The view identifies and binds its
* children by looking for the following ids:
*
* <ul>
* <li><b>{@code exo_play}</b> - The play button.
...
...
library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerView.java
View file @
d45cf602
...
...
@@ -47,7 +47,6 @@ import androidx.annotation.RequiresApi;
import
androidx.core.content.ContextCompat
;
import
com.google.android.exoplayer2.C
;
import
com.google.android.exoplayer2.ControlDispatcher
;
import
com.google.android.exoplayer2.ExoPlayer
;
import
com.google.android.exoplayer2.Format
;
import
com.google.android.exoplayer2.ForwardingPlayer
;
import
com.google.android.exoplayer2.MediaMetadata
;
...
...
@@ -186,9 +185,9 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
*
* To customize the layout of PlayerView throughout your app, or just for certain configurations,
* you can define {@code exo_player_view.xml} layout files in your application {@code res/layout*}
* directories. These layouts will override the one provided by the
ExoPlayer library, and will be
*
inflated for use by PlayerView. The view identifies and binds its children by looking for the
*
following
ids:
* directories. These layouts will override the one provided by the
library, and will be inflated
*
for use by PlayerView. The view identifies and binds its children by looking for the following
* ids:
*
* <ul>
* <li><b>{@code exo_content_frame}</b> - A frame whose aspect ratio is resized based on the video
...
...
@@ -935,7 +934,7 @@ public class PlayerView extends FrameLayout implements AdViewProvider {
/**
* @deprecated Use a {@link ForwardingPlayer} and pass it to {@link #setPlayer(Player)} instead.
* You can also customize some operations when configuring the player (for example by using
* {@
link ExoPlayer.Builder#
setSeekBackIncrementMs(long)}).
* {@
code ExoPlayer.Builder.
setSeekBackIncrementMs(long)}).
*/
@Deprecated
public
void
setControlDispatcher
(
ControlDispatcher
controlDispatcher
)
{
...
...
library/ui/src/main/java/com/google/android/exoplayer2/ui/SpannedToHtmlConverter.java
View file @
d45cf602
...
...
@@ -50,8 +50,7 @@ import java.util.regex.Pattern;
* Utility class to convert from <a
* href="https://developer.android.com/guide/topics/text/spans">span-styled text</a> to HTML.
*
* <p>Supports all of the spans used by ExoPlayer's subtitle decoders, including custom ones found
* in {@link com.google.android.exoplayer2.text.span}.
* <p>Supports all of the spans used by subtitle decoders.
*/
/* package */
final
class
SpannedToHtmlConverter
{
...
...
library/ui/src/main/java/com/google/android/exoplayer2/ui/StyledPlayerControlView.java
View file @
d45cf602
...
...
@@ -199,9 +199,9 @@ import java.util.concurrent.CopyOnWriteArrayList;
* default animation implementation expects certain relative positions between children. See also <a
* href="CustomLayout">Specifying a custom layout file</a>.
*
* <p>The layout files in your {@code res/layout*} will override the one provided by the
ExoPlayer
*
library, and will be inflated for use by StyledPlayerControlView. The view identifies and bind
s
*
its
children by looking for the following ids:
* <p>The layout files in your {@code res/layout*} will override the one provided by the
library,
*
and will be inflated for use by StyledPlayerControlView. The view identifies and binds it
s
* children by looking for the following ids:
*
* <ul>
* <li><b>{@code exo_play_pause}</b> - The play and pause button.
...
...
@@ -843,7 +843,7 @@ public class StyledPlayerControlView extends FrameLayout {
/**
* @deprecated Use a {@link ForwardingPlayer} and pass it to {@link #setPlayer(Player)} instead.
* You can also customize some operations when configuring the player (for example by using
* {@
link ExoPlayer.Builder#
setSeekBackIncrementMs(long)}).
* {@
code ExoPlayer.Builder.
setSeekBackIncrementMs(long)}).
*/
@Deprecated
public
void
setControlDispatcher
(
ControlDispatcher
controlDispatcher
)
{
...
...
library/ui/src/main/java/com/google/android/exoplayer2/ui/StyledPlayerView.java
View file @
d45cf602
...
...
@@ -48,7 +48,6 @@ import androidx.annotation.RequiresApi;
import
androidx.core.content.ContextCompat
;
import
com.google.android.exoplayer2.C
;
import
com.google.android.exoplayer2.ControlDispatcher
;
import
com.google.android.exoplayer2.ExoPlayer
;
import
com.google.android.exoplayer2.Format
;
import
com.google.android.exoplayer2.ForwardingPlayer
;
import
com.google.android.exoplayer2.MediaMetadata
;
...
...
@@ -188,8 +187,8 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
* To customize the layout of StyledPlayerView throughout your app, or just for certain
* configurations, you can define {@code exo_styled_player_view.xml} layout files in your
* application {@code res/layout*} directories. These layouts will override the one provided by the
*
ExoPlayer library, and will be inflated for use by StyledPlayerView. The view identifies and
*
binds its
children by looking for the following ids:
*
library, and will be inflated for use by StyledPlayerView. The view identifies and binds its
* children by looking for the following ids:
*
* <ul>
* <li><b>{@code exo_content_frame}</b> - A frame whose aspect ratio is resized based on the video
...
...
@@ -952,7 +951,7 @@ public class StyledPlayerView extends FrameLayout implements AdViewProvider {
/**
* @deprecated Use a {@link ForwardingPlayer} and pass it to {@link #setPlayer(Player)} instead.
* You can also customize some operations when configuring the player (for example by using
* {@
link ExoPlayer.Builder#
setSeekBackIncrementMs(long)}).
* {@
code ExoPlayer.Builder.
setSeekBackIncrementMs(long)}).
*/
@Deprecated
public
void
setControlDispatcher
(
ControlDispatcher
controlDispatcher
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment