Home
last modified time | relevance | path

Searched refs:availableRect (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DExpandedAnimationController.java268 Rect availableRect = mPositioner.getAvailableRect(); in startOrUpdatePathAnimation()
270 && mCollapsePoint.x < (availableRect.width() / 2f); in startOrUpdatePathAnimation()
272 ? availableRect.left in startOrUpdatePathAnimation()
273 : availableRect.right - mBubbleSizePx; in startOrUpdatePathAnimation()
530 Rect availableRect = mPositioner.getAvailableRect(); in onChildAdded() local
532 && mCollapsePoint.x < (availableRect.width() / 2f); in onChildAdded()
535 : availableRect.right + mBubbleSizePx * ANIMATE_TRANSLATION_FACTOR; in onChildAdded()
537 ? availableRect.left + mExpandedViewPadding in onChildAdded()
538 : availableRect.right - mBubbleSizePx - mExpandedViewPadding; in onChildAdded()
613 Rect availableRect = mPositioner.getAvailableRect();
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskLaunchParamsModifier.java1026 private void shiftBounds(int direction, @NonNull Rect availableRect,
1032 availableRect.width() / STEP_DENOMINATOR);
1035 horizontalOffset = Math.max(MINIMAL_STEP, availableRect.width() / STEP_DENOMINATOR);
1044 verticalOffset = -Math.max(MINIMAL_STEP, availableRect.height() / STEP_DENOMINATOR);
1047 verticalOffset = Math.max(MINIMAL_STEP, availableRect.height() / STEP_DENOMINATOR);