Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DLayoutCoreTest.cpp76 EXPECT_EQ(Point(0, 0), layout.pointAt(0)); in TEST()
87 EXPECT_EQ(Point(0, 0), layout.pointAt(0)); in TEST()
88 EXPECT_EQ(Point(10.0f, 0), layout.pointAt(1)); in TEST()
102 EXPECT_EQ(Point(0, 0), layout.pointAt(0)); in TEST()
103 EXPECT_EQ(Point(10.0f, 0), layout.pointAt(1)); in TEST()
128 EXPECT_EQ(Point(0, 0), layout.pointAt(0)); in TEST()
129 EXPECT_EQ(Point(10.0f, 0), layout.pointAt(1)); in TEST()
143 EXPECT_EQ(Point(0, 0), layout.pointAt(0)); in TEST()
144 EXPECT_EQ(Point(20.0f, 0), layout.pointAt(1)); in TEST()
165 EXPECT_EQ(Point(0, 0), layout.pointAt(0)); in TEST()
[all …]
/frameworks/minikin/libs/minikin/
DBoundsCache.cpp33 const Point& point = layoutPiece.pointAt(i); in getBounds()
DLayout.cpp151 mGlyphs.emplace_back(src.fontAt(i), src.glyphIdAt(i), mAdvance + src.pointAt(i).x, in appendLayout()
152 src.pointAt(i).y); in appendLayout()
DMeasuredText.cpp253 const Point& point = layoutPiece.pointAt(i); in operator ()()
/frameworks/minikin/include/minikin/
DLayoutCore.h63 const Point& pointAt(int glyphPos) const { return mPoints[glyphPos]; } in pointAt() function