Home
last modified time | relevance | path

Searched refs:formatSize (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/
DPixelBuffer.h152 return mWidth * mHeight * formatSize(mFormat); in getSize()
159 return (y * mWidth + x) * formatSize(mFormat); in getOffset()
169 static uint32_t formatSize(GLenum format) { in formatSize() function
DRenderBuffer.h120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f); in getSize()
127 static uint32_t formatSize(GLenum format) { in formatSize() function
DFontRenderer.cpp322 const size_t formatSize = PixelBuffer::formatSize(GL_RGBA); in cacheBitmap() local
323 const size_t borderSize = formatSize * TEXTURE_BORDER_SIZE; in cacheBitmap()
324 size_t rowSize = formatSize * glyph.fWidth; in cacheBitmap()
326 size_t dstStride = formatSize * cacheWidth; in cacheBitmap()
DPixelBuffer.cpp52 , mBuffer(new uint8_t[width * height * formatSize(format)]) { in CpuPixelBuffer()
/frameworks/base/libs/hwui/font/
DFont.cpp219 uint32_t formatSize = PixelBuffer::formatSize(pixelBuffer->getFormat()); in drawCachedGlyphBitmap() local
222 uint32_t srcStride = formatSize * cacheWidth; in drawCachedGlyphBitmap()
234 cacheY + (glyph->mStartX + i)*formatSize + alpha_channel_offset]; in drawCachedGlyphBitmap()
DCacheTexture.h107 return (y * getWidth() + x) * PixelBuffer::formatSize(mFormat); in getOffset()
/frameworks/base/tools/aapt2/
DUtil.h124 inline ::std::function<::std::ostream&(::std::ostream&)> formatSize(size_t size) { in formatSize() function
DMain.cpp679 Logger::note() << "Final resource table size=" << util::formatSize(buffer.size()) in writeResourceTable()