当前位置: 首页>>代码示例>>Java>>正文


Java GeneralLocation.BOTTOM_CENTER属性代码示例

本文整理汇总了Java中android.support.test.espresso.action.GeneralLocation.BOTTOM_CENTER属性的典型用法代码示例。如果您正苦于以下问题:Java GeneralLocation.BOTTOM_CENTER属性的具体用法?Java GeneralLocation.BOTTOM_CENTER怎么用?Java GeneralLocation.BOTTOM_CENTER使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在android.support.test.espresso.action.GeneralLocation的用法示例。


在下文中一共展示了GeneralLocation.BOTTOM_CENTER属性的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: swipeBottomSheetDown

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);
}
 
开发者ID:zawadz88,项目名称:material-activity-chooser,代码行数:7,代码来源:ViewActions.java

示例2: scroll

/**
 * Uses a slow swipe to simulate a scroll
 * @return the view action
 */
private ViewAction scroll() {
  return new GeneralSwipeAction(Swipe.SLOW, GeneralLocation.BOTTOM_CENTER,
      GeneralLocation.TOP_CENTER, Press.FINGER);
}
 
开发者ID:alex-townsend,项目名称:SwipeOpenItemTouchHelper,代码行数:8,代码来源:SwipeOpenItemTouchHelperTest.java

示例3: swipeDown

public static ViewAction swipeDown() {
    return new GeneralSwipeAction(Swipe.SLOW, GeneralLocation.TOP_CENTER,
                                  GeneralLocation.BOTTOM_CENTER, Press.FINGER
    );
}
 
开发者ID:malmstein,项目名称:tagscout,代码行数:5,代码来源:TagsScreenTest.java

示例4: swipeTop

public static ViewAction swipeTop() {
    return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.BOTTOM_CENTER, GeneralLocation.TOP_CENTER, Press.FINGER);
}
 
开发者ID:talenguyen,项目名称:PrettyBundle,代码行数:3,代码来源:ExtViewActions.java

示例5: swipeBottom

public static ViewAction swipeBottom() {
    return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.TOP_CENTER, GeneralLocation.BOTTOM_CENTER, Press.FINGER);
}
 
开发者ID:talenguyen,项目名称:PrettyBundle,代码行数:3,代码来源:ExtViewActions.java

示例6: swipeDown

private static ViewAction swipeDown() {
  return new GeneralSwipeAction(Swipe.FAST, GeneralLocation.TOP_CENTER,
      GeneralLocation.BOTTOM_CENTER, Press.FINGER);
}
 
开发者ID:google,项目名称:agera,代码行数:4,代码来源:MainActivityTest.java

示例7: swipeDown

private static ViewAction swipeDown() {
  return new GeneralSwipeAction(Swipe.SLOW, GeneralLocation.TOP_CENTER,
      GeneralLocation.BOTTOM_CENTER, Press.FINGER);
}
 
开发者ID:JakeWharton,项目名称:RxBinding,代码行数:4,代码来源:RxSwipeRefreshLayoutTest.java


注:本文中的android.support.test.espresso.action.GeneralLocation.BOTTOM_CENTER属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。