/frameworks/native/services/surfaceflinger/tests/ |
D | EffectLayer_test.cpp | 60 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()
|
D | LayerRenderTypeTransaction_test.cpp | 448 .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 …]
|
D | TextureFiltering_test.cpp | 129 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()
|
D | LayerTypeTransaction_test.cpp | 47 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()
|
D | LayerUpdate_test.cpp | 167 .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()
|
D | MirrorLayer_test.cpp | 45 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()
|
D | LayerTypeAndRenderTypeTransaction_test.cpp | 143 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()
|
D | LayerTrustedPresentationListener_test.cpp | 171 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()
|
D | WindowInfosListener_test.cpp | 94 .setCrop(surfaceControl, crop) in TEST_F()
|
D | MultiDisplayLayerBounds_test.cpp | 81 t.setCrop(mColorLayer, Rect(0, 0, 30, 40)); in createColorLayer()
|
D | ScreenCapture_test.cpp | 493 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/ |
D | SamplingDemo.cpp | 49 .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()
|
D | EndToEndNativeInputTest.cpp | 306 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/ |
D | PipSurfaceTransactionHelper.java | 114 .setCrop(leash, mTmpDestinationRect) in scaleAndCrop() 147 .setCrop(leash, mTmpDestinationRect) in scaleAndRotate()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerSnapshotTest.cpp | 154 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/ |
D | GestureMonitorSpyWindow.java | 72 t.setCrop(mInputSurface, null /* crop to parent surface */); in GestureMonitorSpyWindow()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipSurfaceTransactionHelper.java | 162 .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/ |
D | PipSurfaceTransactionHelper.java | 159 .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/ |
D | HandwritingEventReceiverSurface.java | 70 t.setCrop(mInputSurface, null /* crop to parent surface */); in HandwritingEventReceiverSurface()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
D | CrossActivityBackAnimation.kt | 361 .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/ |
D | SurfaceInputTestActivity.java | 127 .setCrop(mLocalSurfaceControl, new Rect(0, 0, 100, 100)) in addLocalChildSurfaceControl()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioningController.java | 103 .setCrop(mInputSurface, mTmpClipRect) in showInputSurface()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | TaskFragmentAnimationAdapter.java | 161 t.setCrop(mLeash, cropRect); in onAnimationUpdateInner()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/ |
D | ActivityEmbeddingAnimationAdapter.java | 176 t.setCrop(mLeash, cropRect); in onAnimationUpdateInner()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/util/ |
D | StubTransaction.java | 151 public SurfaceControl.Transaction setCrop(@NonNull SurfaceControl sc, @Nullable Rect crop) { in setCrop() method in StubTransaction
|