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 | 230 mSwipeHelper.snapChild(mView, 0, 0); in testSnapchild_targetIsZero() 241 mSwipeHelper.snapChild(mView, 10, 0); in testSnapchild_targetNotZero() 309 doNothing().when(mSwipeHelper).snapChild(mView, 30, 0); in testSnapOpen() 313 verify(mSwipeHelper, times(1)).snapChild(mView, 30, 0); in testSnapOpen() 318 doNothing().when(mSwipeHelper).snapChild(mView, 0, 0); in testSnapClosed() 322 verify(mSwipeHelper, times(1)).snapChild(mView, 0, 0); in testSnapClosed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelper.java | 270 super.snapChild(animView, targetLeft, velocity); in superSnapChild() 274 public void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild() method in NotificationSwipeHelper 358 snapChild(animView, targetLeft, velocity); in snapOpen() 363 snapChild(animView, 0, velocity); in snapClosed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 467 public void snapChild(final View animView, final float targetLeft, float velocity) { in snapChild() method in SwipeHelper 570 snapChild(view, targetLeft, 0.0f /* velocity */); in snapChildIfNeeded() 651 snapChild(mCurrView, 0 /* leftTarget */, velocity); in onTouchEvent()
|