Home
last modified time | relevance | path

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

/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/
DVectorDrawable.cpp597 int cacheWidth = outCache.width(); in updateBitmapCache() local
599 ATRACE_FORMAT("VectorDrawable repaint %dx%d", cacheWidth, cacheHeight); in updateBitmapCache()
606 float scaleX = cacheWidth / viewportWidth; in updateBitmapCache()