Searched refs:cropLayer (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerUpdate_test.cpp | 632 sp<SurfaceControl> cropLayer = createSurface(mClient, "CropLayer", 0, 0, PIXEL_FORMAT_RGBA_8888, in TEST_F() local 634 ASSERT_TRUE(cropLayer->isValid()); in TEST_F() 637 ISurfaceComposerClient::eFXSurfaceEffect, cropLayer.get()); in TEST_F() 640 t.setCrop(cropLayer, Rect(5, 5, 10, 10)); in TEST_F() 642 t.show(cropLayer); in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerProtoHelper.cpp | 211 auto cropLayer = touchableRegionBounds.promote(); in writeToProto() local 212 if (cropLayer != nullptr) { in writeToProto() 213 proto->set_crop_layer_id(cropLayer->sequence); in writeToProto() 214 LayerProtoHelper::writeToProto(cropLayer->getScreenBounds( in writeToProto()
|
D | Layer.cpp | 2502 sp<Layer> cropLayer = mDrawingState.touchableRegionCrop.promote(); in fillInputInfo() local 2505 if (!cropLayer) { in fillInputInfo() 2509 FloatRect inputBounds = cropLayer->getInputBounds(/*fillParentBounds=*/true).first; in fillInputInfo() 2511 cropLayer->getInputBoundsInDisplaySpace(inputBounds, displayTransform); in fillInputInfo() 2514 } else if (cropLayer != nullptr) { in fillInputInfo() 2515 FloatRect inputBounds = cropLayer->getInputBounds(/*fillParentBounds=*/true).first; in fillInputInfo() 2517 cropLayer->getInputBoundsInDisplaySpace(inputBounds, displayTransform); in fillInputInfo() 2729 auto cropLayer = mDrawingState.touchableRegionCrop.promote(); in updateClonedInputInfo() local 2730 if (cropLayer != nullptr) { in updateClonedInputInfo() 2731 if (clonedLayersMap.count(cropLayer) == 0) { in updateClonedInputInfo() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 1144 std::unique_ptr<InputSurface> cropLayer = in TEST_F() local 1146 cropLayer->showAt(50, 50, Rect(0, 0, 20, 20)); in TEST_F() 1152 cropLayer->mSurfaceControl->getHandle(); in TEST_F()
|