Searched refs:nPenY (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 141 int nPenY = y + glyph->mBitmapTop; in measureCachedGlyph() local 143 if (bounds->bottom > nPenY) { in measureCachedGlyph() 144 bounds->bottom = nPenY; in measureCachedGlyph() 152 if (bounds->top < nPenY + height) { in measureCachedGlyph() 153 bounds->top = nPenY + height; in measureCachedGlyph() 163 float nPenY = y + glyph->mBitmapTop + height; in drawCachedGlyph() local 170 mState->appendMeshQuad(nPenX, nPenY, u1, v2, in drawCachedGlyph() 171 nPenX + width, nPenY, u2, v2, in drawCachedGlyph() 172 nPenX + width, nPenY - height, u2, v1, in drawCachedGlyph() 173 nPenX, nPenY - height, u1, v1, glyph->mCacheTexture); in drawCachedGlyph()
|
/frameworks/rs/ |
D | rsFont.cpp | 96 int32_t nPenY = y - glyph->mBitmapTop + glyph->mBitmapHeight; in drawCachedGlyph() local 106 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2, in drawCachedGlyph() 107 nPenX + width, nPenY, 0, u2, v2, in drawCachedGlyph() 108 nPenX + width, nPenY - height, 0, u2, v1, in drawCachedGlyph() 109 nPenX, nPenY - height, 0, u1, v1); in drawCachedGlyph() 115 int32_t nPenY = y + glyph->mBitmapTop; in drawCachedGlyph() local 127 for (cacheY = glyph->mBitmapMinY, bY = nPenY; cacheY < endY; cacheY++, bY++) { in drawCachedGlyph() 140 int32_t nPenY = y - glyph->mBitmapTop + glyph->mBitmapHeight; in measureCachedGlyph() local 146 if (bounds->bottom < nPenY) { in measureCachedGlyph() 147 bounds->bottom = nPenY; in measureCachedGlyph() [all …]
|