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.cpp276 uint32_t cacheWidth = cacheTexture->getWidth(); local
294 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
301 row = cacheY * cacheWidth;
311 row = cacheY * cacheWidth;
318 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
328 size_t dstStride = formatSize * cacheWidth;
350 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
361 row = cacheY * cacheWidth;
366 cacheBuffer[cacheY * cacheWidth + cacheX++] = COLORS[(b >> mask) & 0x1];
374 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth
[all...]
/frameworks/rs/
H A DrsFont.cpp121 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); local
132 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX];
273 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); local
276 glyph->mBitmapMinU = (float)startX / (float)cacheWidth;
278 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth;
459 uint32_t cacheWidth = getCacheTextureType()->getDimX(); local
468 cacheBuffer[cacheY*cacheWidth + cacheX] = tempCol;

Completed in 38 milliseconds