Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java154 @Thunk int[] mTargetCell = new int[2]; field in Workspace
2337 mTargetCell = findNearestArea((int) mDragViewVisualCenter[0], in acceptDrop()
2339 mTargetCell); in acceptDrop()
2341 mDragViewVisualCenter[1], mTargetCell); in acceptDrop()
2343 dropTargetLayout, mTargetCell, distance, true)) { in acceptDrop()
2348 dropTargetLayout, mTargetCell, distance)) { in acceptDrop()
2353 mTargetCell = dropTargetLayout.performReorder((int) mDragViewVisualCenter[0], in acceptDrop()
2355 null, mTargetCell, resultSpan, CellLayout.MODE_ACCEPT_DROP); in acceptDrop()
2356 boolean foundCell = mTargetCell[0] >= 0 && mTargetCell[1] >= 0; in acceptDrop()
2546 long screenId = (mTargetCell[0] < 0) ? in onDrop()
[all …]
/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()