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
871a5e68
authored
Oct 14, 2022
by
ibaker
Committed by
Marc Baechinger
Oct 20, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix the position of IntDef annotations on fields in the UI module
PiperOrigin-RevId: 481150758
parent
026699ba
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
library/ui/src/main/java/com/google/android/exoplayer2/ui/AspectRatioFrameLayout.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/CanvasSubtitleOutput.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/CaptionStyleCompat.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerNotificationManager.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/SubtitlePainter.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/SubtitleView.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/AspectRatioFrameLayout.java
View file @
871a5e68
...
@@ -95,7 +95,7 @@ public final class AspectRatioFrameLayout extends FrameLayout {
...
@@ -95,7 +95,7 @@ public final class AspectRatioFrameLayout extends FrameLayout {
@Nullable
private
AspectRatioListener
aspectRatioListener
;
@Nullable
private
AspectRatioListener
aspectRatioListener
;
private
float
videoAspectRatio
;
private
float
videoAspectRatio
;
@ResizeMode
privat
e
int
resizeMode
;
private
@ResizeMod
e
int
resizeMode
;
public
AspectRatioFrameLayout
(
Context
context
)
{
public
AspectRatioFrameLayout
(
Context
context
)
{
this
(
context
,
/* attrs= */
null
);
this
(
context
,
/* attrs= */
null
);
...
...
library/ui/src/main/java/com/google/android/exoplayer2/ui/CanvasSubtitleOutput.java
View file @
871a5e68
...
@@ -37,7 +37,7 @@ import java.util.List;
...
@@ -37,7 +37,7 @@ import java.util.List;
private
final
List
<
SubtitlePainter
>
painters
;
private
final
List
<
SubtitlePainter
>
painters
;
private
List
<
Cue
>
cues
;
private
List
<
Cue
>
cues
;
@Cue
.
TextSizeType
privat
e
int
textSizeType
;
private
@Cue
.
TextSizeTyp
e
int
textSizeType
;
private
float
textSize
;
private
float
textSize
;
private
CaptionStyleCompat
style
;
private
CaptionStyleCompat
style
;
private
float
bottomPaddingFraction
;
private
float
bottomPaddingFraction
;
...
...
library/ui/src/main/java/com/google/android/exoplayer2/ui/CaptionStyleCompat.java
View file @
871a5e68
...
@@ -93,7 +93,7 @@ public final class CaptionStyleCompat {
...
@@ -93,7 +93,7 @@ public final class CaptionStyleCompat {
* <li>{@link #EDGE_TYPE_DEPRESSED}
* <li>{@link #EDGE_TYPE_DEPRESSED}
* </ul>
* </ul>
*/
*/
@EdgeType
public
final
int
edgeType
;
public
final
@EdgeType
int
edgeType
;
/** The preferred edge color, if using an edge type other than {@link #EDGE_TYPE_NONE}. */
/** The preferred edge color, if using an edge type other than {@link #EDGE_TYPE_NONE}. */
public
final
int
edgeColor
;
public
final
int
edgeColor
;
...
...
library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerNotificationManager.java
View file @
871a5e68
...
@@ -705,7 +705,7 @@ public class PlayerNotificationManager {
...
@@ -705,7 +705,7 @@ public class PlayerNotificationManager {
private
int
color
;
private
int
color
;
@DrawableRes
private
int
smallIconResourceId
;
@DrawableRes
private
int
smallIconResourceId
;
private
int
visibility
;
private
int
visibility
;
@Priority
private
int
priority
;
private
@Priority
int
priority
;
private
boolean
useChronometer
;
private
boolean
useChronometer
;
@Nullable
private
String
groupKey
;
@Nullable
private
String
groupKey
;
...
...
library/ui/src/main/java/com/google/android/exoplayer2/ui/SubtitlePainter.java
View file @
871a5e68
...
@@ -67,17 +67,17 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
...
@@ -67,17 +67,17 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
@Nullable
private
Alignment
cueTextAlignment
;
@Nullable
private
Alignment
cueTextAlignment
;
@Nullable
private
Bitmap
cueBitmap
;
@Nullable
private
Bitmap
cueBitmap
;
private
float
cueLine
;
private
float
cueLine
;
@Cue
.
LineType
privat
e
int
cueLineType
;
private
@Cue
.
LineTyp
e
int
cueLineType
;
@Cue
.
AnchorType
privat
e
int
cueLineAnchor
;
private
@Cue
.
AnchorTyp
e
int
cueLineAnchor
;
private
float
cuePosition
;
private
float
cuePosition
;
@Cue
.
AnchorType
privat
e
int
cuePositionAnchor
;
private
@Cue
.
AnchorTyp
e
int
cuePositionAnchor
;
private
float
cueSize
;
private
float
cueSize
;
private
float
cueBitmapHeight
;
private
float
cueBitmapHeight
;
private
int
foregroundColor
;
private
int
foregroundColor
;
private
int
backgroundColor
;
private
int
backgroundColor
;
private
int
windowColor
;
private
int
windowColor
;
private
int
edgeColor
;
private
int
edgeColor
;
@CaptionStyleCompat
.
EdgeType
privat
e
int
edgeType
;
private
@CaptionStyleCompat
.
EdgeTyp
e
int
edgeType
;
private
float
defaultTextSizePx
;
private
float
defaultTextSizePx
;
private
float
cueTextSizePx
;
private
float
cueTextSizePx
;
private
float
bottomPaddingFraction
;
private
float
bottomPaddingFraction
;
...
...
library/ui/src/main/java/com/google/android/exoplayer2/ui/SubtitleView.java
View file @
871a5e68
...
@@ -118,7 +118,7 @@ public final class SubtitleView extends FrameLayout {
...
@@ -118,7 +118,7 @@ public final class SubtitleView extends FrameLayout {
private
List
<
Cue
>
cues
;
private
List
<
Cue
>
cues
;
private
CaptionStyleCompat
style
;
private
CaptionStyleCompat
style
;
@Cue
.
TextSizeType
privat
e
int
defaultTextSizeType
;
private
@Cue
.
TextSizeTyp
e
int
defaultTextSizeType
;
private
float
defaultTextSize
;
private
float
defaultTextSize
;
private
float
bottomPaddingFraction
;
private
float
bottomPaddingFraction
;
private
boolean
applyEmbeddedStyles
;
private
boolean
applyEmbeddedStyles
;
...
...
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