Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java1967 CellLayout dropTargetLayout = mDropToLayout;
1970 if (dropTargetLayout == null) {
1979 if (mLauncher.isHotseatLayout(dropTargetLayout)) {
1982 mapPointFromSelfToChild(dropTargetLayout, mDragViewVisualCenter, null);
2005 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, dropTargetLayout,
2007 float distance = dropTargetLayout.getDistanceFromCell(mDragViewVisualCenter[0],
2009 if (willCreateUserFolder((ItemInfo) d.dragInfo, dropTargetLayout,
2013 if (willAddToExistingUserFolder((ItemInfo) d.dragInfo, dropTargetLayout,
2019 mTargetCell = dropTargetLayout.createArea((int) mDragViewVisualCenter[0],
2028 boolean isHotseat = mLauncher.isHotseatLayout(dropTargetLayout);
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2503 CellLayout dropTargetLayout = mDropToLayout; in acceptDrop() local
2506 if (dropTargetLayout == null) { in acceptDrop()
2514 if (mLauncher.isHotseatLayout(dropTargetLayout)) { in acceptDrop()
2517 mapPointFromSelfToChild(dropTargetLayout, mDragViewVisualCenter, null); in acceptDrop()
2540 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, dropTargetLayout, in acceptDrop()
2542 float distance = dropTargetLayout.getDistanceFromCell(mDragViewVisualCenter[0], in acceptDrop()
2545 dropTargetLayout, mTargetCell, distance, true)) { in acceptDrop()
2550 dropTargetLayout, mTargetCell, distance)) { in acceptDrop()
2555 mTargetCell = dropTargetLayout.performReorder((int) mDragViewVisualCenter[0], in acceptDrop()
2564 boolean isHotseat = mLauncher.isHotseatLayout(dropTargetLayout); in acceptDrop()
[all …]