Home
last modified time | relevance | path

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

/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()
97 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipBeforeNoAnimationBounds()
111 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), argThat(Rect::isEmpty)); in testApply_clipBeforeNoStackBounds()
147 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipBeforeSmallerAnimationClip()
160 verify(mTransaction).setWindowCrop(eq(mSurfaceControl), in testApply_clipBeforeSmallerStackClip()
DDimmerTests.java160 verify(mTransaction).setWindowCrop(getDimLayer(), width, height); in testUpdateDimsAppliesCrop()
249 verify(mTransaction).setWindowCrop(dimLayer, bounds.width(), bounds.height()); in testDimUpdateWhileDimming()
255 verify(mTransaction).setWindowCrop(dimLayer, bounds.width(), bounds.height()); in testDimUpdateWhileDimming()
DStubTransaction.java128 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, Rect crop) { in setWindowCrop() method in StubTransaction
133 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, int width, int height) { in setWindowCrop() method in StubTransaction
DRemoteAnimationControllerTest.java113 verify(mMockTransaction).setWindowCrop(mMockLeash, new Rect(0, 0, 100, 50)); in testRun()
255 verify(mMockTransaction).setWindowCrop(mMockLeash, new Rect(0, 0, 200, 200)); in testChange()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTransactionCompat.java80 public TransactionCompat setWindowCrop(SurfaceControlCompat surfaceControl, Rect crop) { in setWindowCrop() method in TransactionCompat
81 mTransaction.setWindowCrop(surfaceControl.mSurfaceControl, crop); in setWindowCrop()
DSyncRtSurfaceTransactionApplierCompat.java145 t.setWindowCrop(params.surface, params.windowCrop); in applyParams()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java105 t.setWindowCrop(leash, tmp.transformation.getClipRect()); in apply()
113 t.setWindowCrop(leash, mTmpRect); in apply()
DTaskPositioningController.java106 t.setWindowCrop(mInputSurface, mTmpClipRect); in showInputSurface()
DInputConsumerImpl.java131 t.setWindowCrop(mInputSurface, mTmpClipRect); in layout()
DWindowSurfaceController.java181 mSurfaceControl.setWindowCrop(clipRect); in setCropInTransaction()
208 mSurfaceControl.setWindowCrop(clipRect); in clearCropInTransaction()
DWindowChangeAnimationSpec.java167 t.setWindowCrop(leash, mTmpRect); in apply()
DBlackFrame.java54 transaction.setWindowCrop(surface, w, h); in BlackSurface()
DLetterbox.java303 t.setWindowCrop(mSurface, mSurfaceFrameRelative.width(), in applySurfaceChanges()
DDimmer.java321 t.setWindowCrop(mDimState.mDimLayer, bounds.width(), bounds.height()); in updateDims()
DSurfaceAnimator.java326 t.setWindowCrop(leash, width, height);
DTaskStack.java240 .setWindowCrop(mAnimationBackgroundSurface, mTmpRect.width(), mTmpRect.height()) in updateAnimationBackgroundBounds()
807 transaction.setWindowCrop(mSurfaceControl, -1, -1); in updateSurfaceSize()
809 transaction.setWindowCrop(mSurfaceControl, width, height); in updateSurfaceSize()
DRemoteAnimationController.java401 t.setWindowCrop(animationLeash, mTmpRect); in startAnimation()
DDragState.java175 mTransaction.setWindowCrop(mInputSurface, mTmpClipRect); in showInputSurface()
DTaskSnapshotSurface.java346 mChildSurfaceControl.setWindowCrop(crop); in drawSizeMismatchSnapshot()
DRecentsAnimationController.java774 t.setWindowCrop(animationLeash, mTmpRect); in startAnimation()
DAppWindowToken.java1747 t.setWindowCrop(mTransitChangeLeash, startBounds.width(), startBounds.height()); in initializeChangeTransition()
2787 t.setWindowCrop(mAnimationBoundsLayer, mTmpRect); in onAnimationLeashCreated()
/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java76 t.setWindowCrop(params.surface, params.windowCrop); in applyParams()
DSurfaceControl.java1288 public void setWindowCrop(Rect crop) { in setWindowCrop() method in SurfaceControl
1291 sGlobalTransaction.setWindowCrop(this, crop); in setWindowCrop()
1302 public void setWindowCrop(int width, int height) { in setWindowCrop() method in SurfaceControl
1305 sGlobalTransaction.setWindowCrop(this, width, height); in setWindowCrop()
2363 public Transaction setWindowCrop(SurfaceControl sc, Rect crop) { in setWindowCrop() method in SurfaceControl.Transaction
2378 public Transaction setWindowCrop(SurfaceControl sc, int width, int height) { in setWindowCrop() method in SurfaceControl.Transaction
DSurfaceView.java667 mSurfaceControl.setWindowCrop(mSurfaceWidth, mSurfaceHeight); in updateSurface()
DViewRootImpl.java1593 mTransaction.setWindowCrop(mBoundsSurfaceControl, mTempBoundsRect); in setBoundsSurfaceCrop()