Searched refs:mTempXY (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspace.java197 private final int[] mTempXY = new int[2]; field in class:Workspace
2243 float scale = mLauncher.getDragLayer().getLocationInDragLayer(child, mTempXY);
2244 int dragLayerX = Math.round(mTempXY[0] - (bmpWidth - scale * child.getWidth()) / 2);
2245 int dragLayerY = Math.round(mTempXY[1] - (bmpHeight - scale * bmpHeight) / 2
2264 dragLayerX = Math.round(mTempXY[0]);
2266 dragLayerX = Math.round(mTempXY[0] + relativeTouchPos.x - (bmpWidth / 2));
2324 float scale = mLauncher.getDragLayer().getLocationInDragLayer(child, mTempXY) * iconScale;
2325 int dragLayerX = Math.round(mTempXY[0] - (bmpWidth - scale * child.getWidth()) / 2);
2326 int dragLayerY = Math.round(mTempXY[1]);
2772 mTempXY[
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DWorkspace.java174 private final int[] mTempXY = new int[2]; field in class:Workspace
1906 float scale = mLauncher.getDragLayer().getLocationInDragLayer(child, mTempXY);
1908 Math.round(mTempXY[0] - (bmpWidth - scale * child.getWidth()) / 2);
1910 Math.round(mTempXY[1] - (bmpHeight - scale * bmpHeight) / 2

Completed in 45 milliseconds