OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:roundedupw
(Results
1 - 1
of
1
) sorted by null
/frameworks/base/libs/hwui/font/
CacheTexture.cpp
249
//
roundedUpW
equals glyphW to the next multiple of CACHE_BLOCK_ROUNDING_SIZE.
253
uint16_t
roundedUpW
= (glyphW + CACHE_BLOCK_ROUNDING_SIZE - 1) & -CACHE_BLOCK_ROUNDING_SIZE;
260
if (
roundedUpW
<= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight &&
262
(cacheBlock->mWidth -
roundedUpW
< CACHE_BLOCK_ROUNDING_SIZE))) {
265
roundedUpW
= glyphW;
276
cacheBlock->mWidth -=
roundedUpW
;
277
cacheBlock->mX +=
roundedUpW
;
282
roundedUpW
, getHeight() - glyphH - TEXTURE_BORDER_SIZE);
Completed in 48 milliseconds