Home
last modified time | relevance | path

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

/system/teeui/libteeui/src/
Dfont_rendering.cpp22 bool isBreakable(unsigned long codePoint) { in isBreakable() argument
23 switch (codePoint) { in isBreakable()
56 bool isNewline(unsigned long codePoint) { in isNewline() argument
57 return codePoint == '\n'; in isNewline()
75 GlyphIndex TextFace::getCharIndex(unsigned long codePoint) { in getCharIndex() argument
77 return FT_Get_Char_Index(*face_, codePoint); in getCharIndex()
146 if (isBreakable((*rangeBegin).codePoint())) { in findLongestWordSequence()
157 auto codePoint = UTF8Range<const char*>::codePoint(**wordStart); in findLongestWordSequence() local
158 if (isBreakable(codePoint)) { in findLongestWordSequence()
167 codePoint = c.codePoint(); in findLongestWordSequence()
[all …]
Dlabel.cpp80 while (!isNewline(lineEnd.codePoint()) && lineEnd != text_.end()) { in draw()
115 if (isNewline(textBegin.codePoint())) { in draw()
/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);
80 bool isNewline(unsigned long codePoint);
111 bool prevBreaking = isBreakable(begin_.codePoint());
123 } while (begin_ != end_ && checkAndUpdate(begin_.codePoint()));
150 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()