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.bp28 "GraphemeBreak.cpp",
/frameworks/minikin/libs/minikin/
DMeasurement.cpp54 if (GraphemeBreak::isGraphemeBreak(advances + (start - layoutStart), buf, start, count, in getRunAdvance()
87 if (GraphemeBreak::isGraphemeBreak(advances, buf, start, count, i)) { in getOffsetForAdvance()
104 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.bp32 "GraphemeBreak.cpp",
/frameworks/minikin/include/minikin/
DGraphemeBreak.h25 class GraphemeBreak {
/frameworks/base/core/jni/android/graphics/
DPaint.cpp249 minikin::GraphemeBreak::MoveOpt moveOpt = minikin::GraphemeBreak::MoveOpt(opt); in doTextRunCursor()
254 size_t result = minikin::GraphemeBreak::getTextRunCursor(advancesArray.get(), text, in doTextRunCursor()