Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/app/list/
DPhoneFavoriteListView.java41 final int[] locationOnScreen = new int[2]; field in PhoneFavoriteListView
225 tileView.getLocationOnScreen(locationOnScreen); in onDragStarted()
226 dragShadowLeft = locationOnScreen[0]; in onDragStarted()
227 dragShadowTop = locationOnScreen[1]; in onDragStarted()
237 dragShadowParent.getLocationOnScreen(locationOnScreen); in onDragStarted()
238 dragShadowLeft -= locationOnScreen[0]; in onDragStarted()
239 dragShadowTop -= locationOnScreen[1]; in onDragStarted()
252 dragShadowParent.getLocationOnScreen(locationOnScreen); in onDragHovered()
253 dragShadowLeft = x - touchOffsetToChildLeft - locationOnScreen[0]; in onDragHovered()
254 dragShadowTop = y - touchOffsetToChildTop - locationOnScreen[1]; in onDragHovered()
[all …]
DDragDropController.java31 private final int[] locationOnScreen = new int[2]; field in DragDropController
39 v.getLocationOnScreen(locationOnScreen); in handleDragStarted()
40 x = x + locationOnScreen[0]; in handleDragStarted()
41 y = y + locationOnScreen[1]; in handleDragStarted()
54 v.getLocationOnScreen(locationOnScreen); in handleDragHovered()
55 final int screenX = x + locationOnScreen[0]; in handleDragHovered()
56 final int screenY = y + locationOnScreen[1]; in handleDragHovered()