Searched refs:availableRect (Results 1 – 2 of 2) sorted by relevance
268 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() local532 && 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 …]
1026 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);