Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DMeasuredTextTest.cpp172 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/
DMultithreadTest.cpp82 LOG_ALWAYS_FATAL_IF(layout.getCharAdvance(k) != 10.0f, in thread_main()
/frameworks/minikin/include/minikin/
DLayout.h93 float getCharAdvance(size_t i) const { return mAdvances[i]; } in getCharAdvance() function
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp737 float halfWidth = layout.getCharAdvance(i) * 0.5f; in drawLayoutOnPath()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp429 if (layout.getGlyphId(i) != kSpaceGlyphId || layout.getCharAdvance(i) != 0.0) { in countNonSpaceGlyphs()