Home
last modified time | relevance | path

Searched refs:getSpecificityScore (Results 1 – 3 of 3) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/
DCssParserTest.java176 assertThat(style.getSpecificityScore("", "", new String[0], "")).isEqualTo(1); in styleScoreSystem()
179 assertThat(style.getSpecificityScore("", "", new String[]{"class1", "class2", "class3"}, in styleScoreSystem()
183 assertThat(style.getSpecificityScore("", "b", in styleScoreSystem()
186 assertThat(style.getSpecificityScore("", "b", new String[]{"class1", "class"}, "")) in styleScoreSystem()
190 assertThat(style.getSpecificityScore("", "b", in styleScoreSystem()
193 assertThat(style.getSpecificityScore(null, "b", in styleScoreSystem()
197 assertThat(style.getSpecificityScore("id", "b", in styleScoreSystem()
200 assertThat(style.getSpecificityScore("id1", "b", in styleScoreSystem()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttCssStyle.java159 public int getSpecificityScore( in getSpecificityScore() method in WebvttCssStyle
DWebvttCueParser.java730 int score = style.getSpecificityScore(id, tag.name, tag.classes, tag.voice); in getApplicableStyles()