Java Code Examples for com.google.android.exoplayer2.text.Cue#LineType
The following examples show how to use
com.google.android.exoplayer2.text.Cue#LineType .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TtmlRegion.java From MediaSDK with Apache License 2.0 | 6 votes |
public TtmlRegion( String id, float position, float line, @Cue.LineType int lineType, @Cue.AnchorType int lineAnchor, float width, float height, int textSizeType, float textSize) { this.id = id; this.position = position; this.line = line; this.lineType = lineType; this.lineAnchor = lineAnchor; this.width = width; this.height = height; this.textSizeType = textSizeType; this.textSize = textSize; }
Example 2
Source File: TtmlRegion.java From TelePlus-Android with GNU General Public License v2.0 | 6 votes |
public TtmlRegion( String id, float position, float line, @Cue.LineType int lineType, @Cue.AnchorType int lineAnchor, float width, int textSizeType, float textSize) { this.id = id; this.position = position; this.line = line; this.lineType = lineType; this.lineAnchor = lineAnchor; this.width = width; this.textSizeType = textSizeType; this.textSize = textSize; }
Example 3
Source File: TtmlRegion.java From TelePlus-Android with GNU General Public License v2.0 | 6 votes |
public TtmlRegion( String id, float position, float line, @Cue.LineType int lineType, @Cue.AnchorType int lineAnchor, float width, int textSizeType, float textSize) { this.id = id; this.position = position; this.line = line; this.lineType = lineType; this.lineAnchor = lineAnchor; this.width = width; this.textSizeType = textSizeType; this.textSize = textSize; }
Example 4
Source File: TtmlRegion.java From Telegram-FOSS with GNU General Public License v2.0 | 6 votes |
public TtmlRegion( String id, float position, float line, @Cue.LineType int lineType, @Cue.AnchorType int lineAnchor, float width, float height, int textSizeType, float textSize) { this.id = id; this.position = position; this.line = line; this.lineType = lineType; this.lineAnchor = lineAnchor; this.width = width; this.height = height; this.textSizeType = textSizeType; this.textSize = textSize; }
Example 5
Source File: TtmlRegion.java From Telegram with GNU General Public License v2.0 | 6 votes |
public TtmlRegion( String id, float position, float line, @Cue.LineType int lineType, @Cue.AnchorType int lineAnchor, float width, float height, int textSizeType, float textSize) { this.id = id; this.position = position; this.line = line; this.lineType = lineType; this.lineAnchor = lineAnchor; this.width = width; this.height = height; this.textSizeType = textSizeType; this.textSize = textSize; }
Example 6
Source File: WebvttCue.java From MediaSDK with Apache License 2.0 | 5 votes |
private WebvttCue( long startTime, long endTime, CharSequence text, @Nullable Alignment textAlignment, float line, @Cue.LineType int lineType, @Cue.AnchorType int lineAnchor, float position, @Cue.AnchorType int positionAnchor, float width) { super(text, textAlignment, line, lineType, lineAnchor, position, positionAnchor, width); this.startTime = startTime; this.endTime = endTime; }
Example 7
Source File: WebvttCue.java From TelePlus-Android with GNU General Public License v2.0 | 5 votes |
public WebvttCue(long startTime, long endTime, CharSequence text, Alignment textAlignment, float line, @Cue.LineType int lineType, @Cue.AnchorType int lineAnchor, float position, @Cue.AnchorType int positionAnchor, float width) { super(text, textAlignment, line, lineType, lineAnchor, position, positionAnchor, width); this.startTime = startTime; this.endTime = endTime; }
Example 8
Source File: WebvttCue.java From TelePlus-Android with GNU General Public License v2.0 | 5 votes |
public WebvttCue(long startTime, long endTime, CharSequence text, Alignment textAlignment, float line, @Cue.LineType int lineType, @Cue.AnchorType int lineAnchor, float position, @Cue.AnchorType int positionAnchor, float width) { super(text, textAlignment, line, lineType, lineAnchor, position, positionAnchor, width); this.startTime = startTime; this.endTime = endTime; }
Example 9
Source File: WebvttCue.java From K-Sonic with MIT License | 5 votes |
public WebvttCue(long startTime, long endTime, CharSequence text, Alignment textAlignment, float line, @Cue.LineType int lineType, @Cue.AnchorType int lineAnchor, float position, @Cue.AnchorType int positionAnchor, float width) { super(text, textAlignment, line, lineType, lineAnchor, position, positionAnchor, width); this.startTime = startTime; this.endTime = endTime; }
Example 10
Source File: WebvttCue.java From Telegram-FOSS with GNU General Public License v2.0 | 5 votes |
public WebvttCue(long startTime, long endTime, CharSequence text, Alignment textAlignment, float line, @Cue.LineType int lineType, @Cue.AnchorType int lineAnchor, float position, @Cue.AnchorType int positionAnchor, float width) { super(text, textAlignment, line, lineType, lineAnchor, position, positionAnchor, width); this.startTime = startTime; this.endTime = endTime; }
Example 11
Source File: WebvttCue.java From Telegram with GNU General Public License v2.0 | 5 votes |
public WebvttCue(long startTime, long endTime, CharSequence text, Alignment textAlignment, float line, @Cue.LineType int lineType, @Cue.AnchorType int lineAnchor, float position, @Cue.AnchorType int positionAnchor, float width) { super(text, textAlignment, line, lineType, lineAnchor, position, positionAnchor, width); this.startTime = startTime; this.endTime = endTime; }
Example 12
Source File: TtmlRegion.java From K-Sonic with MIT License | 4 votes |
public TtmlRegion(float position, float line, @Cue.LineType int lineType, float width) { this.position = position; this.line = line; this.lineType = lineType; this.width = width; }