Home
last modified time | relevance | path

Searched refs:bufferCrop (Results 1 – 10 of 10) sorted by relevance

/aosp12/frameworks/native/services/surfaceflinger/
H A DBufferStateLayer.cpp284 bool BufferStateLayer::setBufferCrop(const Rect& bufferCrop) { in setBufferCrop() argument
285 if (mDrawingState.bufferCrop == bufferCrop) return false; in setBufferCrop()
288 mDrawingState.bufferCrop = bufferCrop; in setBufferCrop()
911 if (s.buffer && !s.bufferCrop.isEmpty()) { in computeBufferCrop()
912 Rect bufferCrop; in computeBufferCrop() local
913 s.buffer->getBuffer()->getBounds().intersect(s.bufferCrop, &bufferCrop); in computeBufferCrop()
914 return bufferCrop; in computeBufferCrop()
918 return s.bufferCrop; in computeBufferCrop()
H A DBufferStateLayer.h85 bool setBufferCrop(const Rect& bufferCrop) override;
H A DLayer.h282 Rect bufferCrop; member
H A DSurfaceFlinger.cpp4194 if (layer->setBufferCrop(s.bufferCrop)) { in setClientStateLocked()
/aosp12/frameworks/native/libs/gui/
H A DLayerState.cpp71 bufferCrop(Rect::INVALID_RECT), in layer_state_t()
174 SAFE_PARCEL(output.write, bufferCrop); in write()
305 SAFE_PARCEL(input.read, bufferCrop); in read()
567 bufferCrop = other.bufferCrop; in merge()
H A DSurfaceComposerClient.cpp1717 const sp<SurfaceControl>& sc, const Rect& bufferCrop) { in setBufferCrop() argument
1725 s->bufferCrop = bufferCrop; in setBufferCrop()
/aosp12/frameworks/native/libs/gui/include/gui/
H A DLayerState.h234 Rect bufferCrop; member
H A DSurfaceComposerClient.h565 Transaction& setBufferCrop(const sp<SurfaceControl>& sc, const Rect& bufferCrop);
/aosp12/frameworks/native/libs/gui/tests/
H A DBLASTBufferQueue_test.cpp582 Rect bufferCrop(200, 200, 700, 700); in TEST_F() local
613 bufferCrop /* Rect::INVALID_RECT */, in TEST_F()
649 Rect bufferCrop(100, 100, 350, 350); in TEST_F() local
680 bufferCrop /* Rect::INVALID_RECT */, in TEST_F()
/aosp12/frameworks/native/services/surfaceflinger/tests/
H A DLayerTypeAndRenderTypeTransaction_test.cpp374 const Rect bufferCrop(0, 0, 150, 750); in TEST_P() local
391 .setBufferCrop(layer, bufferCrop) in TEST_P()