Home
last modified time | relevance | path

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

/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()
/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()
309 EXPECT_TRUE(GraphemeBreak::isGraphemeBreak(nullptr, string, 2, 3, 2)); in TEST()
310 EXPECT_FALSE(GraphemeBreak::isGraphemeBreak(nullptr, string, 2, 3, 3)); in TEST()
311 EXPECT_TRUE(GraphemeBreak::isGraphemeBreak(nullptr, string, 2, 3, 4)); in TEST()
312 EXPECT_TRUE(GraphemeBreak::isGraphemeBreak(nullptr, string, 2, 3, 5)); in TEST()
/frameworks/minikin/libs/minikin/
DGraphemeBreak.cpp62 bool GraphemeBreak::isGraphemeBreak(const float* advances, const uint16_t* buf, size_t start, in isGraphemeBreak() function in minikin::GraphemeBreak
197 while (!isGraphemeBreak(advances, buf, start, count, offset)) { in getTextRunCursor()
207 while (!isGraphemeBreak(advances, buf, start, count, offset)) { in getTextRunCursor()
212 if (!isGraphemeBreak(advances, buf, start, count, offset)) { in getTextRunCursor()
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()
/frameworks/minikin/include/minikin/
DGraphemeBreak.h33 static bool isGraphemeBreak(const float* advances, const uint16_t* buf, size_t start,