Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DLineBreaker.h187 typedef double ParaWidth; typedef
193 ParaWidth preBreak;
194 ParaWidth postBreak;
203 void addWordBreak(size_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty,
236 ParaWidth mWidth = 0;
244 ParaWidth mPreBreak; // prebreak of last break
/frameworks/minikin/libs/minikin/
DLineBreaker.cpp157 ParaWidth lastBreakWidth = mWidth; in addStyleRun()
158 ParaWidth postBreak = mWidth; in addStyleRun()
205 ParaWidth hyphPostBreak = lastBreakWidth + layout.getAdvance(); in addStyleRun()
209 ParaWidth hyphPreBreak = postBreak - layout.getAdvance(); in addStyleRun()
233 void LineBreaker::addWordBreak(size_t offset, ParaWidth preBreak, ParaWidth postBreak, in addWordBreak()
236 ParaWidth width = mCandidates.back().preBreak; in addWordBreak()
360 ParaWidth leftEdge = mCandidates[i].postBreak - width; in computeBreaksOptimal()