Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkFontMgr.cpp221 Score currentScore = { 0, i }; in matchStyleCSS3() local
227 currentScore += 10 - pattern.width() + current.width(); in matchStyleCSS3()
229 currentScore += 10 - current.width(); in matchStyleCSS3()
233 currentScore += 10 + pattern.width() - current.width(); in matchStyleCSS3()
235 currentScore += current.width(); in matchStyleCSS3()
238 currentScore <<= 8; in matchStyleCSS3()
255 currentScore += score[pattern.slant()][current.slant()]; in matchStyleCSS3()
256 currentScore <<= 8; in matchStyleCSS3()
264 currentScore += 1000; in matchStyleCSS3()
268 currentScore += 1000 - pattern.weight() + current.weight(); in matchStyleCSS3()
[all …]
/external/skqp/src/core/
DSkFontMgr.cpp233 Score currentScore = { 0, i }; in matchStyleCSS3() local
239 currentScore += 10 - pattern.width() + current.width(); in matchStyleCSS3()
241 currentScore += 10 - current.width(); in matchStyleCSS3()
245 currentScore += 10 + pattern.width() - current.width(); in matchStyleCSS3()
247 currentScore += current.width(); in matchStyleCSS3()
250 currentScore <<= 8; in matchStyleCSS3()
267 currentScore += score[pattern.slant()][current.slant()]; in matchStyleCSS3()
268 currentScore <<= 8; in matchStyleCSS3()
276 currentScore += 1000; in matchStyleCSS3()
282 currentScore += 500; in matchStyleCSS3()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttCssStyle.java301 int currentScore, String target, @Nullable String actual, int score) { in updateScoreForMatch() argument
302 if (target.isEmpty() || currentScore == -1) { in updateScoreForMatch()
303 return currentScore; in updateScoreForMatch()
305 return target.equals(actual) ? currentScore + score : -1; in updateScoreForMatch()