/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ |
D | Cue.java | 141 @Nullable public final Alignment textAlignment; field in Cue 314 @Nullable Alignment textAlignment, in Cue() argument 323 textAlignment, in Cue() 352 @Nullable Alignment textAlignment, in Cue() argument 363 textAlignment, in Cue() 397 @Nullable Alignment textAlignment, in Cue() argument 408 textAlignment, in Cue() 426 @Nullable Alignment textAlignment, in Cue() argument 447 this.textAlignment = textAlignment; in Cue() 467 @Nullable private Alignment textAlignment; field in Cue.Builder [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/ |
D | WebvttCueParser.java | 371 builder.textAlignment = parseTextAlignment(value); in parseCueSettingsList() 743 @TextAlignment public int textAlignment; field in WebvttCueParser.WebvttCueInfoBuilder 758 textAlignment = TEXT_ALIGNMENT_CENTER; in WebvttCueInfoBuilder() 777 this.position != Cue.DIMEN_UNSET ? this.position : derivePosition(textAlignment); in toCueBuilder() 782 : derivePositionAnchor(textAlignment); in toCueBuilder() 785 .setTextAlignment(convertTextAlignment(textAlignment)) in toCueBuilder() 819 private static float derivePosition(@TextAlignment int textAlignment) { in derivePosition() argument 820 switch (textAlignment) { in derivePosition() 835 private static int derivePositionAnchor(@TextAlignment int textAlignment) { in derivePositionAnchor() argument 836 switch (textAlignment) { in derivePositionAnchor() [all …]
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | SubtitlePainter.java | 183 && Util.areEqual(this.cueTextAlignment, cue.textAlignment) in draw() 213 this.cueTextAlignment = cue.textAlignment; in draw() 324 Alignment textAlignment = cueTextAlignment == null ? Alignment.ALIGN_CENTER : cueTextAlignment; in setupTextLayout() local 325 textLayout = new StaticLayout(cueText, textPaint, availableWidth, textAlignment, spacingMult, in setupTextLayout() 395 this.textLayout = new StaticLayout(cueText, textPaint, textWidth, textAlignment, spacingMult, in setupTextLayout() 399 cueTextEdge, textPaint, textWidth, textAlignment, spacingMult, spacingAdd, true); in setupTextLayout()
|
D | SubtitleWebView.java | 200 String textAlign = convertAlignmentToCss(cue.textAlignment); in updateWebView()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/ |
D | WebvttDecoderTest.java | 195 assertThat(firstCue.textAlignment).isEqualTo(Alignment.ALIGN_NORMAL); in decodeWithPositioning() 208 assertThat(secondCue.textAlignment).isEqualTo(Alignment.ALIGN_OPPOSITE); in decodeWithPositioning() 217 assertThat(thirdCue.textAlignment).isEqualTo(Alignment.ALIGN_CENTER); in decodeWithPositioning() 227 assertThat(fourthCue.textAlignment).isEqualTo(Alignment.ALIGN_CENTER); in decodeWithPositioning() 236 assertThat(fifthCue.textAlignment).isEqualTo(Alignment.ALIGN_OPPOSITE); in decodeWithPositioning() 245 assertThat(sixthCue.textAlignment).isEqualTo(Alignment.ALIGN_CENTER); in decodeWithPositioning()
|
D | Mp4WebvttDecoderTest.java | 163 .that(actual.textAlignment) in assertCuesEqual() 164 .isEqualTo(expected.textAlignment); in assertCuesEqual()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ssa/ |
D | SsaDecoderTest.java | 68 .that(firstCue.textAlignment) in decodeTypical() 189 .that(fifthCue.textAlignment) in decodePositions() 202 .that(sixthCue.textAlignment) in decodePositions() 232 .that(thirdCue.textAlignment) in decodeInvalidPositions()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ |
D | CueTest.java | 50 assertThat(cue.textAlignment).isEqualTo(Layout.Alignment.ALIGN_CENTER); in buildSucceeds()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | ApiCompatibilityUtils.java | 161 public static void setTextAlignment(View view, int textAlignment) { in setTextAlignment() argument 163 view.setTextAlignment(textAlignment); in setTextAlignment()
|
/external/webrtc/test/ios/ |
D | test_support.mm | 62 label.textAlignment = NSTextAlignmentCenter;
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/ |
D | Cea708Decoder.java | 1322 Alignment textAlignment, in Cea708CueInfo() argument 1335 textAlignment, in Cea708CueInfo()
|