Home
last modified time | relevance | path

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

/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/view/
DDockDragListener.kt76 override fun onDrag(view: View, dragEvent: DragEvent): Boolean { in <lambda>()
77 when (dragEvent.action) { in <lambda>()
79 return APP_ITEM_DRAG_TAG.contentEquals(dragEvent.clipDescription?.label) in <lambda>()
94 item = dragEvent.clipData.getItemAt(0) in <lambda>()
122 dragEvent.dragSurface?.let { in <lambda>()
124 animateSurfaceIn(it, dragEvent, component) in <lambda>()
143 dragEvent: DragEvent, in <lambda>()
149 val fromX: Float = dropContainerLocation.x + (dragEvent.x - dragEvent.offsetX) in <lambda>()
150 val fromY: Float = dropContainerLocation.y + (dragEvent.y - dragEvent.offsetY) in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragController.java481 mActivity.getDragLayer().setOnDragListener((view, dragEvent) -> { in onSystemDragStarted()
482 switch (dragEvent.getAction()) { in onSystemDragStarted()
488 if (dragEvent.getResult()) { in onSystemDragStarted()
492 animateGlobalDragViewToOriginalPosition(btv, dragEvent); in onSystemDragStarted()
577 DragEvent dragEvent) { in animateGlobalDragViewToOriginalPosition() argument
578 SurfaceControl dragSurface = dragEvent.getDragSurface(); in animateGlobalDragViewToOriginalPosition()
583 float fromX = dragEvent.getX() - dragEvent.getOffsetX(); in animateGlobalDragViewToOriginalPosition()
584 float fromY = dragEvent.getY() - dragEvent.getOffsetY(); in animateGlobalDragViewToOriginalPosition()