Searched refs:nPenY (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 65 int nPenY = y + glyph->mBitmapTop; in measureCachedGlyph() local 70 if (bounds->bottom > nPenY) { in measureCachedGlyph() 71 bounds->bottom = nPenY; in measureCachedGlyph() 79 if (bounds->top < nPenY + height) { in measureCachedGlyph() 80 bounds->top = nPenY + height; in measureCachedGlyph() 87 int nPenY = y + glyph->mBitmapTop + glyph->mBitmapHeight; 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 | 95 int32_t nPenY = y - glyph->mBitmapTop + glyph->mBitmapHeight; 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() 114 int32_t nPenY = y + glyph->mBitmapTop; in drawCachedGlyph() local 126 for (cacheY = glyph->mBitmapMinY, bY = nPenY; cacheY < endY; cacheY++, bY++) { in drawCachedGlyph() 139 int32_t nPenY = y - glyph->mBitmapTop + glyph->mBitmapHeight; in measureCachedGlyph() local 145 if (bounds->bottom < nPenY) { in measureCachedGlyph() 146 bounds->bottom = nPenY; in measureCachedGlyph() [all …]
|