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
5d0501be
authored
Dec 17, 2016
by
Drew Hill
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
less interfacy.. more classy
parent
8277999b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
8 deletions
library/src/main/java/com/google/android/exoplayer2/text/ImageCue.java
library/src/main/java/com/google/android/exoplayer2/text/ImageCue.java
View file @
5d0501be
...
...
@@ -4,12 +4,30 @@ import android.graphics.Bitmap;
public
class
ImageCue
extends
Cue
{
public
ImageCue
()
{
super
(
""
);
}
public
Bitmap
getBitmap
()
{
return
null
;
}
public
int
getX
()
{
return
0
;
}
public
int
getY
()
{
return
0
;
}
public
int
getWidth
()
{
return
0
;
}
public
int
getHeight
()
{
return
0
;
}
public
boolean
isForcedSubtitle
()
{
return
false
;
}
final
private
long
start_display_time
;
final
private
int
x
;
final
private
int
y
;
final
private
int
height
;
final
private
int
width
;
final
private
Bitmap
bitmap
;
final
private
boolean
isForced
;
public
ImageCue
(
Bitmap
bitmap
,
long
start_display_time
,
int
x
,
int
y
,
int
width
,
int
height
,
boolean
isForced
)
{
super
(
""
);
this
.
bitmap
=
bitmap
;
this
.
start_display_time
=
start_display_time
;
this
.
x
=
x
;
this
.
y
=
y
;
this
.
width
=
width
;
this
.
height
=
height
;
this
.
isForced
=
isForced
;
}
public
long
getStartDisplayTime
()
{
return
start_display_time
;
}
public
Bitmap
getBitmap
()
{
return
bitmap
;
}
public
int
getX
()
{
return
x
;
}
public
int
getY
()
{
return
y
;
}
public
int
getWidth
()
{
return
width
;
}
public
int
getHeight
()
{
return
height
;
}
public
boolean
isForcedSubtitle
()
{
return
isForced
;
}
}
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