Searched refs:pointAt (Results 1 – 5 of 5) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | LayoutCoreTest.cpp | 76 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/ |
D | BoundsCache.cpp | 33 const Point& point = layoutPiece.pointAt(i); in getBounds()
|
D | Layout.cpp | 151 mGlyphs.emplace_back(src.fontAt(i), src.glyphIdAt(i), mAdvance + src.pointAt(i).x, in appendLayout() 152 src.pointAt(i).y); in appendLayout()
|
D | MeasuredText.cpp | 253 const Point& point = layoutPiece.pointAt(i); in operator ()()
|
/frameworks/minikin/include/minikin/ |
D | LayoutCore.h | 63 const Point& pointAt(int glyphPos) const { return mPoints[glyphPos]; } in pointAt() function
|