Searched refs:CACHE_BLOCK_ROUNDING_SIZE (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/font/
H A DFontUtil.h35 #define CACHE_BLOCK_ROUNDING_SIZE 4 macro
H A DCacheTexture.cpp240 // roundedUpW equals glyphW to the next multiple of CACHE_BLOCK_ROUNDING_SIZE.
244 uint16_t roundedUpW = (glyphW + CACHE_BLOCK_ROUNDING_SIZE - 1) & -CACHE_BLOCK_ROUNDING_SIZE;
253 (cacheBlock->mWidth - roundedUpW < CACHE_BLOCK_ROUNDING_SIZE))) {

Completed in 365 milliseconds