Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java74 private int mBubbleSize; field in BubblePositioner
144 mBubbleSize = res.getDimensionPixelSize(R.dimen.bubble_size); in updateInternal()
217 - mBubbleSize; in calculateMaxBubbles()
219 int howManyFit = availableSpace / (mBubbleSize + mSpacingBetweenBubbles); in calculateMaxBubbles()
286 return mBubbleSize; in getBubbleSize()
384 rightPadding += mBubbleSize - pointerTotalHeight; in getExpandedViewContainerPadding()
389 leftPadding += mBubbleSize - pointerTotalHeight; in getExpandedViewContainerPadding()
417 return top + mBubbleSize + mPointerMargin; in getExpandedViewYTopAligned()
541 return (numberOfBubbles * mBubbleSize) in getExpandedStackSize()
564 final float positionInRow = onScreenIndex * (mBubbleSize + mSpacingBetweenBubbles); in getExpandedBubbleXY()
[all …]
DBubbleFlyoutView.java74 private int mBubbleSize; field in BubbleFlyoutView
257 mFlyoutY = stackPos.y + (mBubbleSize - mFlyoutTextContainer.getHeight()) / 2f; in fade()
310 ? stackX + mBubbleSize + mFlyoutSpaceFromBubble in updateFlyoutX()
344 mBubbleSize = mPositioner.getBubbleSize(); in setupFlyoutStartingAsDot()
346 mOriginalDotSize = SIZE_PERCENTAGE * mBubbleSize; in setupFlyoutStartingAsDot()
363 stackPos.y + (mBubbleSize - mFlyoutTextContainer.getHeight()) / 2f; in setupFlyoutStartingAsDot()
DBubbleStackView.java278 private int mBubbleSize; field in BubbleStackView
920 mBubbleSize = res.getDimensionPixelSize(R.dimen.bubble_size); in BubbleStackView()
1228 .translationX(-(mBubbleSize + availableRectOffsetX))
1233 mBubbleContainer.animate().translationX(mBubbleSize - availableRectOffsetX).start();
1262 final float amountOffscreen = mBubbleSize - (mBubbleSize * PERCENT_HIDDEN_WHEN_STASHED);
1284 new FrameLayout.LayoutParams(mBubbleSize, mBubbleSize)); in setUpOverflow()
1306 contentResolver, "bubble_dismiss_radius", mBubbleSize * 2 /* default */); in setUpDismissView()
1639 mBubbleSize = mPositioner.getBubbleSize(); in onDisplaySizeChanged()
1645 b.getIconView().setLayoutParams(new LayoutParams(mBubbleSize, mBubbleSize)); in onDisplaySizeChanged()
1652 new LayoutParams(mBubbleSize, mBubbleSize)); in onDisplaySizeChanged()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DStackAnimationController.java182 private int mBubbleSize; field in StackAnimationController
234 (int) mStackPosition.x + mBubbleSize,
235 (int) mStackPosition.y + mBubbleSize + mBubblePaddingTop);
343 final boolean stackOnLeftSide = x - mBubbleSize / 2 < mLayout.getWidth() / 2; in flingStackThenSpringToEdge()
846 mBubbleSize = mPositioner.getBubbleSize();
1020 return mBubbleSize; in getMagnetizedStack()
1025 return mBubbleSize; in getMagnetizedStack()