@Test public void onScroll_withCompleteZigZag_shouldSetStateToGoingLeftAndNumberOfZigZagsIs1() throws Exception { performZig(); assertZigZagState(GOING_RIGHT); assertThat(subject.getNumberOfZigzags()).isEqualTo(0); performZag(); assertZigZagState(GOING_LEFT); assertThat(subject.getNumberOfZigzags()).isEqualTo(1); }
@Deprecated int getNumberOfZigzags() { return mNumberOfZigZags; }
AdAlertGestureListener extends GestureDetector.SimpleOnGestureListener { @Deprecated int getNumberOfZigzags() { return mNumberOfZigZags; } }
AdAlertGestureListener extends GestureDetector.SimpleOnGestureListener { @Deprecated int getNumberOfZigzags() { return mNumberOfZigZags; } AdAlertGestureListener(View view, @Nullable AdReport adReport); }
AdAlertGestureListener extends GestureDetector.SimpleOnGestureListener { @Deprecated int getNumberOfZigzags() { return mNumberOfZigZags; } AdAlertGestureListener(View view, @Nullable AdReport adReport); @Override boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY); }
AdAlertGestureListener extends GestureDetector.SimpleOnGestureListener { @Deprecated int getNumberOfZigzags() { return mNumberOfZigZags; } AdAlertGestureListener(View view, @Nullable AdReport adReport); @Override boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY);  }