Lines Matching refs:inWidth
83 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight, in GraphicBuffer() argument
85 : GraphicBuffer(inWidth, inHeight, inFormat, 1, static_cast<uint64_t>(inUsage), requestorName) in GraphicBuffer()
89 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, in GraphicBuffer() argument
92 mInitCheck = initWithSize(inWidth, inHeight, inFormat, inLayerCount, inUsage, in GraphicBuffer()
97 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight, in GraphicBuffer() argument
101 inWidth, inHeight, inFormat, inLayerCount, static_cast<uint64_t>(inUsage), in GraphicBuffer()
107 uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, in GraphicBuffer() argument
110 mInitCheck = initWithHandle(inHandle, method, inWidth, inHeight, inFormat, inLayerCount, in GraphicBuffer()
167 status_t GraphicBuffer::reallocate(uint32_t inWidth, uint32_t inHeight, in reallocate() argument
174 static_cast<int>(inWidth) == width && in reallocate()
186 return initWithSize(inWidth, inHeight, inFormat, inLayerCount, inUsage, "[Reallocation]"); in reallocate()
189 bool GraphicBuffer::needsReallocation(uint32_t inWidth, uint32_t inHeight, in needsReallocation() argument
192 if (static_cast<int>(inWidth) != width) return true; in needsReallocation()
201 status_t GraphicBuffer::initWithSize(uint32_t inWidth, uint32_t inHeight, in initWithSize() argument
207 status_t err = allocator.allocate(inWidth, inHeight, inFormat, inLayerCount, in initWithSize()
213 width = static_cast<int>(inWidth); in initWithSize()
225 uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, in initWithHandle() argument
227 ANativeWindowBuffer::width = static_cast<int>(inWidth); in initWithHandle()
240 status_t err = mBufferMapper.importBuffer(inHandle, inWidth, inHeight, inLayerCount, in initWithHandle()
370 status_t GraphicBuffer::isSupported(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, in isSupported() argument
373 return mBufferMapper.isSupported(inWidth, inHeight, inFormat, inLayerCount, inUsage, in isSupported()