Java Code Examples for android.support.test.espresso.action.GeneralLocation.CENTER_RIGHT

The following are Jave code examples for showing how to use CENTER_RIGHT of the android.support.test.espresso.action.GeneralLocation class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: SwipeOpenItemTouchHelper   File: SwipeOpenItemTouchHelperTest.java   Source Code and License Vote up 4 votes
private static ViewAction swipeRight() {
  return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.CENTER_LEFT,
      GeneralLocation.CENTER_RIGHT, Press.FINGER);
}
 
Example 2
Project: SwipeOpenItemTouchHelper   File: SwipeOpenItemTouchHelperTest.java   Source Code and License Vote up 4 votes
private static ViewAction swipeLeft() {
  return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.CENTER_RIGHT,
      GeneralLocation.CENTER_LEFT, Press.FINGER);
}
 
Example 3
Project: RxBinding   File: RxViewPagerTest.java   Source Code and License Vote up 4 votes
private static ViewAction swipeLeft() {
  return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.CENTER_RIGHT,
      GeneralLocation.CENTER_LEFT, Press.FINGER);
}
 
Example 4
Project: RxBinding   File: RxSwipeDismissBehaviorTest.java   Source Code and License Vote up 4 votes
private static ViewAction swipeRight() {
  return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.CENTER_LEFT,
      GeneralLocation.CENTER_RIGHT, Press.FINGER);
}