Home
last modified time | relevance | path

Searched refs:layerCrop (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerSnapshotTest.cpp153 Rect layerCrop(0, 0, 10, 20); in TEST_F() local
154 setCrop(11, layerCrop); in TEST_F()
157 EXPECT_EQ(getSnapshot(11)->geomCrop, layerCrop); in TEST_F()
158 EXPECT_EQ(getSnapshot(111)->geomLayerBounds, layerCrop.toFloatRect()); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DScreenCapture_test.cpp492 Rect layerCrop(0, 0, 10, 10); in TEST_F() local
493 SurfaceComposerClient::Transaction().setCrop(child, layerCrop).show(child).apply(true); in TEST_F()
/frameworks/native/services/surfaceflinger/
DLayer.cpp514 const Rect layerCrop = getCrop(s); in computeBounds() local
515 if (!layerCrop.isEmpty()) { in computeBounds()
516 bounds = mSourceBounds.intersect(layerCrop.toFloatRect()); in computeBounds()