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

/frameworks/base/libs/hwui/font/
H A DFont.cpp146 int nPenX = x + glyph->mBitmapLeft; local
152 if (bounds->left > nPenX) {
153 bounds->left = nPenX;
155 if (bounds->right < nPenX + width) {
156 bounds->right = nPenX + width;
168 float nPenX = x + glyph->mBitmapLeft; local
176 mState->appendMeshQuad(nPenX, nPenY, u1, v2,
177 nPenX + width, nPenY, u2, v2,
178 nPenX + width, nPenY - height, u2, v1,
179 nPenX, nPen
[all...]
/frameworks/rs/
H A DrsFont.cpp96 int32_t nPenX = x + glyph->mBitmapLeft; 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);
115 int32_t nPenX = x + glyph->mBitmapLeft; local
127 for (cacheX = glyph->mBitmapMinX, bX = nPenX; cacheX < endX; cacheX++, bX++) {
140 int32_t nPenX = x + glyph->mBitmapLeft; local
150 if (bounds->left > nPenX) {
151 bounds->left = nPenX;
[all...]

Completed in 89 milliseconds