Searched refs:UTF8Range (Results 1 – 4 of 4) sorted by relevance
/system/teeui/libteeui/include/teeui/ |
D | utf8range.h | 30 template <typename CharIterator> class UTF8Range { 32 UTF8Range(CharIterator begin, CharIterator end) : begin_(begin), end_(end) {} in UTF8Range() function 33 UTF8Range() : begin_{}, end_{begin_} {}; in UTF8Range() function 34 UTF8Range(const UTF8Range&) = default; 35 UTF8Range(UTF8Range&&) = default; 36 UTF8Range& operator=(UTF8Range&&) = default; 37 UTF8Range& operator=(const UTF8Range&) = default; 98 unsigned long codePoint() const { return UTF8Range::codePoint(begin_); } in codePoint()
|
D | font_rendering.h | 82 UTF8Range<CharIterator> range_; 86 explicit UTF8WordRange(const UTF8Range<CharIterator>& range) : range_(range) {} in UTF8WordRange() 93 using UTF8Iterator = typename UTF8Range<CharIterator>::Iter; 215 std::tuple<Error, Box<pxs>, UTF8Range<const char*>> 216 findLongestWordSequence(TextFace* face, const UTF8Range<const char*>& text, 218 Error drawText(TextFace* face, const UTF8Range<const char*>& text, const PixelDrawer& drawPixel,
|
D | label.h | 52 using text_t = UTF8Range<const char*>;
|
/system/teeui/libteeui/src/ |
D | font_rendering.cpp | 130 std::tuple<Error, Box<pxs>, UTF8Range<const char*>> 131 findLongestWordSequence(TextFace* face, const UTF8Range<const char*>& text, in findLongestWordSequence() 133 std::tuple<Error, Box<pxs>, UTF8Range<const char*>> result; in findLongestWordSequence() 153 auto codePoint = UTF8Range<const char*>::codePoint(**wordStart); in findLongestWordSequence() 213 Error drawText(TextFace* face, const UTF8Range<const char*>& text, const PixelDrawer& drawPixel, in drawText() 218 auto codePoint = UTF8Range<const char*>::codePoint(c); in drawText()
|