@Test public void shouldSwipedLeft() { simulateSwipedHorizontally(-swipe.getSwipedThreshold() - MIN_MOTION_CHANGE); assertThat(swipeEvent).isEqualTo(SwipeEvent.SWIPED_LEFT); }
public int getSwipedThreshold() { return swipedThreshold; }
Swipe { public int getSwipedThreshold() { return swipedThreshold; } }
Swipe { public int getSwipedThreshold() { return swipedThreshold; } Swipe();  Swipe(int swipingThreshold, int swipedThreshold); }
Swipe { public int getSwipedThreshold() { return swipedThreshold; } 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 getSwipedThreshold() { return swipedThreshold; } 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; }