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

/frameworks/base/libs/hwui/font/
H A DFont.cpp112 uint32_t cacheWidth = cacheTexture->getWidth(); local
125 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX];
397 uint32_t cacheWidth = glyph->mCacheTexture->getWidth(); local
400 glyph->mBitmapMinU = startX / (float) cacheWidth;
402 glyph->mBitmapMaxU = endX / (float) cacheWidth;
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp209 uint32_t cacheWidth = cacheTexture->getWidth(); local
224 cacheBuffer[(startY - TEXTURE_BORDER_SIZE) * cacheWidth + cacheX] = 0;
225 cacheBuffer[(endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + cacheX] = 0;
230 cacheBuffer[cacheY * cacheWidth + startX - TEXTURE_BORDER_SIZE] = 0;
231 cacheBuffer[cacheY * cacheWidth + endX + TEXTURE_BORDER_SIZE - 1] = 0;
238 cacheBuffer[cacheY * cacheWidth + cacheX] = mGammaTable[tempCol];
245 cacheBuffer[cacheY * cacheWidth + cacheX] = tempCol;
/frameworks/rs/
H A DrsFont.cpp120 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); local
131 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX];
272 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); local
275 glyph->mBitmapMinU = (float)startX / (float)cacheWidth;
277 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth;
454 uint32_t cacheWidth = getCacheTextureType()->getDimX(); local
463 cacheBuffer[cacheY*cacheWidth + cacheX] = tempCol;

Completed in 180 milliseconds