Home
last modified time | relevance | path

Searched refs:cacheWidth (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DFontRenderer.cpp274 uint32_t cacheWidth = cacheTexture->getWidth(); in cacheBitmap() local
293 (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
299 row = cacheY * cacheWidth; in cacheBitmap()
309 row = cacheY * cacheWidth; in cacheBitmap()
316 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
326 size_t dstStride = formatSize * cacheWidth; in cacheBitmap()
349 (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
359 row = cacheY * cacheWidth; in cacheBitmap()
364 cacheBuffer[cacheY * cacheWidth + cacheX++] = COLORS[(b >> mask) & 0x1]; in cacheBitmap()
372 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
DVectorDrawable.cpp583 int cacheWidth = outCache.width(); in updateBitmapCache() local
585 ATRACE_FORMAT("VectorDrawable repaint %dx%d", cacheWidth, cacheHeight); in updateBitmapCache()
592 float scaleX = cacheWidth / viewportWidth; in updateBitmapCache()
/frameworks/rs/
DrsFont.cpp121 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); in drawCachedGlyph() local
132 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX]; in drawCachedGlyph()
273 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); in updateGlyphCache() local
276 glyph->mBitmapMinU = (float)startX / (float)cacheWidth; in updateGlyphCache()
278 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth; in updateGlyphCache()
459 uint32_t cacheWidth = getCacheTextureType()->getDimX(); in cacheBitmap() local
468 cacheBuffer[cacheY*cacheWidth + cacheX] = tempCol; in cacheBitmap()
/frameworks/base/libs/hwui/font/
DFont.cpp215 uint32_t cacheWidth = cacheTexture->getWidth(); in drawCachedGlyphBitmap() local
216 uint32_t srcStride = formatSize * cacheWidth; in drawCachedGlyphBitmap()
449 uint32_t cacheWidth = glyph->mCacheTexture->getWidth(); in updateGlyphCache() local
452 glyph->mBitmapMinU = startX / (float)cacheWidth; in updateGlyphCache()
454 glyph->mBitmapMaxU = endX / (float)cacheWidth; in updateGlyphCache()