Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DFontRenderer.cpp287 uint32_t cacheWidth = cacheTexture->getWidth(); in cacheBitmap() local
306 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX in cacheBitmap()
313 row = cacheY * cacheWidth; in cacheBitmap()
323 row = cacheY * cacheWidth; in cacheBitmap()
330 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
340 size_t dstStride = formatSize * cacheWidth; in cacheBitmap()
362 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX in cacheBitmap()
373 row = cacheY * cacheWidth; in cacheBitmap()
378 cacheBuffer[cacheY * cacheWidth + cacheX++] = COLORS[(b >> mask) & 0x1]; in cacheBitmap()
386 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
/frameworks/rs/
DrsFont.cpp122 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); in drawCachedGlyph() local
133 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX]; in drawCachedGlyph()
274 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); in updateGlyphCache() local
277 glyph->mBitmapMinU = (float)startX / (float)cacheWidth; in updateGlyphCache()
279 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth; in updateGlyphCache()
460 uint32_t cacheWidth = getCacheTextureType()->getDimX(); in cacheBitmap() local
469 cacheBuffer[cacheY*cacheWidth + cacheX] = tempCol; in cacheBitmap()
/frameworks/base/libs/hwui/font/
DFont.cpp222 uint32_t cacheWidth = cacheTexture->getWidth(); in drawCachedGlyphBitmap() local
223 uint32_t srcStride = formatSize * cacheWidth; in drawCachedGlyphBitmap()
464 uint32_t cacheWidth = glyph->mCacheTexture->getWidth(); in updateGlyphCache() local
467 glyph->mBitmapMinU = startX / (float) cacheWidth; in updateGlyphCache()
469 glyph->mBitmapMaxU = endX / (float) cacheWidth; in updateGlyphCache()