Home
last modified time | relevance | path

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

123

/frameworks/native/services/surfaceflinger/tests/
DEffectLayer_test.cpp60 t.setCrop(effectLayer, Rect(0, 0, 400, 400)); in TEST_F()
81 t.setCrop(effectLayer, Rect(0, 0, 400, 400)); in TEST_F()
102 t.setCrop(effectLayer, Rect(0, 0, 400, 400)); in TEST_F()
132 t.setCrop(leftLayer, leftRect); in TEST_F()
135 t.setCrop(rightLayer, rightRect); in TEST_F()
153 t.setCrop(blurLayer, blurRect); in TEST_F()
DLayerRenderTypeTransaction_test.cpp448 .setCrop(colorLayer, Rect(0, 0, 32, 32)) in TEST_P()
487 .setCrop(layer, Rect(0, 0, width, height)) in setBackgroundColorHelper()
498 Transaction().setCrop(layer, Rect(0, 0, width, height)).apply(); in setBackgroundColorHelper()
506 Transaction().setCrop(layer, Rect(0, 0, width, height)).apply(); in setBackgroundColorHelper()
623 .setCrop(colorLayer, Rect(0, 0, 32, 32)) in TEST_P()
637 .setCrop(colorLayer, Rect(0, 0, 32, 32)) in TEST_P()
652 Transaction().setCrop(colorLayer, Rect(0, 0, 32, 32)).apply(); in TEST_P()
679 Transaction().setCrop(colorLayer, Rect(0, 0, 32, 32)).apply(); in TEST_P()
810 Transaction().setCrop(layer, crop).apply(); in TEST_P()
823 Transaction().setCrop(layer, crop).apply(); in TEST_P()
[all …]
DTextureFiltering_test.cpp129 Transaction().setCrop(mLayer, Rect{25, 25, 75, 75}).apply(); in TEST_F()
162 Transaction().setCrop(mLayer, Rect{10, 10, 90, 90}).apply(); in TEST_F()
184 Transaction().setCrop(mLayer, Rect{25, 25, 75, 75}).apply(); in TEST_F()
195 Transaction().setCrop(mParent, Rect{25, 25, 75, 75}).apply(); in TEST_F()
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.cpp167 .setCrop(childNoBuffer, Rect(0, 0, 10, 10)) in TEST_F()
176 SurfaceComposerClient::Transaction{}.setCrop(childNoBuffer, Rect(0, 0, 20, 20)).apply(true); in TEST_F()
291 t.setCrop(mFGSurfaceControl, Rect(0, 0, 5, 5)); in TEST_F()
640 t.setCrop(cropLayer, Rect(5, 5, 10, 10)); in TEST_F()
700 t.setCrop(colorLayer, Rect(0, 0, 64, 64)); in TEST_F()
736 t.setCrop(colorLayer, Rect(0, 0, 64, 64)); in TEST_F()
767 t.setCrop(colorLayer, Rect(0, 0, 64, 64)); in TEST_F()
DMirrorLayer_test.cpp45 t.setCrop(mChildLayer, Rect(0, 0, 400, 400)).show(mChildLayer); in SetUp()
67 .setCrop(grandchild, Rect(0, 0, 200, 200)) in TEST_F()
314 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()
DLayerTrustedPresentationListener_test.cpp171 t.setCrop(mainLayer, Rect(0, 0, 86, 86)).apply(); in TEST_F()
173 t.setCrop(mainLayer, Rect(0, 0, 87, 87)).apply(); in TEST_F()
DWindowInfosListener_test.cpp94 .setCrop(surfaceControl, crop) in TEST_F()
DMultiDisplayLayerBounds_test.cpp81 t.setCrop(mColorLayer, Rect(0, 0, 30, 40)); in createColorLayer()
DScreenCapture_test.cpp493 SurfaceComposerClient::Transaction().setCrop(child, layerCrop).show(child).apply(true); in TEST_F()
803 .setCrop(layer, bounds) in TEST_F()
848 .setCrop(layer, bounds) in TEST_F()
849 .setCrop(childLayer, childBounds) in TEST_F()
1113 SurfaceComposerClient::Transaction().setCrop(mFGSurfaceControl, Rect(0, 0, 1, 1)).apply(true); in TEST_F()
/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.cpp306 t.setCrop(mSurfaceControl, crop); in showAt()
374 t.setCrop(mParentSurfaceControl, crop); in showAt()
378 t.setCrop(mSurfaceControl, crop); in showAt()
872 t.setCrop(parentSurface->mSurfaceControl, Rect(0, 0, 50, 50)); in TEST_F()
896 t.setCrop(parentSurface->mSurfaceControl, Rect(0, 0, 50, 50)); in TEST_F()
1036 t.setCrop(parentSurface->mSurfaceControl, Rect(10, 10, 100, 100)); in TEST_F()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
DPipSurfaceTransactionHelper.java114 .setCrop(leash, mTmpDestinationRect) in scaleAndCrop()
147 .setCrop(leash, mTmpDestinationRect) in scaleAndRotate()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerSnapshotTest.cpp154 setCrop(11, layerCrop); in TEST_F()
200 setCrop(111, crop); in TEST_F()
254 setCrop(1, Rect(1, 2, 3, 4)); in TEST_F()
258 setCrop(2, Rect(1, 2, 3, 4)); in TEST_F()
373 setCrop(13, touchCrop); in TEST_F()
380 setCrop(13, modifiedTouchCrop); in TEST_F()
392 setCrop(3, touchCrop); in TEST_F()
478 setCrop(1, Rect{50, 50}); in TEST_F()
479 setCrop(3, Rect{100, 100}); in TEST_F()
480 setCrop(111, Rect{200, 200}); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DGestureMonitorSpyWindow.java72 t.setCrop(mInputSurface, null /* crop to parent surface */); in GestureMonitorSpyWindow()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipSurfaceTransactionHelper.java162 .setCrop(leash, mTmpDestinationRect) in scaleAndCrop()
208 tx.setMatrix(leash, mTmpTransform, mTmpFloat9).setCrop(leash, crop); in rotateAndScaleWithCrop()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/
DPipSurfaceTransactionHelper.java159 .setCrop(leash, mTmpDestinationRect) in scaleAndCrop()
205 tx.setMatrix(leash, mTmpTransform, mTmpFloat9).setCrop(leash, crop); in rotateAndScaleWithCrop()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DHandwritingEventReceiverSurface.java70 t.setCrop(mInputSurface, null /* crop to parent surface */); in HandwritingEventReceiverSurface()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossActivityBackAnimation.kt361 .setCrop(leash, cropRect) in <lambda>()
394 .setCrop(scrimLayer!!, scrimCrop) in <lambda>()
455 .setCrop(layer, bounds) in <lambda>()
/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/
DSurfaceInputTestActivity.java127 .setCrop(mLocalSurfaceControl, new Rect(0, 0, 100, 100)) in addLocalChildSurfaceControl()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioningController.java103 .setCrop(mInputSurface, mTmpClipRect) in showInputSurface()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentAnimationAdapter.java161 t.setCrop(mLeash, cropRect); in onAnimationUpdateInner()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationAdapter.java176 t.setCrop(mLeash, cropRect); in onAnimationUpdateInner()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/util/
DStubTransaction.java151 public SurfaceControl.Transaction setCrop(@NonNull SurfaceControl sc, @Nullable Rect crop) { in setCrop() method in StubTransaction

123