Home
last modified time | relevance | path

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

12

/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.java123 public SurfaceControl.Transaction setWindowCrop(SurfaceControl sc, Rect crop) { in setWindowCrop() method in StubTransaction
128 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()
DWindowSurfaceController.java181 mSurfaceControl.setWindowCrop(clipRect); in setCropInTransaction()
208 mSurfaceControl.setWindowCrop(clipRect); in clearCropInTransaction()
DTaskPositioningController.java104 t.setWindowCrop(mInputSurface, mTmpClipRect); in showInputSurface()
DInputConsumerImpl.java131 t.setWindowCrop(mInputSurface, mTmpClipRect); in layout()
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.java407 t.setWindowCrop(animationLeash, mTmpRect); in startAnimation()
DTaskSnapshotSurface.java347 mChildSurfaceControl.setWindowCrop(crop); in drawSizeMismatchSnapshot()
DDragState.java174 mTransaction.setWindowCrop(mInputSurface, mTmpClipRect); in showInputSurface()
DRecentsAnimationController.java816 t.setWindowCrop(animationLeash, mTmpRect); in startAnimation()
DAppWindowToken.java1763 t.setWindowCrop(mTransitChangeLeash, startBounds.width(), startBounds.height()); in initializeChangeTransition()
2803 t.setWindowCrop(mAnimationBoundsLayer, mTmpRect); in onAnimationLeashCreated()
/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java76 t.setWindowCrop(params.surface, params.windowCrop); in applyParams()
DSurfaceControl.java1273 public void setWindowCrop(Rect crop) { in setWindowCrop() method in SurfaceControl
1276 sGlobalTransaction.setWindowCrop(this, crop); in setWindowCrop()
1287 public void setWindowCrop(int width, int height) { in setWindowCrop() method in SurfaceControl
1290 sGlobalTransaction.setWindowCrop(this, width, height); in setWindowCrop()
2333 public Transaction setWindowCrop(SurfaceControl sc, Rect crop) { in setWindowCrop() method in SurfaceControl.Transaction
2348 public Transaction setWindowCrop(SurfaceControl sc, int width, int height) { in setWindowCrop() method in SurfaceControl.Transaction
DSurfaceView.java813 mSurfaceControl.setWindowCrop(mSurfaceWidth, mSurfaceHeight); in updateSurface()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java603 t.setWindowCrop(mSurfaceControl, mDisplayWidth, mDisplayHeight);

12