Home
last modified time | relevance | path

Searched refs:deltaY (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/util/
DStretchEdgeUtil.kt42 deltaY: Int in fling()
57 deltaY, in fling()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java1863 final int deltaY = 20; in testPositionAfterAnchorRemoval() local
1869 () -> container.scrollBy(deltaX, deltaY), in testPositionAfterAnchorRemoval()
1874 assertPopupLocation(originalLocation, deltaX, deltaY); in testPositionAfterAnchorRemoval()
1882 assertPopupLocation(originalLocation, deltaX, deltaY); in testPositionAfterAnchorRemoval()
1888 () -> container.scrollBy(deltaX, deltaY), in testPositionAfterAnchorRemoval()
1891 assertPopupLocation(originalLocation, deltaX, deltaY); in testPositionAfterAnchorRemoval()
1899 assertPopupLocation(originalLocation, deltaX * 2, deltaY * 2); in testPositionAfterAnchorRemoval()
2000 final int deltaY = 30; in testAnchorInPopup() local
2006 () -> container.scrollBy(deltaX, deltaY), in testAnchorInPopup()
2016 assertEquals(popupLocation[1] - deltaY, newPopupLocation[1]); in testAnchorInPopup()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java309 final int deltaY = coordinates.get(0).y - coordinates.get(1).y; in getMaxDragDuration() local
310 final double dragDistance = Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2)); in getMaxDragDuration()