Home
last modified time | relevance | path

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

/sdk/apps/NotificationStudio/src/com/android/notificationstudio/
DNotificationStudioActivity.java231 int screenCoords[] = new int[2]; in dispatchTouchEvent() local
232 currentFocus.getLocationOnScreen(screenCoords); in dispatchTouchEvent()
233 float x = event.getRawX() + currentFocus.getLeft() - screenCoords[0]; in dispatchTouchEvent()
234 float y = event.getRawY() + currentFocus.getTop() - screenCoords[1]; in dispatchTouchEvent()