Searched refs: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 startY = glyph->mStartY * cacheWidth;
218 uint32_t endY = startY + (glyph->mBitmapHeight * cacheWidth);
224 cacheY += cacheWidth, bitmapY += bitmapWidth) {
450 uint32_t cacheWidth = glyph->mCacheTexture->getWidth(); local
453 glyph->mBitmapMinU = startX / (float) cacheWidth;
455 glyph->mBitmapMaxU = endX / (float) cacheWidth;
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp286 uint32_t cacheWidth = cacheTexture->getWidth(); local
305 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
312 row = cacheY * cacheWidth;
322 row = cacheY * cacheWidth;
329 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
339 size_t dstStride = formatSize * cacheWidth;
361 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
372 row = cacheY * cacheWidth;
377 cacheBuffer[cacheY * cacheWidth + cacheX++] = COLORS[(b >> mask) & 0x1];
385 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 82 milliseconds