HomeSort by relevance Sort by last modified time
    Searched refs:TEXTURE_BORDER_SIZE (Results 1 - 3 of 3) sorted by null

  /frameworks/base/libs/hwui/font/
FontUtil.h 33 #ifdef TEXTURE_BORDER_SIZE
34 #if TEXTURE_BORDER_SIZE != 1
35 #error TEXTURE_BORDER_SIZE other than 1 is not currently supported
38 #define TEXTURE_BORDER_SIZE 1
CacheTexture.cpp 48 while (currBlock && currBlock->mY != TEXTURE_BORDER_SIZE) {
121 mCacheBlocks = new CacheBlock(TEXTURE_BORDER_SIZE, TEXTURE_BORDER_SIZE,
122 getWidth() - TEXTURE_BORDER_SIZE, getHeight() - TEXTURE_BORDER_SIZE);
150 mCacheBlocks = new CacheBlock(TEXTURE_BORDER_SIZE, TEXTURE_BORDER_SIZE,
151 getWidth() - TEXTURE_BORDER_SIZE, getHeight() - TEXTURE_BORDER_SIZE);
242 if (glyph.fHeight + TEXTURE_BORDER_SIZE * 2 > getHeight())
    [all...]
  /frameworks/base/libs/hwui/
FontRenderer.cpp 244 if (glyph.fHeight + TEXTURE_BORDER_SIZE * 2 >
298 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
299 - TEXTURE_BORDER_SIZE;
301 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE);
306 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
311 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
317 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
318 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
322 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
    [all...]

Completed in 66 milliseconds