Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/view/
DSecureViewOverlay.java64 final int[] globalPos = new int[2]; in spoofLayout() local
65 getLocationOnScreen(globalPos); in spoofLayout()
66 int x = globalPos[0]; in spoofLayout()
67 int y = globalPos[1]; in spoofLayout()
69 original.getLocationOnScreen(globalPos); in spoofLayout()
70 x = globalPos[0] - x; in spoofLayout()
71 y = globalPos[1] - y; in spoofLayout()