Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp149 auto cropLayer = touchableRegionBounds.promote(); in writeToProto() local
150 if (cropLayer != nullptr) { in writeToProto()
151 proto->set_crop_layer_id(cropLayer->sequence); in writeToProto()
152 LayerProtoHelper::writeToProto(cropLayer->getScreenBounds( in writeToProto()
DLayer.cpp2086 auto cropLayer = mDrawingState.touchableRegionCrop.promote(); in fillInputInfo() local
2088 if (cropLayer == nullptr) { in fillInputInfo()
2091 info.touchableRegion = Region(Rect{cropLayer->mScreenBounds}); in fillInputInfo()
2093 } else if (cropLayer != nullptr) { in fillInputInfo()
2094 info.touchableRegion = info.touchableRegion.intersect(Rect{cropLayer->mScreenBounds}); in fillInputInfo()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp5275 sp<SurfaceControl> cropLayer = createSurface(mClient, "CropLayer", 0, 0, PIXEL_FORMAT_RGBA_8888, in TEST_F() local
5277 ASSERT_TRUE(cropLayer->isValid()); in TEST_F()
5280 ISurfaceComposerClient::eFXSurfaceColor, cropLayer.get()); in TEST_F()
5283 t.setCrop_legacy(cropLayer, Rect(5, 5, 10, 10)); in TEST_F()
5285 t.show(cropLayer); in TEST_F()