Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java633 Point iconShift = new Point();
634 iconShift.x = mIconLastTouchPos.x - sv.getIconCenter().x;
635 iconShift.y = mIconLastTouchPos.y - mLauncher.getDeviceProfile().iconSizePx;
642 new ShortcutDragPreviewProvider(sv.getIconView(), iconShift),
644 dv.animateShift(-iconShift.x, -iconShift.y);
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarPopupController.java227 Point iconShift = new Point(); in onLongClick() local
228 iconShift.x = mIconLastTouchPos.x - sv.getIconCenter().x; in onLongClick()
229 iconShift.y = mIconLastTouchPos.y - mContext.getDeviceProfile().taskbarIconSize; in onLongClick()
232 v.getContext()).getDragController()).startDragOnLongClick(sv, iconShift); in onLongClick()
DTaskbarDragController.java150 DeepShortcutView shortcutView, Point iconShift) { in startDragOnLongClick() argument
153 new ShortcutDragPreviewProvider(shortcutView.getIconView(), iconShift), in startDragOnLongClick()
154 iconShift); in startDragOnLongClick()
160 @Nullable Point iconShift) { in startDragOnLongClick() argument
172 if (iconShift != null) { in startDragOnLongClick()
173 dragView.animateShift(-iconShift.x, -iconShift.y); in startDragOnLongClick()