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
21923ae1
authored
Feb 20, 2017
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
m
parent
f1605842
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
library/src/main/java/com/google/android/exoplayer2/ui/SubtitlePainter.java
library/src/main/java/com/google/android/exoplayer2/ui/SubtitlePainter.java
View file @
21923ae1
...
...
@@ -157,6 +157,7 @@ import com.google.android.exoplayer2.util.Util;
if
(!
applyEmbeddedStyles
)
{
// Strip out any embedded styling.
cueText
=
cueText
.
toString
();
windowColor
=
style
.
windowColor
;
}
}
else
{
cueBitmap
=
cue
.
bitmap
;
...
...
@@ -190,7 +191,7 @@ import com.google.android.exoplayer2.util.Util;
this
.
cueText
=
cueText
;
this
.
cueTextAlignment
=
cue
.
textAlignment
;
this
.
cueBitmap
=
cue
.
b
itmap
;
this
.
cueBitmap
=
cue
B
itmap
;
this
.
cueLine
=
cue
.
line
;
this
.
cueLineType
=
cue
.
lineType
;
this
.
cueLineAnchor
=
cue
.
lineAnchor
;
...
...
@@ -200,7 +201,7 @@ import com.google.android.exoplayer2.util.Util;
this
.
applyEmbeddedStyles
=
applyEmbeddedStyles
;
this
.
foregroundColor
=
style
.
foregroundColor
;
this
.
backgroundColor
=
style
.
backgroundColor
;
this
.
windowColor
=
style
.
windowColor
;
this
.
windowColor
=
windowColor
;
this
.
edgeType
=
style
.
edgeType
;
this
.
edgeColor
=
style
.
edgeColor
;
this
.
textPaint
.
setTypeface
(
style
.
typeface
);
...
...
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