Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DLayoutCoreTest.cpp79 EXPECT_TRUE(layout.fontAt(0).font); in TEST()
91 EXPECT_TRUE(layout.fontAt(0).font); in TEST()
92 EXPECT_TRUE(layout.fontAt(1).font); in TEST()
93 EXPECT_EQ(layout.fontAt(0), layout.fontAt(1)); in TEST()
106 EXPECT_TRUE(layout.fontAt(0).font); in TEST()
107 EXPECT_TRUE(layout.fontAt(1).font); in TEST()
108 EXPECT_EQ(layout.fontAt(0), layout.fontAt(1)); in TEST()
132 EXPECT_TRUE(layout.fontAt(0).font); in TEST()
133 EXPECT_TRUE(layout.fontAt(1).font); in TEST()
134 EXPECT_NE(layout.fontAt(0), layout.fontAt(1)); in TEST()
[all …]
/frameworks/minikin/libs/minikin/
DBoundsCache.cpp32 const FakedFont& font = layoutPiece.fontAt(i); in getBounds()
DLayout.cpp151 mGlyphs.emplace_back(src.fontAt(i), src.glyphIdAt(i), mAdvance + src.pointAt(i).x, in appendLayout()
DMeasuredText.cpp220 const FakedFont& font = layoutPiece.fontAt(i); in operator ()()
/frameworks/minikin/include/minikin/
DLayoutCore.h61 const FakedFont& fontAt(int glyphPos) const { return mFonts[mFontIndices[glyphPos]]; } in fontAt() function