Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DGraphemeBreakTests.cpp33 return GraphemeBreak::isGraphemeBreak(nullptr, buf, 0, size, offset); in IsBreak()
42 return GraphemeBreak::isGraphemeBreak(advances, buf, 0, size, offset); in IsBreakWithAdvances()
45 TEST(GraphemeBreak, utf16) { in TEST() argument
57 TEST(GraphemeBreak, rules) { in TEST() argument
173 TEST(GraphemeBreak, tailoring) { in TEST() argument
236 TEST(GraphemeBreak, emojiModifiers) { in TEST() argument
287 TEST(GraphemeBreak, genderBalancedEmoji) { in TEST() argument
307 TEST(GraphemeBreak, offsets) { in TEST() argument
309 EXPECT_TRUE(GraphemeBreak::isGraphemeBreak(nullptr, string, 2, 3, 2)); in TEST()
310 EXPECT_FALSE(GraphemeBreak::isGraphemeBreak(nullptr, string, 2, 3, 3)); in TEST()
[all …]
/frameworks/minikin/tests/perftests/
DGraphemeBreak.cpp42 GraphemeBreak::isGraphemeBreak(nullptr, buffer, 0, result_size, testIndex); in BM_GraphemeBreak_Ascii()
57 GraphemeBreak::isGraphemeBreak(nullptr, buffer, 0, result_size, testIndex); in BM_GraphemeBreak_Emoji()
72 GraphemeBreak::isGraphemeBreak(nullptr, buffer, 0, result_size, testIndex); in BM_GraphemeBreak_Emoji_Flags()
DAndroid.bp32 "GraphemeBreak.cpp",
/frameworks/minikin/libs/minikin/
DMeasurement.cpp57 if (GraphemeBreak::isGraphemeBreak(advances + (start - layoutStart), buf, start, count, in getRunAdvance()
90 if (GraphemeBreak::isGraphemeBreak(advances, buf, start, count, i)) { in getOffsetForAdvance()
107 if (GraphemeBreak::isGraphemeBreak(advances, buf, start, count, i)) { in getOffsetForAdvance()
DGraphemeBreak.cpp62 bool GraphemeBreak::isGraphemeBreak(const float* advances, const uint16_t* buf, size_t start, in isGraphemeBreak()
188 size_t GraphemeBreak::getTextRunCursor(const float* advances, const uint16_t* buf, size_t start, in getTextRunCursor()
DAndroid.bp39 "GraphemeBreak.cpp",
/frameworks/minikin/include/minikin/
DGraphemeBreak.h25 class GraphemeBreak {
/frameworks/base/libs/hwui/jni/
DPaint.cpp234 minikin::GraphemeBreak::MoveOpt moveOpt = minikin::GraphemeBreak::MoveOpt(opt); in doTextRunCursor()
239 size_t result = minikin::GraphemeBreak::getTextRunCursor(advancesArray.get(), text, in doTextRunCursor()