Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DLayout.cpp112 uint32_t lastNonCtrlCharIndex = static_cast<uint32_t>(-1); in adjustAdvanceLetterSpacingEdge() local
115 lastNonCtrlCharIndex = i; in adjustAdvanceLetterSpacingEdge()
118 if (lastNonCtrlCharIndex != static_cast<uint32_t>(-1)) { in adjustAdvanceLetterSpacingEdge()
119 uint32_t cp = textBuf.codePointAt(lastNonCtrlCharIndex); in adjustAdvanceLetterSpacingEdge()
121 advances[lastNonCtrlCharIndex - advOffset] -= letterSpacingHalf; in adjustAdvanceLetterSpacingEdge()
153 uint32_t lastNonCtrlCharIndex = static_cast<uint32_t>(-1); in adjustAdvanceLetterSpacingEdge() local
156 lastNonCtrlCharIndex = i; in adjustAdvanceLetterSpacingEdge()
159 if (lastNonCtrlCharIndex != static_cast<uint32_t>(-1)) { in adjustAdvanceLetterSpacingEdge()
160 uint32_t cp = textBuf.codePointAt(lastNonCtrlCharIndex); in adjustAdvanceLetterSpacingEdge()
162 advances[lastNonCtrlCharIndex - advOffset] -= letterSpacingHalf; in adjustAdvanceLetterSpacingEdge()