Home
last modified time | relevance | path

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

/frameworks/rs/
DrsFont.cpp94 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 …]
/frameworks/base/libs/hwui/
DFontRenderer.cpp101 int nPenX = x + glyph->mBitmapLeft; in measureCachedGlyph() local
110 if (bounds->left > nPenX) { in measureCachedGlyph()
111 bounds->left = nPenX; in measureCachedGlyph()
113 if (bounds->right < nPenX + width) { in measureCachedGlyph()
114 bounds->right = nPenX + width; in measureCachedGlyph()
123 int nPenX = x + glyph->mBitmapLeft; in drawCachedGlyph() local
134 mState->appendMeshQuad(nPenX, nPenY, u1, v2, in drawCachedGlyph()
135 nPenX + width, nPenY, u2, v2, in drawCachedGlyph()
136 nPenX + width, nPenY - height, u2, v1, in drawCachedGlyph()
137 nPenX, nPenY - height, u1, v1, glyph->mCachedTextureLine->mCacheTexture); in drawCachedGlyph()
[all …]