Searched refs:layerCrop (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerSnapshotTest.cpp | 153 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/ |
D | ScreenCapture_test.cpp | 492 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/ |
D | Layer.cpp | 514 const Rect layerCrop = getCrop(s); in computeBounds() local 515 if (!layerCrop.isEmpty()) { in computeBounds() 516 bounds = mSourceBounds.intersect(layerCrop.toFloatRect()); in computeBounds()
|