android.support.test.espresso.action.GeneralLocation#BOTTOM_CENTER源码实例Demo

下面列出了android.support.test.espresso.action.GeneralLocation#BOTTOM_CENTER 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: material-activity-chooser   文件: ViewActions.java
public static ViewAction swipeBottomSheetDown() {
    /* The default swipe action has a constraint where the swiped view has to be displayed in at least 90%,
     * which is not the case with bottom sheets...
     */
    return new NoConstraintsSwipeAction(Swipe.FAST, GeneralLocation.TOP_CENTER,
            GeneralLocation. BOTTOM_CENTER, Press.FINGER);
}
 
源代码2 项目: mobile-android-samples   文件: MapActivityTest.java
private static ViewAction swipe() {

        CoordinatesProvider start = GeneralLocation.TOP_CENTER;
        CoordinatesProvider end = GeneralLocation.BOTTOM_CENTER;
        return new GeneralSwipeAction(Swipe.SLOW, start, end, Press.FINGER);
    }
 
源代码3 项目: PrettyBundle   文件: ExtViewActions.java
public static ViewAction swipeTop() {
    return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.BOTTOM_CENTER, GeneralLocation.TOP_CENTER, Press.FINGER);
}
 
源代码4 项目: PrettyBundle   文件: ExtViewActions.java
public static ViewAction swipeBottom() {
    return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.TOP_CENTER, GeneralLocation.BOTTOM_CENTER, Press.FINGER);
}
 
源代码5 项目: agera   文件: MainActivityTest.java
private static ViewAction swipeDown() {
  return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.TOP_CENTER,
      GeneralLocation.BOTTOM_CENTER, Press.FINGER);
}
 
源代码6 项目: agera   文件: MainActivityTest.java
private static ViewAction swipeDown() {
  return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.TOP_CENTER,
      GeneralLocation.BOTTOM_CENTER, Press.FINGER);
}
 
源代码7 项目: u2020-mvp   文件: ViewActions.java
public static ViewAction swipeTop() {
    return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.BOTTOM_CENTER, GeneralLocation.TOP_CENTER, Press.FINGER);
}
 
源代码8 项目: u2020-mvp   文件: ViewActions.java
public static ViewAction swipeBottom() {
    return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.TOP_CENTER, GeneralLocation.BOTTOM_CENTER, Press.FINGER);
}