Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DGreedyLineBreaker.cpp186 uint32_t prevOffset = NOWHERE; in tryLineBreakWithHyphenation() local
202 prevOffset = i; in tryLineBreakWithHyphenation()
207 if (prevOffset == NOWHERE) { in tryLineBreakWithHyphenation()
213 const HyphenationType hyph = hyphenResult[targetRange.toRangeOffset(prevOffset)]; in tryLineBreakWithHyphenation()
216 mTextBuf, contextRange.split(prevOffset).second, nextLineStartHyphenEdit, in tryLineBreakWithHyphenation()
218 breakLineAt(prevOffset, prevWidth, in tryLineBreakWithHyphenation()
233 prevOffset = NOWHERE; in tryLineBreakWithHyphenation()
239 if (prevOffset == NOWHERE) { in tryLineBreakWithHyphenation()
242 const HyphenationType hyph = hyphenResult[targetRange.toRangeOffset(prevOffset)]; in tryLineBreakWithHyphenation()
245 mTextBuf, contextRange.split(prevOffset).second, nextLineStartHyphenEdit, in tryLineBreakWithHyphenation()
[all …]
/frameworks/av/media/libstagefright/foundation/
DParsedMessage.cpp184 size_t prevOffset = 0; in getRequestField() local
197 prevOffset = offset; in getRequestField()
201 field->setTo(line, prevOffset, offset - prevOffset - 1); in getRequestField()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DStaggeredGridLayoutManager.java768 int prevOffset = -(mSpanCount - 1 - lp.mSpan.mIndex) * before;
769 child.offsetLeftAndRight(newOffset - prevOffset);
772 int prevOffset = lp.mSpan.mIndex * before;
774 child.offsetLeftAndRight(newOffset - prevOffset);
776 child.offsetTopAndBottom(newOffset - prevOffset);