Searched refs:start (Results 1 – 5 of 5) sorted by relevance
| /test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/ |
| D | PointerGesture.java | 85 public Point start() { in start() method in PointerGesture 86 return mActions.peekFirst().start; in start() 126 final Point start; field in PointerGesture.PointerAction 131 start = startPoint; in PointerAction() 148 return new Point(start); in interpolate() 153 return String.format("Pause(point=%s, duration=%dms)", start, duration); in toString() 166 Point ret = new Point(start); in interpolate() 167 ret.offset((int)(fraction * (end.x - start.x)), (int)(fraction * (end.y - start.y))); in interpolate() 173 return String.format("Move(start=%s, end=%s, duration=%dms)", start, end, duration); in toString()
|
| D | Gestures.java | 92 public PointerGesture swipe(Point start, Point end, int speed) { in swipe() argument 94 return new PointerGesture(start, mDisplayId, mWindowId).move(end, speed); in swipe() 107 Point start, end; in swipeRect() local 111 start = new Point(area.right, area.centerY()); in swipeRect() 115 start = new Point(area.left, area.centerY()); in swipeRect() 119 start = new Point(area.centerX(), area.bottom); in swipeRect() 123 start = new Point(area.centerX(), area.top); in swipeRect() 130 return swipe(start, end, speed); in swipeRect() 141 public PointerGesture drag(Point start, Point end, int speed) { in drag() argument 143 return longClick(start).move(end, speed); in drag()
|
| D | GestureController.java | 152 pointers.put(g, new Pointer(count++, g.start())); in performGesture()
|
| /test/screenshot/screenshot/src/main/java/androidx/test/screenshot/matchers/ |
| D | MSSIMMatcher.kt | 81 val start: Int = indexFromXAndY(currentWindowX, currentWindowY, stride, offset) in calculateSSIM() constant 83 isWindowWhite(ideal, start, stride, windowWidth, windowHeight) && in calculateSSIM() 84 isWindowWhite(given, start, stride, windowWidth, windowHeight) in calculateSSIM() 90 val means = getMeans(ideal, given, start, stride, windowWidth, windowHeight) in calculateSSIM() 99 start, in calculateSSIM() 133 start: Int, in isWindowWhite() 140 if (colors[indexFromXAndY(x, y, stride, start)] != Color.WHITE) { in isWindowWhite() 170 start: Int, in getMeans() 179 val index: Int = indexFromXAndY(x, y, stride, start) in getMeans() 199 start: Int, in getVariances() [all …]
|
| /test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/ |
| D | UiDeviceTest.java | 348 Point start = dragButton.getVisibleCenter(); in testDrag() local 352 mDevice.drag(start.x, start.y, end.x, end.y, 10); in testDrag()
|