Searched defs:cacheWidth (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/rs/
H A DrsFont.cpp119 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); local
130 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX];
271 uint32_t cacheWidth = state->getCacheTextureType()->getDimX(); local
274 glyph->mBitmapMinU = (float)startX / (float)cacheWidth;
276 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth;
453 uint32_t cacheWidth = getCacheTextureType()->getDimX(); local
462 cacheBuffer[cacheY*cacheWidth + cacheX] = tempCol;
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp121 uint32_t cacheWidth = mState->getCacheWidth(); local
132 uint8_t tempCol = cacheBuffer[cacheY * cacheWidth + cacheX];
262 uint32_t cacheWidth = mState->getCacheWidth(); local
265 glyph->mBitmapMinU = (float) startX / (float) cacheWidth;
267 glyph->mBitmapMaxU = (float) endX / (float) cacheWidth;
448 uint32_t cacheWidth = mCacheWidth; local
458 cacheBuffer[cacheY * cacheWidth + cacheX] = mGammaTable[tempCol];

Completed in 44 milliseconds