Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DGreedyLineBreaker.cpp179 const Range targetRange = breaker->wordRange(); in tryLineBreakWithHyphenation() local
180 if (!range.contains(targetRange)) { in tryLineBreakWithHyphenation()
185 hyphenate(mTextBuf.substr(targetRange), *mHyphenator); in tryLineBreakWithHyphenation()
191 for (uint32_t i = targetRange.getStart(); i < targetRange.getEnd(); ++i) { in tryLineBreakWithHyphenation()
192 const HyphenationType hyph = hyphenResult[targetRange.toRangeOffset(i)]; in tryLineBreakWithHyphenation()
214 const HyphenationType hyph = hyphenResult[targetRange.toRangeOffset(prevOffset)]; in tryLineBreakWithHyphenation()
243 const HyphenationType hyph = hyphenResult[targetRange.toRangeOffset(prevOffset)]; in tryLineBreakWithHyphenation()
DMeasuredText.cpp285 const Range targetRange = Range::intersection(runRange, range); in buildLayout() local
287 targetRange.getStart() == range.getStart() ? startHyphen : StartHyphenEdit::NO_EDIT; in buildLayout()
289 targetRange.getEnd() == range.getEnd() ? endHyphen : EndHyphenEdit::NO_EDIT; in buildLayout()
290 run->appendLayout(textBuf, targetRange, contextRange, layoutPieces, paint, range.getStart(), in buildLayout()
/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()