Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuView.java130 final ValueAnimator mDragAnimator; field in AccessibilityFloatingMenuView
221 mDragAnimator = ValueAnimator.ofFloat(0.0f, 1.0f); in AccessibilityFloatingMenuView()
222 mDragAnimator.setDuration(SNAP_TO_LOCATION_DURATION_MS); in AccessibilityFloatingMenuView()
223 mDragAnimator.setInterpolator(new OvershootInterpolator()); in AccessibilityFloatingMenuView()
224 mDragAnimator.addListener(new AnimatorListenerAdapter() { in AccessibilityFloatingMenuView()
666 mDragAnimator.cancel(); in snapToLocation()
667 mDragAnimator.removeAllUpdateListeners(); in snapToLocation()
668 mDragAnimator.addUpdateListener(anim -> onDragAnimationUpdate(anim, endX, endY)); in snapToLocation()
669 mDragAnimator.start(); in snapToLocation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuViewTest.java327 menuView.mDragAnimator.end(); in tapOnAndDragMenu_matchLocation()