Home
last modified time | relevance | path

Searched refs:locationOnScreen (Results 1 – 4 of 4) 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()
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/
DDockItemViewHolder.kt171 val containerLocation = itemView.locationOnScreen in getDropContainerLocation()
176 val iconLocation = appIcon.locationOnScreen in getDropLocation()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragController.java456 int[] locationOnScreen = dragLayer.getLocationOnScreen(); in startSystemDrag() local
458 disallowExternalDropRegion.offset(locationOnScreen[0], locationOnScreen[1]); in startSystemDrag()