Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleFlyoutView.java233 void animateUpdate(Bubble.FlyoutMessage flyoutMessage, float parentWidth, PointF stackPos, in animateUpdate() argument
240 fade(true /* in */, stackPos, hideDot, () -> {} /* after */); in animateUpdate()
243 fade(false /* in */, stackPos, hideDot, afterFadeOut); in animateUpdate()
249 private void fade(boolean in, PointF stackPos, boolean hideDot, Runnable afterFade) { in fade() argument
250 mFlyoutY = stackPos.y + (mBubbleSize - mFlyoutTextContainer.getHeight()) / 2f; in fade()
254 updateFlyoutX(stackPos.x); in fade()
256 updateDot(stackPos, hideDot); in fade()
308 void updateDot(PointF stackPos, boolean hideDot) { in updateDot() argument
317 final float dotPositionX = stackPos.x + mDotCenter[0] - adjustmentForScaleAway; in updateDot()
318 final float dotPositionY = stackPos.y + mDotCenter[1] - adjustmentForScaleAway; in updateDot()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DStackAnimationController.java433 final PointF stackPos = getStackPosition();
434 final boolean onLeft = mLayout.isFirstChildXLeftOfCenter(stackPos.x);
437 stackPos.x = onLeft ? bounds.left : bounds.right;
438 return stackPos;