Searched refs:getStackPosition (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/ |
D | StackAnimationControllerTest.java | 81 assertEquals(new PointF(200, 100), mStackController.getStackPosition()); in testMoveFirstBubbleWithStackFollowing() 97 assertEquals(new PointF(1000, 500), mStackController.getStackPosition()); in testMoveFirstBubbleWithStackFollowing() 221 final PointF prevStackPos = mStackController.getStackPosition(); in testRestoredAtRestingPosition() 233 assertEquals(prevStackPos, mStackController.getStackPosition()); in testRestoredAtRestingPosition() 275 assertNotEquals(20, mStackController.getStackPosition().x, 1f); in testMagnetToDismiss_demagnetizeThenDrag() 276 assertNotEquals(20, mStackController.getStackPosition().y, 1f); in testMagnetToDismiss_demagnetizeThenDrag() 281 assertEquals(20, mStackController.getStackPosition().x, 1f); in testMagnetToDismiss_demagnetizeThenDrag() 282 assertEquals(20, mStackController.getStackPosition().y, 1f); in testMagnetToDismiss_demagnetizeThenDrag() 287 assertEquals(30, mStackController.getStackPosition().x, 1f); in testMagnetToDismiss_demagnetizeThenDrag() 288 assertEquals(30, mStackController.getStackPosition().y, 1f); in testMagnetToDismiss_demagnetizeThenDrag() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleStackView.java | 535 (mStackAnimationController.getStackPosition().y - allowablePos.top) in onOrientationChanged() 1010 return mStackAnimationController.getStackPosition().x < getWidth() / 2 in getCollapsedX() 1016 return Math.min(mStackAnimationController.getStackPosition().y, in getCollapsedY() 1456 updateMessage, mStackAnimationController.getStackPosition(), getWidth(), in animateInFlyoutForBubble() 1654 return new BigDecimal(getStackPosition().x / mDisplaySize.x) in getNormalizedXPosition() 1663 return new BigDecimal(getStackPosition().y / mDisplaySize.y) in getNormalizedYPosition() 1668 public PointF getStackPosition() { in getStackPosition() method 1669 return mStackAnimationController.getStackPosition(); in getStackPosition()
|
D | BubbleTouchHandler.java | 123 mViewPositionOnTouchDown.set(mStack.getStackPosition()); in onTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | StackAnimationController.java | 187 public PointF getStackPosition() { in getStackPosition() method in StackAnimationController 290 final PointF stackPos = getStackPosition();
|