@Test public void shouldSwipingUp() throws Exception { simulateSwipingVertically(-swipe.getSwipingThreshold() - MIN_MOTION_CHANGE); assertThat(swipeEvent).isEqualTo(SwipeEvent.SWIPING_UP); }
public int getSwipingThreshold() { return swipingThreshold; }
Swipe { public int getSwipingThreshold() { return swipingThreshold; } }
Swipe { public int getSwipingThreshold() { return swipingThreshold; } Swipe();  Swipe(int swipingThreshold, int swipedThreshold); }
Swipe { public int getSwipingThreshold() { return swipingThreshold; } Swipe();  Swipe(int swipingThreshold, int swipedThreshold); void setListener(SwipeListener swipeListener); Observable<SwipeEvent> observe(); boolean dispatchTouchEvent(final MotionEvent event); int getSwipingThreshold(); int getSwipedThreshold(); }
Swipe { public int getSwipingThreshold() { return swipingThreshold; } Swipe();  Swipe(int swipingThreshold, int swipedThreshold); void setListener(SwipeListener swipeListener); Observable<SwipeEvent> observe(); boolean dispatchTouchEvent(final MotionEvent event); int getSwipingThreshold(); int getSwipedThreshold(); final static int DEFAULT_SWIPING_THRESHOLD; final static int DEFAULT_SWIPED_THRESHOLD; }