Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DFont.cpp146 int nPenY = y + glyph->mBitmapTop; in measureCachedGlyph() local
148 if (bounds->bottom > nPenY) { in measureCachedGlyph()
149 bounds->bottom = nPenY; in measureCachedGlyph()
157 if (bounds->top < nPenY + height) { in measureCachedGlyph()
158 bounds->top = nPenY + height; in measureCachedGlyph()
168 float nPenY = y + glyph->mBitmapTop + height; in drawCachedGlyph() local
175 mState->appendMeshQuad(nPenX, nPenY, u1, v2, in drawCachedGlyph()
176 nPenX + width, nPenY, u2, v2, in drawCachedGlyph()
177 nPenX + width, nPenY - height, u2, v1, in drawCachedGlyph()
178 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 …]