Searched defs:nPenY (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/font/
H A DFont.cpp147 int nPenY = y + glyph->mBitmapTop; local
149 if (bounds->bottom > nPenY) {
150 bounds->bottom = nPenY;
158 if (bounds->top < nPenY + height) {
159 bounds->top = nPenY + height;
169 float nPenY = y + glyph->mBitmapTop + height; local
176 mState->appendMeshQuad(nPenX, nPenY, u1, v2,
177 nPenX + width, nPenY, u2, v2,
178 nPenX + width, nPenY - height, u2, v1,
179 nPenX, nPenY
[all...]
/frameworks/rs/
H A DrsFont.cpp97 int32_t nPenY = y - glyph->mBitmapTop + glyph->mBitmapHeight; local
107 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2,
108 nPenX + width, nPenY, 0, u2, v2,
109 nPenX + width, nPenY - height, 0, u2, v1,
110 nPenX, nPenY - height, 0, u1, v1);
116 int32_t nPenY = y + glyph->mBitmapTop; local
128 for (cacheY = glyph->mBitmapMinY, bY = nPenY; cacheY < endY; cacheY++, bY++) {
141 int32_t nPenY = y - glyph->mBitmapTop + glyph->mBitmapHeight; local
147 if (bounds->bottom < nPenY) {
148 bounds->bottom = nPenY;
[all...]

Completed in 41 milliseconds