Searched refs:cacheWidth (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
H A DFontRenderer.cpp287 uint32_t cacheWidth = cacheTexture->getWidth(); local
306 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
313 row = cacheY * cacheWidth;
323 row = cacheY * cacheWidth;
330 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
340 size_t dstStride = formatSize * cacheWidth;
362 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
373 row = cacheY * cacheWidth;
378 cacheBuffer[cacheY * cacheWidth + cacheX++] = COLORS[(b >> mask) & 0x1];
386 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth
[all...]
/frameworks/base/libs/hwui/font/
H A DFont.cpp222 uint32_t cacheWidth = cacheTexture->getWidth(); local
223 uint32_t srcStride = formatSize * cacheWidth;
464 uint32_t cacheWidth = glyph->mCacheTexture->getWidth(); local
467 glyph->mBitmapMinU = startX / (float) cacheWidth;
469 glyph->mBitmapMaxU = endX / (float) cacheWidth;
/frameworks/rs/
H A DrsFont.cpp122 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); local
133 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX];
274 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); local
277 glyph->mBitmapMinU = (float)startX / (float)cacheWidth;
279 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth;
460 uint32_t cacheWidth = getCacheTextureType()->getDimX(); local
469 cacheBuffer[cacheY*cacheWidth + cacheX] = tempCol;

Completed in 690 milliseconds