Home
last modified time | relevance | path

Searched refs:setCrop (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/native/services/surfaceflinger/tests/
DEffectLayer_test.cpp58 t.setCrop(effectLayer, Rect(0, 0, 400, 400)); in TEST_F()
79 t.setCrop(effectLayer, Rect(0, 0, 400, 400)); in TEST_F()
100 t.setCrop(effectLayer, Rect(0, 0, 400, 400)); in TEST_F()
130 t.setCrop(leftLayer, leftRect); in TEST_F()
133 t.setCrop(rightLayer, rightRect); in TEST_F()
151 t.setCrop(blurLayer, blurRect); in TEST_F()
DLayerRenderTypeTransaction_test.cpp464 .setCrop(colorLayer, Rect(0, 0, 32, 32)) in TEST_P()
503 .setCrop(layer, Rect(0, 0, width, height)) in setBackgroundColorHelper()
514 Transaction().setCrop(layer, Rect(0, 0, width, height)).apply(); in setBackgroundColorHelper()
522 Transaction().setCrop(layer, Rect(0, 0, width, height)).apply(); in setBackgroundColorHelper()
638 .setCrop(colorLayer, Rect(0, 0, 32, 32)) in TEST_P()
652 .setCrop(colorLayer, Rect(0, 0, 32, 32)) in TEST_P()
667 Transaction().setCrop(colorLayer, Rect(0, 0, 32, 32)).apply(); in TEST_P()
694 Transaction().setCrop(colorLayer, Rect(0, 0, 32, 32)).apply(); in TEST_P()
825 Transaction().setCrop(layer, crop).apply(); in TEST_P()
838 Transaction().setCrop(layer, crop).apply(); in TEST_P()
[all …]
DLayerTypeTransaction_test.cpp47 Transaction().setCrop(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)).apply(); in TEST_P()
88 .setCrop(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)) in TEST_P()
89 .setCrop(childLayer, Rect(0, 0, 20, 30)) in TEST_P()
DLayerUpdate_test.cpp165 .setCrop(childNoBuffer, Rect(0, 0, 10, 10)) in TEST_F()
174 SurfaceComposerClient::Transaction{}.setCrop(childNoBuffer, Rect(0, 0, 20, 20)).apply(true); in TEST_F()
289 t.setCrop(mFGSurfaceControl, Rect(0, 0, 5, 5)); in TEST_F()
638 t.setCrop(cropLayer, Rect(5, 5, 10, 10)); in TEST_F()
698 t.setCrop(colorLayer, Rect(0, 0, 64, 64)); in TEST_F()
734 t.setCrop(colorLayer, Rect(0, 0, 64, 64)); in TEST_F()
765 t.setCrop(colorLayer, Rect(0, 0, 64, 64)); in TEST_F()
DMirrorLayer_test.cpp41 t.setCrop(mChildLayer, Rect(0, 0, 400, 400)).show(mChildLayer); in SetUp()
63 .setCrop(grandchild, Rect(0, 0, 200, 200)) in TEST_F()
290 t.setCrop(grandchild, Rect(0, 0, 50, 50)).show(grandchild); in TEST_F()
DLayerTypeAndRenderTypeTransaction_test.cpp143 Transaction().setCrop(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)).apply(); in TEST_P()
328 .setCrop(parent, Rect(0, 0, layerWidth, layerHeight)) in TEST_P()
388 .setCrop(parent, Rect(0, 0, layerWidth, layerHeight)) in TEST_P()
460 .setCrop(parent, Rect(0, 0, layerWidth, layerHeight)) in TEST_P()
558 .setCrop(parent, parentCrop) in TEST_P()
633 .setCrop(blurLayer, blurRect) in TEST_P()
794 .setCrop(behindLayer, crop) in TEST_P()
DMultiDisplayLayerBounds_test.cpp74 t.setCrop(mColorLayer, Rect(0, 0, 30, 40)); in createColorLayer()
DScreenCapture_test.cpp338 SurfaceComposerClient::Transaction().setCrop(child, layerCrop).show(child).apply(true); in TEST_F()
654 .setCrop(layer, bounds) in TEST_F()
702 .setCrop(layer, bounds) in TEST_F()
703 .setCrop(childLayer, childBounds) in TEST_F()
951 SurfaceComposerClient::Transaction().setCrop(mFGSurfaceControl, Rect(0, 0, 1, 1)).apply(true); in TEST_F()
DWindowInfosListener_test.cpp120 .setCrop(surfaceControl, crop) in TEST_F()
DLayerTransactionTest.h304 t.setCrop(mBlackBgSurface, Rect(0, 0, mDisplayWidth, mDisplayHeight)); in SetUpDisplay()
/frameworks/native/libs/gui/tests/
DSamplingDemo.cpp49 .setCrop(mButton, {0, 0, width - 2 * BUTTON_PADDING, height - 2 * BUTTON_PADDING}) in Button()
61 .setCrop(mButtonBlend, in Button()
78 .setCrop(mSamplingArea, {0, 0, 100, 32}) in Button()
DEndToEndNativeInputTest.cpp265 t.setCrop(mSurfaceControl, crop); in showAt()
341 t.setCrop(mParentSurfaceControl, crop); in showAt()
345 t.setCrop(mSurfaceControl, crop); in showAt()
835 t.setCrop(parentSurface->mSurfaceControl, Rect(0, 0, 50, 50)); in TEST_F()
859 t.setCrop(parentSurface->mSurfaceControl, Rect(0, 0, 50, 50)); in TEST_F()
1003 t.setCrop(parentSurface->mSurfaceControl, Rect(10, 10, 100, 100)); in TEST_F()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationAdapter.java167 t.setCrop(mLeash, cropRect); in onAnimationUpdateInner()
237 t.setCrop(mLeash, mRect); in onAnimationUpdateInner()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipSurfaceTransactionHelper.java139 .setCrop(leash, mTmpDestinationRect) in scaleAndCrop()
185 tx.setMatrix(leash, mTmpTransform, mTmpFloat9).setCrop(leash, crop); in rotateAndScaleWithCrop()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
DPipSurfaceTransactionHelper.java109 .setCrop(leash, mTmpDestinationRect) in scaleAndCrop()
142 .setCrop(leash, mTmpDestinationRect) in scaleAndRotate()
/frameworks/base/services/core/java/com/android/server/input/
DGestureMonitorSpyWindow.java72 t.setCrop(mInputSurface, null /* crop to parent surface */); in GestureMonitorSpyWindow()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DHandwritingEventReceiverSurface.java74 t.setCrop(mInputSurface, null /* crop to parent surface */); in HandwritingEventReceiverSurface()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioningController.java96 .setCrop(mInputSurface, mTmpClipRect) in showInputSurface()
/frameworks/native/services/surfaceflinger/
DBufferStateLayer.h58 bool setCrop(const Rect& crop) override;
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.h93 void setCrop(SurfaceComposerClient::Transaction& t,
DReplayer.cpp381 setCrop(transaction, change.id(), change.crop()); in doSurfaceTransaction()
482 void Replayer::setCrop(SurfaceComposerClient::Transaction& t, in setCrop() function in Replayer
490 t.setCrop(mLayers[id], r); in setCrop()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentAnimationAdapter.java161 t.setCrop(mLeash, cropRect); in onAnimationUpdateInner()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DStubTransaction.java141 public SurfaceControl.Transaction setCrop(@NonNull SurfaceControl sc, @Nullable Rect crop) { in setCrop() method in StubTransaction
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp57 QueueBufferInputBuilder& setCrop(Rect crop) { in setCrop() function
358 .setCrop(Rect(kDefaultWidth + 1, kDefaultHeight + 1)) in TEST_F()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_layer_fuzzer.cpp133 layer->setCrop(getFuzzedRect()); in invokeBufferStateLayer()

123