Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DLineBreaker.h188 typedef double ParaWidth; typedef
194 ParaWidth preBreak; // width of text until this point, if we decide to not break here
195 ParaWidth postBreak; // width of text until this point, if we decide to break here
206 void addWordBreak(size_t offset, ParaWidth preBreak, ParaWidth postBreak,
243 ParaWidth mWidth = 0;
251 ParaWidth mPreBreak; // prebreak of last break
/frameworks/minikin/libs/minikin/
DLineBreaker.cpp144 ParaWidth lastBreakWidth = mWidth; in addStyleRun()
145 ParaWidth postBreak = mWidth; in addStyleRun()
196 ParaWidth hyphPostBreak = lastBreakWidth + firstPartWidth; in addStyleRun()
202 ParaWidth hyphPreBreak = postBreak - secondPartWidth; in addStyleRun()
229 void LineBreaker::addWordBreak(size_t offset, ParaWidth preBreak, ParaWidth postBreak, in addWordBreak()
232 ParaWidth width = mCandidates.back().preBreak; in addWordBreak()
417 ParaWidth leftEdge = mCandidates[i].postBreak - width; in computeBreaksOptimal()