Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java490 float expandedViewHeight = getExpandedViewHeight(bubble); in getExpandedViewY() local
496 if (areBubblesBottomAligned() && expandedViewHeight == MAX_HEIGHT) { in getExpandedViewY()
501 if (!showBubblesVertically() || expandedViewHeight == MAX_HEIGHT) { in getExpandedViewY()
508 float bottomIfCentered = pointerPosition + (expandedViewHeight / 2) + manageButtonHeight; in getExpandedViewY()
509 float topIfCentered = pointerPosition - (expandedViewHeight / 2); in getExpandedViewY()
512 return pointerPosition - mPointerWidth - (expandedViewHeight / 2f); in getExpandedViewY()
518 return mPositionRect.bottom - manageButtonHeight - expandedViewHeight - mPointerWidth; in getExpandedViewY()
595 final float expandedViewHeight = getExpandedViewHeightForLargeScreen(); in getBubbleRowStart() local
599 final float expandedViewCenter = expandedViewBottom - (expandedViewHeight / 2f); in getBubbleRowStart()
901 int expandedViewHeight = Math.min(mScreenRect.width(), mScreenRect.height()); in getBubbleBarExpandedViewHeightForLandscape() local
[all …]