Searched refs:snapChild (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelperTest.java | 248 doNothing().when(mSwipeHelper).snapChild(any(), anyInt(), anyFloat()); in testHandleUpEvent_menuRowWithoutMenu_snapback() 282 doNothing().when(mSwipeHelper).snapChild(any(), anyInt(), anyFloat()); in testHandleUpEvent_menuRowWithOpenMenu_snapback() 317 doNothing().when(mSwipeHelper).snapChild(any(), anyInt(), anyFloat()); in testHandleUpEvent_menuRowWithClosedMenu_snapback() 398 mSwipeHelper.snapChild(mNotificationRow, 0, 0); in testSnapchild_targetIsZero() 409 mSwipeHelper.snapChild(mNotificationRow, 10, 0); in testSnapchild_targetNotZero() 419 mSwipeHelper.snapChild(mView, 10, 0); in testSnapchild_targetNotSwipeable() 486 doNothing().when(mSwipeHelper).snapChild(mView, 30, 0); in testSnapOpen() 490 verify(mSwipeHelper, times(1)).snapChild(mView, 30, 0); in testSnapOpen() 495 doNothing().when(mSwipeHelper).snapChild(mView, 0, 0); in testSnapClosed() 499 verify(mSwipeHelper, times(1)).snapChild(mView, 0, 0); in testSnapClosed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelper.java | 353 super.snapChild(animView, targetLeft, velocity); in superSnapChild() 357 protected void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild() method in NotificationSwipeHelper 438 snapChild(animView, targetLeft, velocity); in snapOpen() 443 snapChild(animView, 0, velocity); in snapClosed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 531 protected void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild() method in SwipeHelper 646 snapChild(view, targetLeft, 0.0f /* velocity */); in snapChildIfNeeded() 731 snapChild(mTouchedView, 0 /* leftTarget */, velocity); in onTouchEvent()
|