Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarView.java858 private float getExpandedBubbleTranslationX(int bubbleIndex, int bubbleCount, boolean onLeft) { in getExpandedBubbleTranslationX() argument
859 if (bubbleIndex < 0 || bubbleIndex >= bubbleCount) { in getExpandedBubbleTranslationX()
866 bubbleIndex, bubbleCount, onLeft); in getExpandedBubbleTranslationX()
868 translationX = mBubbleBarPadding + (bubbleCount - bubbleIndex - 1) * iconAndSpacing; in getExpandedBubbleTranslationX()
870 translationX = mBubbleBarPadding + bubbleIndex * iconAndSpacing; in getExpandedBubbleTranslationX()
883 int bubbleIndex, int bubbleCount, boolean onLeft) { in getExpandedBubbleTranslationXDuringScaleAnimation() argument
900 if (bubbleIndex == 0) { in getExpandedBubbleTranslationXDuringScaleAnimation()
910 return (bubbleCount - bubbleIndex - 1) * iconAndSpacing; in getExpandedBubbleTranslationXDuringScaleAnimation()
911 } else if (bubbleIndex == 0) { in getExpandedBubbleTranslationXDuringScaleAnimation()
916 return iconAndSpacing * (bubbleIndex - 1 + newBubbleScale); in getExpandedBubbleTranslationXDuringScaleAnimation()
[all …]