Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DLayout.cpp53 const float letterSpacingHalf = letterSpacing * 0.5f; in adjustGlyphLetterSpacingEdge() local
72 glyphs->at(i).x -= letterSpacingHalf; in adjustGlyphLetterSpacingEdge()
91 glyphs->at(j).x -= letterSpacingHalf; in adjustGlyphLetterSpacingEdge()
103 const float letterSpacingHalf = letterSpacing * 0.5f; in adjustAdvanceLetterSpacingEdge() local
121 advances[lastNonCtrlCharIndex - advOffset] -= letterSpacingHalf; in adjustAdvanceLetterSpacingEdge()
122 advance -= letterSpacingHalf; in adjustAdvanceLetterSpacingEdge()
130 advances[i - advOffset] -= letterSpacingHalf; in adjustAdvanceLetterSpacingEdge()
131 advance -= letterSpacingHalf; in adjustAdvanceLetterSpacingEdge()
146 advances[i - advOffset] -= letterSpacingHalf; in adjustAdvanceLetterSpacingEdge()
147 advance -= letterSpacingHalf; in adjustAdvanceLetterSpacingEdge()
[all …]
DOptimalLineBreaker.cpp145 const float letterSpacingHalf = letterSpacing * 0.5; in pushBreakCandidate() local
146 candidates.emplace_back(offset, preBreak + letterSpacingHalf, postBreak - letterSpacingHalf, in pushBreakCandidate()