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
2d808010
authored
Nov 23, 2018
by
olly
Committed by
Oliver Woodman
Nov 27, 2018
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Ensure changes are reflected into attrs
PiperOrigin-RevId: 222628386
parent
e99c9041
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerView.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerView.java
View file @
2d808010
...
@@ -241,11 +241,7 @@ import java.util.List;
...
@@ -241,11 +241,7 @@ import java.util.List;
*/
*/
public
class
PlayerView
extends
FrameLayout
{
public
class
PlayerView
extends
FrameLayout
{
private
static
final
int
SURFACE_TYPE_NONE
=
0
;
// LINT.IfChange
private
static
final
int
SURFACE_TYPE_SURFACE_VIEW
=
1
;
private
static
final
int
SURFACE_TYPE_TEXTURE_VIEW
=
2
;
private
static
final
int
SURFACE_TYPE_MONO360_VIEW
=
3
;
/**
/**
* Determines when the buffering view is shown. One of {@link #SHOW_BUFFERING_NEVER}, {@link
* Determines when the buffering view is shown. One of {@link #SHOW_BUFFERING_NEVER}, {@link
* #SHOW_BUFFERING_WHEN_PLAYING} or {@link #SHOW_BUFFERING_ALWAYS}.
* #SHOW_BUFFERING_WHEN_PLAYING} or {@link #SHOW_BUFFERING_ALWAYS}.
...
@@ -266,6 +262,14 @@ public class PlayerView extends FrameLayout {
...
@@ -266,6 +262,14 @@ public class PlayerView extends FrameLayout {
* buffering} state.
* buffering} state.
*/
*/
public
static
final
int
SHOW_BUFFERING_ALWAYS
=
2
;
public
static
final
int
SHOW_BUFFERING_ALWAYS
=
2
;
// LINT.ThenChange(../../../../../../res/values/attrs.xml)
// LINT.IfChange
private
static
final
int
SURFACE_TYPE_NONE
=
0
;
private
static
final
int
SURFACE_TYPE_SURFACE_VIEW
=
1
;
private
static
final
int
SURFACE_TYPE_TEXTURE_VIEW
=
2
;
private
static
final
int
SURFACE_TYPE_MONO360_VIEW
=
3
;
// LINT.ThenChange(../../../../../../res/values/attrs.xml)
private
final
AspectRatioFrameLayout
contentFrame
;
private
final
AspectRatioFrameLayout
contentFrame
;
private
final
View
shutterView
;
private
final
View
shutterView
;
...
...
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