Home
last modified time | relevance | path

Searched refs:parentLocation (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DTouchDelegateTestActivity.java72 final int[] parentLocation = new int[2]; in onCreate()
73 parent.getLocationInWindow(parentLocation); in onCreate()
76 x = parentLocation[0] + parent.getWidth() / 2; in onCreate()
77 final int gap = buttonLocation[1] - parentLocation[1]; in onCreate()
84 parentViewY = parentLocation[1] + gap / 4; in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DLocationInWindowTests.java130 final Point parentLocation = locationInWindowAsPoint(parent); in assertThatViewGetLocationInWindowIsCorrect() local
131 expected[0] += parentLocation.x; in assertThatViewGetLocationInWindowIsCorrect()
132 expected[1] += parentLocation.y; in assertThatViewGetLocationInWindowIsCorrect()