Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowAnimationSpecTest.java65 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipNone()
75 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipAfter()
86 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipAfterOffsetPosition()
H A DTaskFragmentTest.java87 verify(mTransaction).setWindowCrop(mLeash, 1000, 1000); in testOnConfigurationChanged_updateSurface()
105 verify(mTransaction).setWindowCrop(mLeash, 0, 0); in testStartChangeTransition_resetSurface()
112 verify(mTransaction).setWindowCrop(mLeash, 500, 500); in testStartChangeTransition_resetSurface()
H A DDimmerTests.java166 verify(mTransaction).setWindowCrop(getDimLayer(), width, height); in testUpdateDimsAppliesCrop()
256 verify(mTransaction).setWindowCrop(dimLayer, bounds.width(), bounds.height()); in testDimUpdateWhileDimming()
262 verify(mTransaction).setWindowCrop(dimLayer, bounds.width(), bounds.height()); in testDimUpdateWhileDimming()
H A DRemoteAnimationControllerTest.java150 verify(mMockTransaction).setWindowCrop(mMockLeash, 100, 50); in testRun()
343 verify(mMockTransaction).setWindowCrop( in testChangeToSmallerSize()
346 verify(mMockTransaction).setWindowCrop(mMockThumbnailLeash, app.startBounds.width(), in testChangeToSmallerSize()
397 verify(mMockTransaction).setWindowCrop( in testChangeTolargerSize()
400 verify(mMockTransaction).setWindowCrop(mMockThumbnailLeash, app.startBounds.width(), in testChangeTolargerSize()
452 verify(mMockTransaction).setWindowCrop( in testChangeToDifferentPosition()
455 verify(mMockTransaction).setWindowCrop(mMockThumbnailLeash, app.startBounds.width(), in testChangeToDifferentPosition()
571 verify(mMockTransaction).setWindowCrop(mMockLeash, 100, 50); in testNonAppIncluded_keygaurdGoingAway()
H A DStubTransaction.java126 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, Rect crop) { in setWindowCrop() method in StubTransaction
131 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, int width, int height) { in setWindowCrop() method in StubTransaction
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
H A DPipSurfaceTransactionHelper.java93 .setWindowCrop(leash, mTmpDestinationRect) in scaleAndCrop()
125 .setWindowCrop(leash, mTmpDestinationRect) in scaleAndRotate()
146 .setWindowCrop(windowCrop) in newPipSurfaceTransaction()
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DTransactionCompat.java84 public TransactionCompat setWindowCrop(SurfaceControlCompat surfaceControl, Rect crop) { in setWindowCrop() method in TransactionCompat
85 mTransaction.setWindowCrop(surfaceControl.mSurfaceControl, crop); in setWindowCrop()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipSurfaceTransactionHelper.java66 tx.setWindowCrop(leash, destinationBounds.width(), destinationBounds.height()) in crop()
117 .setWindowCrop(leash, mTmpDestinationRect) in scaleAndCrop()
163 tx.setMatrix(leash, mTmpTransform, mTmpFloat9).setWindowCrop(leash, crop); in rotateAndScaleWithCrop()
H A DPipTransition.java145 finishTransaction.setWindowCrop(info.getChanges().get(0).getLeash(), in startAnimation()
301 .setWindowCrop(leash, destinationBounds.width(), destinationBounds.height()); in startEnterAnimation()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/
H A DFreeformTaskListener.java74 .setWindowCrop(leash, taskBounds.width(), taskBounds.height()) in onTaskAppeared()
107 .setWindowCrop(leash, taskBounds.width(), taskBounds.height()) in onTaskInfoChanged()
/aosp12/frameworks/base/core/java/android/window/
H A DPictureInPictureSurfaceTransaction.java154 tx.setWindowCrop(surfaceControl, surfaceTransaction.mWindowCrop); in apply()
204 public Builder setWindowCrop(@NonNull Rect windowCrop) { in setWindowCrop() method in PictureInPictureSurfaceTransaction.Builder
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowAnimationSpec.java99 t.setWindowCrop(leash, tmp.transformation.getClipRect()); in apply()
107 t.setWindowCrop(leash, mTmpRect); in apply()
H A DInsetsSourceProvider.java339 t.setWindowCrop(mWin.mSurfaceAnimator.mLeash, getProvidingInsetsBoundsCropRect()); in setCropToProvidingInsetsBounds()
355 t.setWindowCrop(mWin.mSurfaceAnimator.mLeash, null); in removeCropToProvidingInsetsBounds()
620 t.setWindowCrop(mCapturedLeash, getProvidingInsetsBoundsCropRect()); in startAnimation()
H A DLetterboxUiController.java330 .setWindowCrop(windowSurface, null) in updateRoundedCorners()
361 .setWindowCrop(windowSurface, cropBounds) in updateRoundedCorners()
H A DBlackFrame.java55 transaction.setWindowCrop(surface, w, h); in BlackSurface()
H A DInputConsumerImpl.java125 t.setWindowCrop(mInputSurface, mTmpClipRect); in layout()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
H A DSplitScreenTransitions.java147 t.setWindowCrop(leash, change.getStartAbsBounds().width(), in playInternalAnimation()
265 transaction.setWindowCrop(leash, in startExampleResizeAnimation()
275 transaction.setWindowCrop(leash, 0, 0); in startExampleResizeAnimation()
H A DStageTaskUnfoldController.java140 transaction.setWindowCrop(context.mLeash, context.mCurrentCropRect) in onStateChangeProgress()
193 .setWindowCrop(context.mLeash, null) in resetSurface()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/stagesplit/
H A DSplitScreenTransitions.java147 t.setWindowCrop(leash, change.getStartAbsBounds().width(), in playInternalAnimation()
265 transaction.setWindowCrop(leash, in startExampleResizeAnimation()
275 transaction.setWindowCrop(leash, 0, 0); in startExampleResizeAnimation()
H A DStageTaskUnfoldController.java135 transaction.setWindowCrop(context.mLeash, context.mCurrentCropRect) in onStateChangeProgress()
188 .setWindowCrop(context.mLeash, null) in resetSurface()
/aosp12/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DTaskFragmentAnimationAdapter.java96 t.setWindowCrop(mLeash, mRect); in onAnimationUpdateInner()
202 t.setWindowCrop(mLeash, mRect); in onAnimationUpdateInner()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
H A DLegacySplitScreenTransitions.java171 transaction.setWindowCrop(leash, in startExampleResizeAnimation()
181 transaction.setWindowCrop(leash, 0, 0); in startExampleResizeAnimation()
275 startTransaction.setWindowCrop(leash, change.getStartAbsBounds().width(), in startAnimation()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/fullscreen/
H A DFullscreenUnfoldController.java114 mTransaction.setWindowCrop(context.mLeash, context.mCurrentCropRect) in onStateChangeProgress()
183 .setWindowCrop(context.mLeash, null) in resetSurface()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedSurfaceTransactionHelper.java67 tx.setWindowCrop(leash, destinationBounds.width(), destinationBounds.height()); in crop()
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/displayarea/
H A DCarLauncherDisplayAreaTransactionHelper.java73 tx.setWindowCrop(leash, destinationBounds.width(), destinationBounds.height()); in crop()

123