Searched refs:getCharAdvance (Results 1 – 5 of 5) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | MeasuredTextTest.cpp | 245 EXPECT_EQ(10.0f, layout.getCharAdvance(0)); in TEST() 260 EXPECT_EQ(10.0f, layout.getCharAdvance(0)); in TEST() 261 EXPECT_EQ(10.0f, layout.getCharAdvance(1)); in TEST() 274 EXPECT_EQ(10.0f, layout.getCharAdvance(0)); in TEST() 288 EXPECT_EQ(10.0f, layout.getCharAdvance(i)) << i; in TEST() 333 EXPECT_EQ(10.0f, layout.getCharAdvance(0)); in TEST() 348 EXPECT_EQ(10.0f, layout.getCharAdvance(0)); in TEST() 349 EXPECT_EQ(10.0f, layout.getCharAdvance(1)); in TEST() 362 EXPECT_EQ(10.0f, layout.getCharAdvance(0)); in TEST() 381 EXPECT_EQ(20.0f, layout.getCharAdvance(0)); in TEST() [all …]
|
/frameworks/minikin/tests/stresstest/ |
D | MultithreadTest.cpp | 84 LOG_ALWAYS_FATAL_IF(layout.getCharAdvance(k) != 10.0f, in thread_main()
|
/frameworks/minikin/include/minikin/ |
D | Layout.h | 141 float getCharAdvance(size_t i) const { return mAdvances[i]; } in getCharAdvance() function
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.cpp | 867 float halfWidth = layout.getCharAdvance(i) * 0.5f; in drawLayoutOnPath()
|
/frameworks/base/libs/hwui/jni/ |
D | Paint.cpp | 418 if (layout.getGlyphId(i) != kSpaceGlyphId || layout.getCharAdvance(i) != 0.0) { in countNonSpaceGlyphs()
|