/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | LegacySizeSpecSource.kt | 66 val insetBounds = pipDisplayLayoutState.insetBounds in getMaxSize() constant 70 val totalHorizontalPadding: Int = (insetBounds.left + in getMaxSize() 71 (getDisplayBounds().width() - insetBounds.right)) in getMaxSize() 72 val totalVerticalPadding: Int = (insetBounds.top + in getMaxSize() 73 (getDisplayBounds().height() - insetBounds.bottom)) in getMaxSize()
|
D | PhoneSizeSpecSource.kt | 137 val insetBounds = pipDisplayLayoutState.insetBounds in getMaxSize() constant 140 val totalHorizontalPadding: Int = (insetBounds.left + in getMaxSize() 141 (displayBounds.width() - insetBounds.right)) in getMaxSize() 142 val totalVerticalPadding: Int = (insetBounds.top + in getMaxSize() 143 (displayBounds.height() - insetBounds.bottom)) in getMaxSize()
|
D | PipBoundsAlgorithm.java | 311 final Rect insetBounds = new Rect(); in getDefaultBounds() local 312 getInsetBounds(insetBounds); in getDefaultBounds() 325 insetBounds, 0, Math.max( in getDefaultBounds() 371 public void getMovementBounds(Rect stackBounds, Rect insetBounds, Rect movementBoundsOut, in getMovementBounds() argument 374 movementBoundsOut.set(insetBounds); in getMovementBounds() 375 movementBoundsOut.right = Math.max(insetBounds.left, insetBounds.right in getMovementBounds() 377 movementBoundsOut.bottom = Math.max(insetBounds.top, insetBounds.bottom in getMovementBounds()
|
D | PipDisplayLayoutState.java | 84 Rect insetBounds = new Rect(); in getInsetBounds() local 86 insetBounds.set(insets.left + getScreenEdgeInsets().x, in getInsetBounds() 90 return insetBounds; in getInsetBounds()
|
D | PipSnapAlgorithm.java | 113 Rect insetBounds) { in applySnapFraction() argument 118 ? stashOffset - stackBounds.width() + insetBounds.left in applySnapFraction() 119 : displayBounds.right - stashOffset - insetBounds.right, in applySnapFraction()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipMotionHelper.java | 425 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets(); in movetoTarget() local 428 + insetBounds.left in movetoTarget() 432 - insetBounds.right in movetoTarget() 520 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets(); 526 - mPipBoundsState.getBounds().width() + insetBounds.left 528 - mPipBoundsState.getStashOffset() - insetBounds.right; 576 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets(); 580 + insetBounds.left, 582 - insetBounds.right);
|
D | PipTouchHandler.java | 366 public void adjustBoundsForRotation(Rect outBounds, Rect curBounds, Rect insetBounds) { in adjustBoundsForRotation() argument 368 mPipBoundsAlgorithm.getMovementBounds(outBounds, insetBounds, toMovementBounds, 0); in adjustBoundsForRotation() 383 public void onMovementBoundsChanged(Rect insetBounds, Rect normalBounds, Rect curBounds, in onMovementBoundsChanged() argument 399 mPipBoundsAlgorithm.getMovementBounds(normalBounds, insetBounds, in onMovementBoundsChanged() 405 mPipBoundsAlgorithm.getMovementBounds(curBounds, insetBounds, in onMovementBoundsChanged() 416 mPipBoundsState.getExpandedBounds(), insetBounds, expandedMovementBounds, in onMovementBoundsChanged() local 432 mInsetBounds.set(insetBounds); in onMovementBoundsChanged()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipMotionHelper.java | 417 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets(); in movetoTarget() local 420 + insetBounds.left in movetoTarget() 424 - insetBounds.right in movetoTarget() 512 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets(); 518 - mPipBoundsState.getBounds().width() + insetBounds.left 520 - mPipBoundsState.getStashOffset() - insetBounds.right; 570 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets(); 574 + insetBounds.left, 576 - insetBounds.right);
|
D | PipTouchHandler.java | 375 void adjustBoundsForRotation(Rect outBounds, Rect curBounds, Rect insetBounds) { in adjustBoundsForRotation() argument 377 mPipBoundsAlgorithm.getMovementBounds(outBounds, insetBounds, toMovementBounds, 0); in adjustBoundsForRotation() 392 void onMovementBoundsChanged(Rect insetBounds, Rect normalBounds, Rect curBounds, in onMovementBoundsChanged() argument 408 mPipBoundsAlgorithm.getMovementBounds(normalBounds, insetBounds, in onMovementBoundsChanged() 414 mPipBoundsAlgorithm.getMovementBounds(curBounds, insetBounds, in onMovementBoundsChanged() 425 mPipBoundsState.getExpandedBounds(), insetBounds, expandedMovementBounds, in onMovementBoundsChanged() local 441 mInsetBounds.set(insetBounds); in onMovementBoundsChanged()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipBoundsAlgorithm.java | 170 final Rect insetBounds = new Rect(); in getTvPipPlacement() local 171 getInsetBounds(insetBounds); in getTvPipPlacement() 175 mKeepClearAlgorithm.setMovementBounds(insetBounds); in getTvPipPlacement() 190 "%s: insetBounds: %s", TAG, insetBounds.toShortString()); in getTvPipPlacement()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
D | PipBoundsAlgorithmTest.java | 226 final Rect insetBounds = new Rect(); in getDefaultBounds_boundsAtDefaultGravity() local 227 mPipBoundsAlgorithm.getInsetBounds(insetBounds); in getDefaultBounds_boundsAtDefaultGravity() 232 assertEquals(insetBounds.bottom, defaultBounds.bottom); in getDefaultBounds_boundsAtDefaultGravity() 233 assertEquals(insetBounds.right, defaultBounds.right); in getDefaultBounds_boundsAtDefaultGravity()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskTests.java | 535 final Rect insetBounds = new Rect(mParentBounds); in testAppBounds_ContainedBounds() local 536 insetBounds.inset(5, 5, 5, 5); in testAppBounds_ContainedBounds() 538 WINDOWING_MODE_FREEFORM, mParentBounds, insetBounds, insetBounds); in testAppBounds_ContainedBounds()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshotBuilder.cpp | 152 Rect getInputBoundsInDisplaySpace(const LayerSnapshot& snapshot, const FloatRect& insetBounds, in getInputBoundsInDisplaySpace() argument 167 const FloatRect croppedInsetBoundsInLayer = snapshot.geomLayerBounds.intersect(insetBounds); in getInputBoundsInDisplaySpace()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.h | 609 Rect getInputBoundsInDisplaySpace(const FloatRect& insetBounds,
|