Searched refs:cropLayer (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/ |
D | LayerProtoHelper.cpp | 153 auto cropLayer = touchableRegionBounds.promote(); in writeToProto() local 154 if (cropLayer != nullptr) { in writeToProto() 155 proto->set_crop_layer_id(cropLayer->sequence); in writeToProto() 156 LayerProtoHelper::writeToProto(cropLayer->getScreenBounds( in writeToProto()
|
D | Layer.cpp | 2427 auto cropLayer = mDrawingState.touchableRegionCrop.promote(); in fillInputInfo() local 2429 if (cropLayer == nullptr) { in fillInputInfo() 2432 info.touchableRegion = Region(Rect{cropLayer->mScreenBounds}); in fillInputInfo() 2434 } else if (cropLayer != nullptr) { in fillInputInfo() 2435 info.touchableRegion = info.touchableRegion.intersect(Rect{cropLayer->mScreenBounds}); in fillInputInfo() 2557 auto cropLayer = mDrawingState.touchableRegionCrop.promote(); in updateClonedInputInfo() local 2558 if (cropLayer != nullptr) { in updateClonedInputInfo() 2559 if (clonedLayersMap.count(cropLayer) == 0) { in updateClonedInputInfo() 2564 const sp<Layer>& clonedCropLayer = clonedLayersMap.at(cropLayer); in updateClonedInputInfo()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerUpdate_test.cpp | 1138 sp<SurfaceControl> cropLayer = createSurface(mClient, "CropLayer", 0, 0, PIXEL_FORMAT_RGBA_8888, in TEST_F() local 1140 ASSERT_TRUE(cropLayer->isValid()); in TEST_F() 1143 ISurfaceComposerClient::eFXSurfaceEffect, cropLayer.get()); in TEST_F() 1146 t.setCrop_legacy(cropLayer, Rect(5, 5, 10, 10)); in TEST_F() 1148 t.show(cropLayer); in TEST_F()
|