Searched refs:cropLayer (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/ |
D | LayerProtoHelper.cpp | 200 auto cropLayer = touchableRegionBounds.promote(); in writeToProto() local 201 if (cropLayer != nullptr) { in writeToProto() 202 proto->set_crop_layer_id(cropLayer->sequence); in writeToProto() 203 LayerProtoHelper::writeToProto(cropLayer->getScreenBounds( in writeToProto()
|
D | Layer.cpp | 2415 auto cropLayer = mDrawingState.touchableRegionCrop.promote(); in fillInputInfo() local 2417 const Rect bounds(cropLayer ? cropLayer->mScreenBounds : mScreenBounds); in fillInputInfo() 2419 } else if (cropLayer != nullptr) { in fillInputInfo() 2421 displayTransform.transform(Rect{cropLayer->mScreenBounds})); in fillInputInfo() 2549 auto cropLayer = mDrawingState.touchableRegionCrop.promote(); in updateClonedInputInfo() local 2550 if (cropLayer != nullptr) { in updateClonedInputInfo() 2551 if (clonedLayersMap.count(cropLayer) == 0) { in updateClonedInputInfo() 2556 const sp<Layer>& clonedCropLayer = clonedLayersMap.at(cropLayer); in updateClonedInputInfo()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerUpdate_test.cpp | 630 sp<SurfaceControl> cropLayer = createSurface(mClient, "CropLayer", 0, 0, PIXEL_FORMAT_RGBA_8888, in TEST_F() local 632 ASSERT_TRUE(cropLayer->isValid()); in TEST_F() 635 ISurfaceComposerClient::eFXSurfaceEffect, cropLayer.get()); in TEST_F() 638 t.setCrop(cropLayer, Rect(5, 5, 10, 10)); in TEST_F() 640 t.show(cropLayer); in TEST_F()
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 1112 std::unique_ptr<InputSurface> cropLayer = in TEST_F() local 1114 cropLayer->showAt(50, 50, Rect(0, 0, 20, 20)); in TEST_F() 1120 cropLayer->mSurfaceControl->getHandle(); in TEST_F()
|