• Home
  • Raw
  • Download

Lines Matching refs:rect

172 status_t GraphicBuffer::lock(uint32_t usage, const Rect& rect, void** vaddr)  in lock()  argument
174 if (rect.left < 0 || rect.right > this->width || in lock()
175 rect.top < 0 || rect.bottom > this->height) { in lock()
177 rect.left, rect.top, rect.right, rect.bottom, in lock()
181 status_t res = getBufferMapper().lock(handle, usage, rect, vaddr); in lock()
192 status_t GraphicBuffer::lockYCbCr(uint32_t usage, const Rect& rect, in lockYCbCr() argument
195 if (rect.left < 0 || rect.right > this->width || in lockYCbCr()
196 rect.top < 0 || rect.bottom > this->height) { in lockYCbCr()
198 rect.left, rect.top, rect.right, rect.bottom, in lockYCbCr()
202 status_t res = getBufferMapper().lockYCbCr(handle, usage, rect, ycbcr); in lockYCbCr()
219 status_t GraphicBuffer::lockAsync(uint32_t usage, const Rect& rect, void** vaddr, int fenceFd) in lockAsync() argument
221 if (rect.left < 0 || rect.right > this->width || in lockAsync()
222 rect.top < 0 || rect.bottom > this->height) { in lockAsync()
224 rect.left, rect.top, rect.right, rect.bottom, in lockAsync()
228 status_t res = getBufferMapper().lockAsync(handle, usage, rect, vaddr, fenceFd); in lockAsync()
239 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr, int … in lockAsyncYCbCr() argument
241 if (rect.left < 0 || rect.right > this->width || in lockAsyncYCbCr()
242 rect.top < 0 || rect.bottom > this->height) { in lockAsyncYCbCr()
244 rect.left, rect.top, rect.right, rect.bottom, in lockAsyncYCbCr()
248 status_t res = getBufferMapper().lockAsyncYCbCr(handle, usage, rect, ycbcr, fenceFd); in lockAsyncYCbCr()