Searched refs:cacheX (Results 1 – 2 of 2) sorted by relevance
/frameworks/rs/ |
D | rsFont.cpp | 124 uint32_t cacheX = 0, cacheY = 0; in drawCachedGlyph() local 126 for (cacheX = glyph->mBitmapMinX, bX = nPenX; cacheX < endX; cacheX++, bX++) { in drawCachedGlyph() 132 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX]; in drawCachedGlyph() 464 uint32_t cacheX = 0, bX = 0, cacheY = 0, bY = 0; in cacheBitmap() local 465 for (cacheX = startX, bX = 0; cacheX < endX; cacheX ++, bX ++) { in cacheBitmap() 468 cacheBuffer[cacheY*cacheWidth + cacheX] = tempCol; in cacheBitmap()
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.cpp | 301 for (uint32_t cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) { in cacheBitmap() local 303 cacheBuffer[row + cacheX] = mGammaTable[tempCol]; in cacheBitmap() 347 uint32_t cacheX = 0, cacheY = 0; in cacheBitmap() local 355 cacheX = startX; in cacheBitmap() 363 for (int8_t mask = 7; mask >= 0 && cacheX < endX; mask--) { in cacheBitmap() 364 cacheBuffer[cacheY * cacheWidth + cacheX++] = COLORS[(b >> mask) & 0x1]; in cacheBitmap()
|