Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/transition/
DChangeScaleAndPosition.kt43 val screenLocation = IntArray(2) in getTransitionProperties() constant
44 view.getLocationOnScreen(screenLocation) in getTransitionProperties()
45 values[PROPNAME_POSX] = screenLocation[0] in getTransitionProperties()
46 values[PROPNAME_POSY] = screenLocation[1] in getTransitionProperties()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java785 final int screenLocation[] = new int[2]; in onOptionsItemSelected() local
786 targetView.getLocationOnScreen(screenLocation); in onOptionsItemSelected()
787 final int centerX = screenLocation[0] + targetView.getWidth() / 2; in onOptionsItemSelected()
788 final int centerY = screenLocation[1] + targetView.getHeight() / 2; in onOptionsItemSelected()