Home
last modified time | relevance | path

Searched refs:mAdvances (Results 1 – 4 of 4) sorted by relevance

/frameworks/minikin/include/minikin/
DLayout.h73 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
DLayoutCache.h76 layout->mAdvances.resize(mCount, 0); in doLayout()
/frameworks/minikin/libs/minikin/
DLayout.cpp137 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/
DLayoutTest.cpp563 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 …]