Home
last modified time | relevance | path

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

/system/teeui/libteeui/include/teeui/
Dfont_rendering.h81 template <typename CharIterator> class UTF8Range {
83 UTF8Range(CharIterator begin, CharIterator end) : begin_(begin), end_(end) {} in UTF8Range() function
84 UTF8Range() : begin_{}, end_{begin_} {}; in UTF8Range() function
85 UTF8Range(const UTF8Range&) = default;
86 UTF8Range(UTF8Range&&) = default;
87 UTF8Range& operator=(UTF8Range&&) = default;
88 UTF8Range& operator=(const UTF8Range&) = default;
149 unsigned long codePoint() const { return UTF8Range::codePoint(begin_); } in codePoint()
185 UTF8Range<CharIterator> range_;
189 explicit UTF8WordRange(const UTF8Range<CharIterator>& range) : range_(range) {} in UTF8WordRange()
[all …]
Dlabel.h50 using text_t = UTF8Range<const char*>;
/system/teeui/libteeui/src/
Dfont_rendering.cpp130 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()