Home
last modified time | relevance | path

Searched refs:DIMEN_UNSET (Results 1 – 15 of 15) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/
DCue.java41 public static final float DIMEN_UNSET = -Float.MAX_VALUE; field in Cue
290 /* line= */ DIMEN_UNSET, in Cue()
293 /* position= */ DIMEN_UNSET, in Cue()
295 /* size= */ DIMEN_UNSET); in Cue()
373 /* bitmapHeight= */ DIMEN_UNSET, in Cue()
416 /* textSize= */ DIMEN_UNSET, in Cue()
418 /* bitmapHeight= */ DIMEN_UNSET, in Cue()
485 line = DIMEN_UNSET; in Builder()
488 position = DIMEN_UNSET; in Builder()
491 textSize = DIMEN_UNSET; in Builder()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlRegion.java38 /* position= */ Cue.DIMEN_UNSET, in TtmlRegion()
39 /* line= */ Cue.DIMEN_UNSET, in TtmlRegion()
42 /* width= */ Cue.DIMEN_UNSET, in TtmlRegion()
43 /* height= */ Cue.DIMEN_UNSET, in TtmlRegion()
45 /* textSize= */ Cue.DIMEN_UNSET); in TtmlRegion()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DSubtitleViewUtils.java25 if (cue.textSizeType == Cue.TYPE_UNSET || cue.textSize == Cue.DIMEN_UNSET) { in resolveCueTextSize()
47 return Cue.DIMEN_UNSET; in resolveTextSize()
DSubtitleWebView.java164 float positionPercent = (cue.position != Cue.DIMEN_UNSET) ? (cue.position * 100) : 50; in updateWebView()
169 if (cue.line != Cue.DIMEN_UNSET) { in updateWebView()
196 cue.size != Cue.DIMEN_UNSET in updateWebView()
DSubtitlePainter.java261 if (cueSize != Cue.DIMEN_UNSET) { in setupTextLayout()
333 if (cueSize != Cue.DIMEN_UNSET && textWidth < availableWidth) { in setupTextLayout()
340 if (cuePosition != Cue.DIMEN_UNSET) { in setupTextLayout()
369 if (cueLine != Cue.DIMEN_UNSET) { in setupTextLayout()
413 int height = cueBitmapHeight != Cue.DIMEN_UNSET ? Math.round(parentHeight * cueBitmapHeight) in setupBitmapLayout()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ssa/
DSsaDecoder.java85 screenWidth = Cue.DIMEN_UNSET; in SsaDecoder()
86 screenHeight = Cue.DIMEN_UNSET; in SsaDecoder()
316 && screenHeight != Cue.DIMEN_UNSET in createCue()
317 && screenWidth != Cue.DIMEN_UNSET) { in createCue()
334 /* size= */ Cue.DIMEN_UNSET); in createCue()
416 return Cue.DIMEN_UNSET; in computeDefaultLineOrPosition()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ttml/
DTtmlDecoderTest.java303 assertThat(cue.position).isEqualTo(Cue.DIMEN_UNSET); in multipleRegions()
304 assertThat(cue.line).isEqualTo(Cue.DIMEN_UNSET); in multipleRegions()
305 assertThat(cue.size).isEqualTo(Cue.DIMEN_UNSET); in multipleRegions()
564 assertThat(cue.position).isEqualTo(Cue.DIMEN_UNSET); in bitmapUnsupportedRegion()
565 assertThat(cue.line).isEqualTo(Cue.DIMEN_UNSET); in bitmapUnsupportedRegion()
566 assertThat(cue.size).isEqualTo(Cue.DIMEN_UNSET); in bitmapUnsupportedRegion()
567 assertThat(cue.bitmapHeight).isEqualTo(Cue.DIMEN_UNSET); in bitmapUnsupportedRegion()
572 assertThat(cue.position).isEqualTo(Cue.DIMEN_UNSET); in bitmapUnsupportedRegion()
573 assertThat(cue.line).isEqualTo(Cue.DIMEN_UNSET); in bitmapUnsupportedRegion()
574 assertThat(cue.size).isEqualTo(Cue.DIMEN_UNSET); in bitmapUnsupportedRegion()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttCueParser.java759 line = Cue.DIMEN_UNSET; in WebvttCueInfoBuilder()
764 position = Cue.DIMEN_UNSET; in WebvttCueInfoBuilder()
777 this.position != Cue.DIMEN_UNSET ? this.position : derivePosition(textAlignment); in toCueBuilder()
802 if (line != Cue.DIMEN_UNSET in computeLine()
806 } else if (line != Cue.DIMEN_UNSET) { in computeLine()
814 return Cue.DIMEN_UNSET; in computeLine()
DWebvttSubtitle.java119 return (cue.line == Cue.DIMEN_UNSET && cue.position == WebvttCueParser.DEFAULT_POSITION);
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/tx3g/
DTx3gDecoder.java159 Cue.DIMEN_UNSET, in decode()
161 Cue.DIMEN_UNSET)); in decode()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ssa/
DSsaDecoderTest.java253 assertThat(firstCue.position).isEqualTo(Cue.DIMEN_UNSET); in decodePositionsWithMissingPlayResY()
255 assertThat(firstCue.line).isEqualTo(Cue.DIMEN_UNSET); in decodePositionsWithMissingPlayResY()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/subrip/
DSubripDecoder.java230 Cue.DIMEN_UNSET); in buildCue()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/
DCea608Decoder.java964 Cue.DIMEN_UNSET); in build()
DCea708Decoder.java1256 Cue.DIMEN_UNSET, in build()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/
DWebvttDecoderTest.java198 assertThat(firstCue.line).isEqualTo(Cue.DIMEN_UNSET); in decodeWithPositioning()