Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/
DLayerUpdate_test.cpp1466 Rect layerCrop(0, 0, 10, 10); in TEST_F() local
1467 SurfaceComposerClient::Transaction().setCrop_legacy(child, layerCrop).show(child).apply(true); in TEST_F()
/frameworks/native/services/surfaceflinger/
DLayer.cpp385 const Rect layerCrop = getCrop(s); in computeBounds() local
386 if (!layerCrop.isEmpty()) { in computeBounds()
387 bounds = mSourceBounds.intersect(layerCrop.toFloatRect()); in computeBounds()