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

/frameworks/base/libs/hwui/font/
H A DFont.cpp216 uint32_t cacheWidth = cacheTexture->getWidth(); local
217 uint32_t srcStride = formatSize * cacheWidth;
458 uint32_t cacheWidth = glyph->mCacheTexture->getWidth(); local
461 glyph->mBitmapMinU = startX / (float) cacheWidth;
463 glyph->mBitmapMaxU = endX / (float) cacheWidth;
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp289 uint32_t cacheWidth = cacheTexture->getWidth(); local
308 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
315 row = cacheY * cacheWidth;
325 row = cacheY * cacheWidth;
332 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
342 size_t dstStride = formatSize * cacheWidth;
364 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
375 row = cacheY * cacheWidth;
380 cacheBuffer[cacheY * cacheWidth + cacheX++] = COLORS[(b >> mask) & 0x1];
388 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth
[all...]
/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 84 milliseconds