Home
last modified time | relevance | path

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

/frameworks/base/libs/rs/
DrsFont.cpp119 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); in drawCachedGlyph() local
130 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX]; in drawCachedGlyph()
271 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); in updateGlyphCache() local
274 glyph->mBitmapMinU = (float)startX / (float)cacheWidth; in updateGlyphCache()
276 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth; in updateGlyphCache()
453 uint32_t cacheWidth = getCacheTextureType()->getDimX(); in cacheBitmap() local
462 cacheBuffer[cacheY*cacheWidth + cacheX] = tempCol; in cacheBitmap()
/frameworks/base/libs/hwui/
DFontRenderer.cpp121 uint32_t cacheWidth = mState->getCacheWidth(); in drawCachedGlyph() local
132 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX]; in drawCachedGlyph()
263 uint32_t cacheWidth = mState->getCacheWidth(); in updateGlyphCache() local
266 glyph->mBitmapMinU = (float) startX / (float) cacheWidth; in updateGlyphCache()
268 glyph->mBitmapMaxU = (float) endX / (float) cacheWidth; in updateGlyphCache()
449 uint32_t cacheWidth = mCacheWidth; in cacheBitmap() local
459 cacheBuffer[cacheY * cacheWidth + cacheX] = mGammaTable[tempCol]; in cacheBitmap()