Home
last modified time | relevance | path

Searched refs:nPenY (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/font/
DFont.cpp141 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/
DrsFont.cpp97 int32_t nPenY = y - glyph->mBitmapTop + glyph->mBitmapHeight; in drawCachedGlyph() local
107 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2, in drawCachedGlyph()
108 nPenX + width, nPenY, 0, u2, v2, in drawCachedGlyph()
109 nPenX + width, nPenY - height, 0, u2, v1, in drawCachedGlyph()
110 nPenX, nPenY - height, 0, u1, v1); in drawCachedGlyph()
116 int32_t nPenY = y + glyph->mBitmapTop; in drawCachedGlyph() local
128 for (cacheY = glyph->mBitmapMinY, bY = nPenY; cacheY < endY; cacheY++, bY++) { in drawCachedGlyph()
141 int32_t nPenY = y - glyph->mBitmapTop + glyph->mBitmapHeight; in measureCachedGlyph() local
147 if (bounds->bottom < nPenY) { in measureCachedGlyph()
148 bounds->bottom = nPenY; in measureCachedGlyph()
[all …]