Home
last modified time | relevance | path

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

/system/teeui/libteeui/src/
Dfont_rendering.cpp22 bool isBreakable(unsigned long codePoint) { in isBreakable() argument
23 switch (codePoint) { in isBreakable()
71 GlyphIndex TextFace::getCharIndex(unsigned long codePoint) { in getCharIndex() argument
73 return FT_Get_Char_Index(*face_, codePoint); in getCharIndex()
142 if (isBreakable((*rangeBegin).codePoint())) { in findLongestWordSequence()
153 auto codePoint = UTF8Range<const char*>::codePoint(**wordStart); in findLongestWordSequence() local
154 if (isBreakable(codePoint)) { in findLongestWordSequence()
163 codePoint = c.codePoint(); in findLongestWordSequence()
164 auto gindex = face->getCharIndex(codePoint); in findLongestWordSequence()
218 auto codePoint = UTF8Range<const char*>::codePoint(c); in drawText() local
[all …]
/system/teeui/libteeui/include/teeui/
Dutf8range.h57 static unsigned long codePoint(CharIterator begin) { in codePoint() function
98 unsigned long codePoint() const { return UTF8Range::codePoint(begin_); } in codePoint() function
Dfont_rendering.h79 bool isBreakable(unsigned long codePoint);
110 bool prevBreaking = isBreakable(begin_.codePoint());
122 } while (begin_ != end_ && checkAndUpdate(begin_.codePoint()));
149 GlyphIndex getCharIndex(unsigned long codePoint);
/system/core/libutils/
DUnicode.cpp361 static inline void utf8_shift_and_mask(uint32_t* codePoint, const uint8_t byte) in utf8_shift_and_mask() argument
363 *codePoint <<= 6; in utf8_shift_and_mask()
364 *codePoint |= 0x3F & byte; in utf8_shift_and_mask()