Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
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()
DDimmerTests.java153 verify(mTransaction).setWindowCrop(getDimLayer(), width, height); in testUpdateDimsAppliesCrop()
232 verify(mTransaction).setWindowCrop(dimLayer, bounds.width(), bounds.height()); in testDimUpdateWhileDimming()
238 verify(mTransaction).setWindowCrop(dimLayer, bounds.width(), bounds.height()); in testDimUpdateWhileDimming()
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()
DStubTransaction.java130 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, Rect crop) { in setWindowCrop() method in StubTransaction
135 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, int width, int height) { in setWindowCrop() method in StubTransaction
DTaskFragmentTest.java116 verify(mTransaction).setWindowCrop(mLeash, bounds.width(), bounds.height()); in testOnConfigurationChanged()
173 verify(mTransaction).setWindowCrop(mLeash, 0, 0); in testStartChangeTransition_resetSurface()
180 verify(mTransaction).setWindowCrop(mLeash, 500, 500); in testStartChangeTransition_resetSurface()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DWindowDecoration.java227 .setWindowCrop(mDecorationContainerSurface, in relayout()
248 startT.setWindowCrop(mTaskBackgroundSurface, taskBounds.width(), in relayout()
271 .setWindowCrop(mCaptionContainerSurface, captionWidth, captionHeight) in relayout()
419 .setWindowCrop(windowSurfaceControl, width, height) in addWindow()
/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/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java133 t.setWindowCrop(leash, clipRect); in apply()
142 t.setWindowCrop(leash, mTmpRect); in apply()
DInsetsSourceProvider.java399 t.setWindowCrop(mWindowContainer.mSurfaceAnimator.mLeash, in setCropToProvidingInsetsBounds()
416 t.setWindowCrop(mWindowContainer.mSurfaceAnimator.mLeash, null); in removeCropToProvidingInsetsBounds()
687 t.setWindowCrop(mCapturedLeash, getProvidingInsetsBoundsCropRect()); in startAnimation()
DBlackFrame.java55 transaction.setWindowCrop(surface, w, h); in BlackSurface()
DInputConsumerImpl.java120 t.setWindowCrop(mInputSurface, mTmpClipRect); in layout()
DRemoteAnimationController.java578 t.setWindowCrop(animationLeash, mEndBounds.width(), mEndBounds.height());
586 t.setWindowCrop(animationLeash, mStartBounds.width(), mStartBounds.height());
DWindowChangeAnimationSpec.java162 t.setWindowCrop(leash, mTmpRect); in apply()
/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/windowdecor/
DWindowDecorationTests.java232 verify(mMockSurfaceControlStartT).setWindowCrop(decorContainerSurface, 380, 220); in testLayoutResultCalculation_visibleFocusedTask()
236 verify(mMockSurfaceControlStartT).setWindowCrop(taskBackgroundSurface, 300, 100); in testLayoutResultCalculation_visibleFocusedTask()
247 verify(mMockSurfaceControlStartT).setWindowCrop(captionContainerSurface, 300, 64); in testLayoutResultCalculation_visibleFocusedTask()
442 verify(mMockSurfaceControlAddWindowT).setWindowCrop(additionalWindowSurface, width, height); in testAddWindow()
509 verify(mMockSurfaceControlStartT).setWindowCrop(captionContainerSurface, 300, 64); in testLayoutResultCalculation_fullWidthCaption()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/
DFullscreenUnfoldTaskAnimator.java162 transaction.setWindowCrop(context.mLeash, context.mCurrentCropRect) in applyAnimationProgress()
197 .setWindowCrop(context.mLeash, null) in resetSurface()
DSplitTaskUnfoldAnimator.java256 transaction.setWindowCrop(context.mLeash, context.mCurrentCropRect) in applyAnimationProgress()
282 .setWindowCrop(context.mLeash, null) in resetSurface()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitScreenTransitions.java159 t.setWindowCrop(leash, change.getEndAbsBounds().width(), in playInternalAnimation()
198 startTransaction.setWindowCrop(leash, change.getEndAbsBounds().width(), in applyResizeTransition()
467 transaction.setWindowCrop(leash, in startExampleResizeAnimation()
477 transaction.setWindowCrop(leash, 0, 0); in startExampleResizeAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTransition.java535 startTransaction.setWindowCrop(pipLeash, destinationBounds); in startExitAnimation()
642 finishTransaction.setWindowCrop(info.getChanges().get(0).getLeash(), in removePipImmediately()
762 .setWindowCrop(leash, destinationBounds.width(), destinationBounds.height()); in startEnterAnimation()
891 .setWindowCrop(leash, endBounds.width(), endBounds.height()); in startExitToSplitAnimation()
908 startTransaction.setWindowCrop(leash, null); in resetPrevPip()
DPipSurfaceTransactionHelper.java73 tx.setWindowCrop(leash, destinationBounds.width(), destinationBounds.height()) in crop()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/kidsmode/
DKidsModeTaskOrganizer.java371 t.setWindowCrop(rootLeash, mDisplayWidth, mDisplayHeight); in updateTask()
403 t.setWindowCrop(finalLeash, mDisplayWidth, mDisplayHeight); in updateBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/fullscreen/
DFullscreenTaskListener.java117 t.setWindowCrop(leash, null); in onTaskAppeared()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentAnimationAdapter.java221 t.setWindowCrop(mLeash, mRect); in onAnimationUpdateInner()
/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java111 t.setWindowCrop(params.surface, params.windowCrop); in applyParams()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitLayout.java680 t.setWindowCrop(leash, width, height); in moveSurface()
726 .setWindowCrop(leash1, mTempRect.width(), mTempRect.height()); in applySurfaceChanges()
729 .setWindowCrop(leash2, mTempRect.width(), mTempRect.height()); in applySurfaceChanges()
997 t.setWindowCrop(targetLeash, mTempRect);

123