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

/frameworks/base/libs/hwui/font/
H A DFont.cpp140 int nPenX = x + glyph->mBitmapLeft; local
146 if (bounds->left > nPenX) {
147 bounds->left = nPenX;
149 if (bounds->right < nPenX + width) {
150 bounds->right = nPenX + width;
162 float nPenX = x + glyph->mBitmapLeft; local
170 mState->appendMeshQuad(nPenX, nPenY, u1, v2,
171 nPenX + width, nPenY, u2, v2,
172 nPenX + width, nPenY - height, u2, v1,
173 nPenX, nPen
[all...]
/frameworks/rs/
H A DrsFont.cpp95 int32_t nPenX = x + glyph->mBitmapLeft; local
106 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2,
107 nPenX + width, nPenY, 0, u2, v2,
108 nPenX + width, nPenY - height, 0, u2, v1,
109 nPenX, nPenY - height, 0, u1, v1);
114 int32_t nPenX = x + glyph->mBitmapLeft; local
126 for (cacheX = glyph->mBitmapMinX, bX = nPenX; cacheX < endX; cacheX++, bX++) {
139 int32_t nPenX = x + glyph->mBitmapLeft; local
149 if (bounds->left > nPenX) {
150 bounds->left = nPenX;
[all...]

Completed in 117 milliseconds