Home
last modified time | relevance | path

Searched refs:hasFontColor (Results 1 – 6 of 6) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttCssStyle.java88 private boolean hasFontColor; field in WebvttCssStyle
114 hasFontColor = false; in reset()
231 if (!hasFontColor) { in getFontColor()
239 hasFontColor = true; in setFontColor()
243 public boolean hasFontColor() { in hasFontColor() method in WebvttCssStyle
244 return hasFontColor; in hasFontColor()
DWebvttCueParser.java642 if (style.hasFontColor()) { in applyStyleToText()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlStyle.java77 private boolean hasFontColor; field in TtmlStyle
158 if (!hasFontColor) { in getFontColor()
166 hasFontColor = true; in setFontColor()
170 public boolean hasFontColor() { in hasFontColor() method in TtmlStyle
171 return hasFontColor; in hasFontColor()
214 if (!hasFontColor && ancestor.hasFontColor) { in inherit()
DTtmlRenderUtil.java95 if (style.hasFontColor()) { in applyStylesToSpan()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/
DCssParserTest.java229 assertThat(actualElem.hasFontColor()).isEqualTo(expected.hasFontColor()); in assertParserProduces()
230 if (expected.hasFontColor()) { in assertParserProduces()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ttml/
DTtmlStyleTest.java175 assertThat(style.hasFontColor()).isFalse(); in fontColor()
177 assertThat(style.hasFontColor()).isTrue(); in fontColor()