Searched refs:getCharAdvance (Results 1 – 5 of 5) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | MeasuredTextTest.cpp | 172 EXPECT_EQ(10.0f, layout.getCharAdvance(0)); in TEST() 185 EXPECT_EQ(10.0f, layout.getCharAdvance(0)); in TEST() 186 EXPECT_EQ(10.0f, layout.getCharAdvance(1)); in TEST() 197 EXPECT_EQ(10.0f, layout.getCharAdvance(0)); in TEST() 209 EXPECT_EQ(10.0f, layout.getCharAdvance(i)) << i; in TEST() 246 EXPECT_EQ(10.0f, layout.getCharAdvance(0)); in TEST() 259 EXPECT_EQ(10.0f, layout.getCharAdvance(0)); in TEST() 260 EXPECT_EQ(10.0f, layout.getCharAdvance(1)); in TEST() 271 EXPECT_EQ(10.0f, layout.getCharAdvance(0)); in TEST() 288 EXPECT_EQ(20.0f, layout.getCharAdvance(0)); in TEST() [all …]
|
/frameworks/minikin/tests/stresstest/ |
D | MultithreadTest.cpp | 82 LOG_ALWAYS_FATAL_IF(layout.getCharAdvance(k) != 10.0f, in thread_main()
|
/frameworks/minikin/include/minikin/ |
D | Layout.h | 93 float getCharAdvance(size_t i) const { return mAdvances[i]; } in getCharAdvance() function
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.cpp | 737 float halfWidth = layout.getCharAdvance(i) * 0.5f; in drawLayoutOnPath()
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 429 if (layout.getGlyphId(i) != kSpaceGlyphId || layout.getCharAdvance(i) != 0.0) { in countNonSpaceGlyphs()
|