Example #1
0
def swipeRight():
    l=get_size()
    y1 = int(l[1] * 0.5)
    x1 = int(l[0] * 0.25)
    x2 = int(l[0] * 0.95)
    driver.swipe(x1, y1, x2, y1, 1000)
Example #2
0
def swipeLeft():
    l=get_size()
    x1=int(l[0]*0.9)
    y1=int(l[1]*0.5)
    x2=int(l[0]*0.1)
    driver.swipe(x1,y1,x2,y1,1000)
Example #3
0
def swipeDown():
    l=get_size()
    x1 = int(l[0] * 0.5)
    y1 = int(l[1] * 0.35)
    y2 = int(l[1] * 0.85)
    driver.swipe(x1, y1, x1, y2, 1000)
Example #4
0
def swipeDown():
    l = get_size()
    y1 = int(l[0] * 0.1)
    x1 = int(l[0] * 0.5)
    y2 = int(l[0] * 0.9)
    driver.swipe(x1, y1, x1, y2, 1000)