Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DLayout.h83 Layout() : mGlyphs(), mAdvances(), mCollection(0), mFaces(), mAdvance(0), mBounds() { in Layout()
122 float getCharAdvance(size_t i) const { return mAdvances[i]; } in getCharAdvance()
155 std::vector<float> mAdvances; variable
/frameworks/minikin/libs/minikin/
DLayout.cpp139 layout->mAdvances.resize(mCount, 0); in doLayout()
280 mAdvances.clear(); in reset()
588 mAdvances.resize(count, 0); in doLayout()
813 mAdvances[info[0].cluster - start] += letterSpaceHalfLeft; in doLayoutRun()
826 mAdvances[info[i - 1].cluster - start] += letterSpaceHalfRight; in doLayoutRun()
827 mAdvances[info[i].cluster - start] += letterSpaceHalfLeft; in doLayoutRun()
846 mAdvances[info[i].cluster - start] += xAdvance; in doLayoutRun()
855 mAdvances[info[numGlyphs - 1].cluster - start] += letterSpaceHalfRight; in doLayoutRun()
885 for (size_t i = 0; i < src->mAdvances.size(); i++) { in appendLayout()
886 mAdvances[i + start] = src->mAdvances[i]; in appendLayout()
[all …]