Home
last modified time | relevance | path

Searched refs:targetRange (Results 1 – 2 of 2) sorted by relevance

/frameworks/minikin/libs/minikin/
DGreedyLineBreaker.cpp178 const Range targetRange = breaker->wordRange(); in tryLineBreakWithHyphenation() local
179 if (!range.contains(targetRange)) { in tryLineBreakWithHyphenation()
184 hyphenate(mTextBuf.substr(targetRange), *mHyphenator); in tryLineBreakWithHyphenation()
190 for (uint32_t i = targetRange.getStart(); i < targetRange.getEnd(); ++i) { in tryLineBreakWithHyphenation()
191 const HyphenationType hyph = hyphenResult[targetRange.toRangeOffset(i)]; in tryLineBreakWithHyphenation()
213 const HyphenationType hyph = hyphenResult[targetRange.toRangeOffset(prevOffset)]; in tryLineBreakWithHyphenation()
242 const HyphenationType hyph = hyphenResult[targetRange.toRangeOffset(prevOffset)]; in tryLineBreakWithHyphenation()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java1456 Range<Integer> targetRange = fpsRanges[0]; in getAeMaxTargetFpsRange() local
1459 if (candidateRange.getLower() > targetRange.getLower()) { in getAeMaxTargetFpsRange()
1460 targetRange = candidateRange; in getAeMaxTargetFpsRange()
1465 if (candidateRange.getLower() >= targetRange.getLower() && in getAeMaxTargetFpsRange()
1466 candidateRange.getUpper() > targetRange.getUpper()) { in getAeMaxTargetFpsRange()
1467 targetRange = candidateRange; in getAeMaxTargetFpsRange()
1470 return targetRange; in getAeMaxTargetFpsRange()