Home
last modified time | relevance | path

Searched refs:hasBackgroundColor (Results 1 – 7 of 7) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttCssStyle.java90 private boolean hasBackgroundColor; field in WebvttCssStyle
115 hasBackgroundColor = false; in reset()
248 if (!hasBackgroundColor) { in getBackgroundColor()
256 hasBackgroundColor = true; in setBackgroundColor()
260 public boolean hasBackgroundColor() { in hasBackgroundColor() method in WebvttCssStyle
261 return hasBackgroundColor; in hasBackgroundColor()
DWebvttCueParser.java650 if (style.hasBackgroundColor()) { in applyStyleToText()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlStyle.java79 private boolean hasBackgroundColor; field in TtmlStyle
175 if (!hasBackgroundColor) { in getBackgroundColor()
183 hasBackgroundColor = true; in setBackgroundColor()
187 public boolean hasBackgroundColor() { in hasBackgroundColor() method in TtmlStyle
188 return hasBackgroundColor; in hasBackgroundColor()
246 if (chaining && !hasBackgroundColor && ancestor.hasBackgroundColor) { in inherit()
DTtmlRenderUtil.java103 if (style.hasBackgroundColor()) { in applyStylesToSpan()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/
DCssParserTest.java225 assertThat(actualElem.hasBackgroundColor()).isEqualTo(expected.hasBackgroundColor()); in assertParserProduces()
226 if (expected.hasBackgroundColor()) { in assertParserProduces()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ttml/
DTtmlStyleTest.java90 .that(style.hasBackgroundColor()) in inheritStyle()
203 assertThat(style.hasBackgroundColor()).isFalse(); in backgroundColor()
205 assertThat(style.hasBackgroundColor()).isTrue(); in backgroundColor()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/
DCaptionStyleCompat.java177 captionStyle.hasBackgroundColor() ? captionStyle.backgroundColor : DEFAULT.backgroundColor, in createFromCaptionStyleV21()