Searched refs:cropLayer (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/ |
D | LayerProtoHelper.cpp | 149 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()
|
D | Layer.cpp | 2086 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/ |
D | Transaction_test.cpp | 5275 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()
|