Searched defs:formatSize (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/
H A DRenderBuffer.h120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f);
127 static uint32_t formatSize(GLenum format) { function in struct:android::uirenderer::RenderBuffer
H A DPixelBuffer.h152 return mWidth * mHeight * formatSize(mFormat);
159 return (y * mWidth + x) * formatSize(mFormat);
169 static uint32_t formatSize(GLenum format) { function in class:android::uirenderer::PixelBuffer
H A DFontRenderer.cpp322 const size_t formatSize = PixelBuffer::formatSize(GL_RGBA); local
323 const size_t borderSize = formatSize * TEXTURE_BORDER_SIZE;
324 size_t rowSize = formatSize * glyph.fWidth;
326 size_t dstStride = formatSize * cacheWidth;
/frameworks/base/tools/aapt2/
H A DUtil.h124 inline ::std::function<::std::ostream&(::std::ostream&)> formatSize(size_t size) { function in namespace:aapt
/frameworks/base/libs/hwui/font/
H A DFont.cpp219 uint32_t formatSize = PixelBuffer::formatSize(pixelBuffer->getFormat()); local
222 uint32_t srcStride = formatSize * cacheWidth;
234 cacheY + (glyph->mStartX + i)*formatSize + alpha_channel_offset];

Completed in 127 milliseconds