Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java116 private int[] mTargetCell = new int[2]; field in Workspace
2004 mTargetCell = findNearestArea((int) mDragViewVisualCenter[0],
2006 mTargetCell);
2008 mDragViewVisualCenter[1], mTargetCell);
2010 mTargetCell, distance, true)) {
2014 mTargetCell, distance)) {
2019 mTargetCell = dropTargetLayout.createArea((int) mDragViewVisualCenter[0],
2021 null, mTargetCell, resultSpan, CellLayout.MODE_ACCEPT_DROP);
2022 boolean foundCell = mTargetCell[0] >= 0 && mTargetCell[1] >= 0;
2029 if (mTargetCell != null && isHotseat) {
[all …]
DFolder.java89 private int[] mTargetCell = new int[2]; field in Folder
562 realTimeReorder(mEmptyCell, mTargetCell);
624 mTargetCell = mContent.findNearestArea((int) r[0], (int) r[1], 1, 1, mTargetCell); in onDragOver()
627 mTargetCell[0] = mContent.getCountX() - mTargetCell[0] - 1; in onDragOver()
630 if (mTargetCell[0] != mPreviousTargetCell[0] || mTargetCell[1] != mPreviousTargetCell[1]) { in onDragOver()
634 mPreviousTargetCell[0] = mTargetCell[0]; in onDragOver()
635 mPreviousTargetCell[1] = mTargetCell[1]; in onDragOver()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java138 @Thunk int[] mTargetCell = new int[2]; field in Workspace
2539 mTargetCell = findNearestArea((int) mDragViewVisualCenter[0], in acceptDrop()
2541 mTargetCell); in acceptDrop()
2543 mDragViewVisualCenter[1], mTargetCell); in acceptDrop()
2545 dropTargetLayout, mTargetCell, distance, true)) { in acceptDrop()
2550 dropTargetLayout, mTargetCell, distance)) { in acceptDrop()
2555 mTargetCell = dropTargetLayout.performReorder((int) mDragViewVisualCenter[0], in acceptDrop()
2557 null, mTargetCell, resultSpan, CellLayout.MODE_ACCEPT_DROP); in acceptDrop()
2558 boolean foundCell = mTargetCell[0] >= 0 && mTargetCell[1] >= 0; in acceptDrop()
2565 if (mTargetCell != null && isHotseat) { in acceptDrop()
[all …]