Searched refs:mAdvances (Results 1 – 4 of 4) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | Layout.h | 73 mAdvances(), in Layout() 106 inline const std::vector<float>& advances() const { return mAdvances; } in advances() 128 float getCharAdvance(size_t i) const { return mAdvances[i]; } in getCharAdvance() 140 return sizeof(LayoutGlyph) * nGlyphs() + sizeof(float) * mAdvances.size() + in getMemoryUsage() 186 std::vector<float> mAdvances; variable
|
D | LayoutCache.h | 76 layout->mAdvances.resize(mCount, 0); in doLayout()
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 137 mAdvances.clear(); in reset() 233 mAdvances.resize(count, 0); in doLayout() 249 mAdvances.resize(count, 0); in doLayoutWithPrecomputedPieces() 356 mAdvances(advances), in LayoutAppendFunctor() 368 if (mAdvances) { in operator ()() 369 layout.getAdvances(mAdvances); in operator ()() 393 float* mAdvances; member in minikin::LayoutAppendFunctor 699 mAdvances[info[0].cluster - clusterOffset] += letterSpaceHalfLeft; in doLayoutRun() 705 mAdvances[info[i - 1].cluster - clusterOffset] += letterSpaceHalfRight; in doLayoutRun() 706 mAdvances[clusterBaseIndex] += letterSpaceHalfLeft; in doLayoutRun() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | LayoutTest.cpp | 563 inLayout.mAdvances[0] = MARKER1; // Modify the advance to make sure this layout is used. in TEST_F() 568 EXPECT_EQ(MARKER1, outLayout.mAdvances[0]); in TEST_F() 574 inLayout.mAdvances[0] = MARKER1; in TEST_F() 580 EXPECT_NE(MARKER1, outLayout.mAdvances[0]); in TEST_F() 581 EXPECT_NE(MARKER1, outLayout.mAdvances[1]); in TEST_F() 587 inLayout.mAdvances[0] = MARKER1; in TEST_F() 592 EXPECT_EQ(MARKER1, outLayout.mAdvances[0]); in TEST_F() 593 EXPECT_EQ(MARKER1, outLayout.mAdvances[2]); in TEST_F() 599 inLayout.mAdvances[0] = MARKER1; // Modify the advance to make sure this layout is used. in TEST_F() 604 inLayout.mAdvances[0] = MARKER2; // Modify the advance to make sure this layout is used. in TEST_F() [all …]
|