Home
last modified time | relevance | path

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

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