/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ |
D | Cue.java | 235 public final @AnchorType int positionAnchor; field in Cue 319 @AnchorType int positionAnchor, in Cue() argument 328 positionAnchor, in Cue() 357 @AnchorType int positionAnchor, in Cue() argument 369 positionAnchor, in Cue() 402 @AnchorType int positionAnchor, in Cue() argument 414 positionAnchor, in Cue() 432 @AnchorType int positionAnchor, in Cue() argument 453 this.positionAnchor = positionAnchor; in Cue() 472 @AnchorType private int positionAnchor; field in Cue.Builder [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/ |
D | Cea608Decoder.java | 624 @Cue.AnchorType int positionAnchor = Cue.ANCHOR_TYPE_END; in getDisplayCues() local 631 positionAnchor = Math.min(positionAnchor, cue.positionAnchor); in getDisplayCues() 640 if (cue.positionAnchor != positionAnchor) { in getDisplayCues() 642 cue = Assertions.checkNotNull(cueBuilders.get(i).build(positionAnchor)); in getDisplayCues() 900 int positionAnchor; in build() local 907 positionAnchor = forcedPositionAnchor; in build() 913 positionAnchor = Cue.ANCHOR_TYPE_MIDDLE; in build() 916 positionAnchor = Cue.ANCHOR_TYPE_END; in build() 919 positionAnchor = Cue.ANCHOR_TYPE_START; in build() 923 switch (positionAnchor) { in build() [all …]
|
D | Cea708Decoder.java | 1327 @AnchorType int positionAnchor, in Cea708CueInfo() argument 1340 positionAnchor, in Cea708CueInfo()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/subrip/ |
D | SubripDecoder.java | 181 @Cue.AnchorType int positionAnchor; in buildCue() local 186 positionAnchor = Cue.ANCHOR_TYPE_START; in buildCue() 191 positionAnchor = Cue.ANCHOR_TYPE_END; in buildCue() 197 positionAnchor = Cue.ANCHOR_TYPE_MIDDLE; in buildCue() 228 getFractionalPositionForAnchorType(positionAnchor), in buildCue() 229 positionAnchor, in buildCue()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/ |
D | WebvttCueParser.java | 427 builder.positionAnchor = parsePositionAnchor(s.substring(commaIndex + 1)); in parsePositionAttribute() 750 @Cue.AnchorType public int positionAnchor; field in WebvttCueParser.WebvttCueInfoBuilder 765 positionAnchor = Cue.TYPE_UNSET; in WebvttCueInfoBuilder() 779 int positionAnchor = in toCueBuilder() local 780 this.positionAnchor != Cue.TYPE_UNSET in toCueBuilder() 781 ? this.positionAnchor in toCueBuilder() 789 .setPositionAnchor(positionAnchor) in toCueBuilder() 790 .setSize(Math.min(size, deriveMaxSize(positionAnchor, position))) in toCueBuilder() 867 private static float deriveMaxSize(@Cue.AnchorType int positionAnchor, float position) { in deriveMaxSize() argument 868 switch (positionAnchor) { in deriveMaxSize() [all …]
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/subrip/ |
D | SubripDecoderTest.java | 223 @Cue.AnchorType int positionAnchor) { in assertAlignmentCue() argument 229 assertThat(cue.positionAnchor).isEqualTo(positionAnchor); in assertAlignmentCue() 231 .isEqualTo(SubripDecoder.getFractionalPositionForAnchorType(positionAnchor)); in assertAlignmentCue()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/ |
D | WebvttDecoderTest.java | 194 assertThat(firstCue.positionAnchor).isEqualTo(Cue.ANCHOR_TYPE_END); in decodeWithPositioning() 219 assertThat(thirdCue.positionAnchor).isEqualTo(Cue.ANCHOR_TYPE_MIDDLE); in decodeWithPositioning() 230 assertThat(fourthCue.positionAnchor).isEqualTo(Cue.ANCHOR_TYPE_MIDDLE); in decodeWithPositioning() 239 assertThat(fifthCue.positionAnchor).isEqualTo(Cue.ANCHOR_TYPE_END); in decodeWithPositioning() 248 assertThat(sixthCue.positionAnchor).isEqualTo(Cue.ANCHOR_TYPE_MIDDLE); in decodeWithPositioning() 254 assertThat(seventhCue.positionAnchor).isEqualTo(Cue.ANCHOR_TYPE_START); in decodeWithPositioning() 260 assertThat(eighthCue.positionAnchor).isEqualTo(Cue.ANCHOR_TYPE_END); in decodeWithPositioning()
|
D | Mp4WebvttDecoderTest.java | 157 .that(actual.positionAnchor) in assertCuesEqual() 158 .isEqualTo(expected.positionAnchor); in assertCuesEqual()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ssa/ |
D | SsaDecoderTest.java | 71 .that(firstCue.positionAnchor) in decodeTypical() 185 .that(fifthCue.positionAnchor) in decodePositions() 198 .that(sixthCue.positionAnchor) in decodePositions() 228 .that(thirdCue.positionAnchor) in decodeInvalidPositions()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ssa/ |
D | SsaDecoder.java | 310 @Cue.AnchorType int positionAnchor = toPositionAnchor(alignment); in createCue() local 322 position = computeDefaultLineOrPosition(positionAnchor); in createCue() 333 positionAnchor, in createCue()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ |
D | CueTest.java | 54 assertThat(cue.positionAnchor).isEqualTo(Cue.ANCHOR_TYPE_MIDDLE); in buildSucceeds()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | SubtitlePainter.java | 189 && Util.areEqual(this.cuePositionAnchor, cue.positionAnchor) in draw() 219 this.cuePositionAnchor = cue.positionAnchor; in draw()
|
D | SubtitleWebView.java | 165 int positionAnchorTranslatePercent = anchorTypeToTranslatePercent(cue.positionAnchor); in updateWebView()
|