Searched refs:nPenX (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 64 int nPenX = x + glyph->mBitmapLeft; in measureCachedGlyph() local 73 if (bounds->left > nPenX) { in measureCachedGlyph() 74 bounds->left = nPenX; in measureCachedGlyph() 76 if (bounds->right < nPenX + width) { in measureCachedGlyph() 77 bounds->right = nPenX + width; in measureCachedGlyph() 86 int nPenX = x + glyph->mBitmapLeft; in drawCachedGlyph() local 97 mState->appendMeshQuad(nPenX, nPenY, u1, v2, in drawCachedGlyph() 98 nPenX + width, nPenY, u2, v2, in drawCachedGlyph() 99 nPenX + width, nPenY - height, u2, v1, in drawCachedGlyph() 100 nPenX, nPenY - height, u1, v1, glyph->mCacheTexture); in drawCachedGlyph() [all …]
|
/frameworks/rs/ |
D | rsFont.cpp | 94 int32_t nPenX = x + glyph->mBitmapLeft; in drawCachedGlyph() local 105 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2, in drawCachedGlyph() 106 nPenX + width, nPenY, 0, u2, v2, in drawCachedGlyph() 107 nPenX + width, nPenY - height, 0, u2, v1, in drawCachedGlyph() 108 nPenX, nPenY - height, 0, u1, v1); in drawCachedGlyph() 113 int32_t nPenX = x + glyph->mBitmapLeft; in drawCachedGlyph() local 125 for (cacheX = glyph->mBitmapMinX, bX = nPenX; cacheX < endX; cacheX++, bX++) { in drawCachedGlyph() 138 int32_t nPenX = x + glyph->mBitmapLeft; in measureCachedGlyph() local 148 if (bounds->left > nPenX) { in measureCachedGlyph() 149 bounds->left = nPenX; in measureCachedGlyph() [all …]
|