Home
last modified time | relevance | path

Searched refs:setWindowCrop (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowAnimationSpecTest.java67 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipNone()
77 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipAfter()
88 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipAfterOffsetPosition()
DRemoteAnimationControllerTest.java192 verify(mMockTransaction).setWindowCrop(mMockLeash, 100, 50); in testRun()
389 verify(mMockTransaction).setWindowCrop( in testChangeToSmallerSize()
392 verify(mMockTransaction).setWindowCrop(mMockThumbnailLeash, app.startBounds.width(), in testChangeToSmallerSize()
443 verify(mMockTransaction).setWindowCrop( in testChangeTolargerSize()
446 verify(mMockTransaction).setWindowCrop(mMockThumbnailLeash, app.startBounds.width(), in testChangeTolargerSize()
498 verify(mMockTransaction).setWindowCrop( in testChangeToDifferentPosition()
501 verify(mMockTransaction).setWindowCrop(mMockThumbnailLeash, app.startBounds.width(), in testChangeToDifferentPosition()
619 verify(mMockTransaction).setWindowCrop(mMockLeash, 100, 50); in testNonAppIncluded_keygaurdGoingAway()
DDimmerTests.java175 verify(mTransaction).setWindowCrop(mDimmer.getDimLayer(), width, height); in testUpdateDimsAppliesCrop()
284 verify(mTransaction).setWindowCrop(dimLayer, bounds.width(), bounds.height()); in testDimUpdateWhileDimming()
290 verify(mTransaction).setWindowCrop(dimLayer, bounds.width(), bounds.height()); in testDimUpdateWhileDimming()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DToggleResizeDesktopTaskTransitionHandler.kt86 .setWindowCrop(leash, startBounds.width(), startBounds.height()) in <lambda>()
101 .setWindowCrop(leash, endBounds.width(), endBounds.height()) in <lambda>()
111 .setWindowCrop(leash, rect.width(), rect.height()) in <lambda>()
DEnterDesktopTaskTransitionHandler.java158 .setWindowCrop(leash, startBounds.width(), startBounds.height()) in animateMoveToDesktop()
168 .setWindowCrop(leash, animationValue.width(), animationValue.height()) in animateMoveToDesktop()
DDragToDesktopTransitionHandler.kt358 setWindowCrop(change.leash, bounds.width(), bounds.height()) in <lambda>()
371 setWindowCrop(change.leash, bounds.width(), bounds.height()) in <lambda>()
405 setWindowCrop(change.leash, bounds.width(), bounds.height()) in <lambda>()
556 setWindowCrop(draggedTaskLeash, animBounds.width(), animBounds.height()) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DVeiledResizeTaskPositioner.java184 startTransaction.setWindowCrop(sc, endBounds.width(), endBounds.height()) in startAnimation()
186 finishTransaction.setWindowCrop(sc, endBounds.width(), endBounds.height()) in startAnimation()
DFluidResizeTaskPositioner.java183 startTransaction.setWindowCrop(sc, endBounds.width(), endBounds.height()) in startAnimation()
185 finishTransaction.setWindowCrop(sc, endBounds.width(), endBounds.height()) in startAnimation()
DWindowDecoration.java307 startT.setWindowCrop(mDecorationContainerSurface, outResult.mWidth, outResult.mHeight) in updateDecorationContainerSurface()
323 startT.setWindowCrop(mCaptionContainerSurface, outResult.mCaptionWidth, in updateCaptionContainerSurface()
388 startT.setWindowCrop(mTaskSurface, outResult.mWidth, outResult.mHeight); in updateTaskSurface()
389 finishT.setWindowCrop(mTaskSurface, outResult.mWidth, outResult.mHeight) in updateTaskSurface()
630 .setWindowCrop(windowSurfaceControl, width, height) in addWindow()
DResizeVeil.kt290 t.setWindowCrop(veil, newBounds.width(), newBounds.height()) in relayout()
293 .setWindowCrop(parentSurface, newBounds.width(), newBounds.height()) in relayout()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java133 t.setWindowCrop(leash, clipRect); in apply()
142 t.setWindowCrop(leash, mTmpRect); in apply()
DBlackFrame.java55 transaction.setWindowCrop(surface, w, h); in BlackSurface()
DSmoothDimmer.java78 t.setWindowCrop(mDimSurface, mDimBounds.width(), mDimBounds.height()); in adjustSurfaceLayout()
DInputConsumerImpl.java122 t.setWindowCrop(mInputSurface, mTmpClipRect); in layout()
DInsetsSourceProvider.java465 t.setWindowCrop(mWindowContainer.mSurfaceAnimator.mLeash, in setCropToProvidingInsetsBounds()
482 t.setWindowCrop(mWindowContainer.mSurfaceAnimator.mLeash, null); in removeCropToProvidingInsetsBounds()
791 t.setWindowCrop(mCapturedLeash, getProvidingInsetsBoundsCropRect()); in startAnimation()
/frameworks/base/core/java/android/window/
DPictureInPictureSurfaceTransaction.java186 tx.setWindowCrop(surfaceControl, surfaceTransaction.mWindowCrop); in apply()
245 public Builder setWindowCrop(@NonNull Rect windowCrop) { in setWindowCrop() method in PictureInPictureSurfaceTransaction.Builder
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedSurfaceTransactionHelper.java67 tx.setWindowCrop(leash, destinationBounds.width(), destinationBounds.height()); in crop()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/util/
DStubTransaction.java140 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, Rect crop) { in setWindowCrop() method in StubTransaction
145 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, int width, int height) { in setWindowCrop() method in StubTransaction
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DStubTransaction.java138 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, Rect crop) { in setWindowCrop() method in StubTransaction
143 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, int width, int height) { in setWindowCrop() method in StubTransaction
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DWindowDecorationTests.java242 verify(mMockSurfaceControlStartT).setWindowCrop(decorContainerSurface, 300, 100); in testLayoutResultCalculation_visibleFocusedTask()
246 verify(mMockSurfaceControlStartT).setWindowCrop(captionContainerSurface, 300, 64); in testLayoutResultCalculation_visibleFocusedTask()
423 verify(mMockSurfaceControlAddWindowT).setWindowCrop(additionalWindowSurface, width, height); in testAddViewHostViewContainer()
465 verify(mMockSurfaceControlStartT).setWindowCrop(captionContainerSurface, 300, 64); in testLayoutResultCalculation_fullWidthCaption()
795 verify(mMockSurfaceControlStartT, never()).setWindowCrop( in testTaskPositionAndCropNotSetWhenFalse()
799 verify(mMockSurfaceControlFinishT, never()).setWindowCrop( in testTaskPositionAndCropNotSetWhenFalse()
824 verify(mMockSurfaceControlStartT).setWindowCrop( in testTaskPositionAndCropSetWhenSetTrue()
828 verify(mMockSurfaceControlFinishT).setWindowCrop( in testTaskPositionAndCropSetWhenSetTrue()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/
DFullscreenUnfoldTaskAnimator.java171 transaction.setWindowCrop(context.mLeash, context.mCurrentCropRect) in applyAnimationProgress()
206 .setWindowCrop(context.mLeash, null) in resetSurface()
DSplitTaskUnfoldAnimator.java265 transaction.setWindowCrop(context.mLeash, context.mCurrentCropRect) in applyAnimationProgress()
290 .setWindowCrop(context.mLeash, null) in resetSurface()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTransition.java264 startTransaction.setWindowCrop(pipLeash, pipChange.getEndAbsBounds().width(), in startResizeAnimation()
313 startTransaction.setWindowCrop(pipLeash, animationSrcRectHint); in handleSwipePipToHomeTransition()
395 .setWindowCrop(pipLeash, destinationBounds.width(), destinationBounds.height()) in startAlphaTypeEnterAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationAdapter.java233 t.setWindowCrop(mLeash, mWholeAnimationBounds.width(), mWholeAnimationBounds.height()); in onAnimationUpdateInner()
/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java111 t.setWindowCrop(params.surface, params.windowCrop); in applyParams()

123