b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

robotium_robotium使用基础_robotium api(24)

电脑杂谈  发布时间:2017-03-14 21:02:58  来源:网络整理

Parameters:view - the View to scrollside - the side to scroll; RIGHT or LEFTscrollPosition - the position to scroll to, from 0 to 1 where 1 is all the way。 Example is: 0。60stepCount - how many move steps to include in the scroll。 Less steps results in a faster scrollscrollViewToSide

public void scrollViewToSide(android.view.View view,                             int side,                             float scrollPosition)
Scrolls a View horizontally。Parameters:view - the View to scrollside - the side to scroll; RIGHT or LEFTscrollPosition - the position to scroll to, from 0 to 1 where 1 is all the way。 Example is: 0。60scrollViewToSide
public void scrollViewToSide(android.view.View view,                             int side)
Scrolls a View horizontally。

Parameters:view - the View to scrollside - the side to scroll; RIGHT or LEFTpinchToZoom

public void pinchToZoom(android.graphics.PointF startPoint1,                        android.graphics.PointF startPoint2,                        android.graphics.PointF endPoint1,                        android.graphics.PointF endPoint2)
Zooms in or out if startPoint1 and startPoint2 are larger or smaller then endPoint1 and endPoint2。 Requires API level >= 14。Parameters:startPoint1 - First "finger" down on the screenstartPoint2 - Second "finger" down on the screenendPoint1 - Corresponding ending point of startPoint1endPoint2 - Corresponding ending point of startPoint2swipe
public void swipe(android.graphics.PointF startPoint1,                  android.graphics.PointF startPoint2,                  android.graphics.PointF endPoint1,                  android.graphics.PointF endPoint2)
Swipes with two fingers in a linear path determined by starting and ending points。


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-37529-24.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...