Searched refs:mTmpPoint (Results 1 - 6 of 6) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | ClippedFolderIconLayoutRule.java | 17 private float[] mTmpPoint = new float[2]; field in class:ClippedFolderIconLayoutRule 45 getGridPosition(0, 2, mTmpPoint); 49 getGridPosition(1, 2, mTmpPoint); 52 mTmpPoint[0] = mTmpPoint[1] = mAvailableSpace / 2 - (mIconSize * totalScale) / 2; 54 getPosition(index, curNumItems, mTmpPoint); 57 transX = mTmpPoint[0]; 58 transY = mTmpPoint[1];
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageDraw.java | 137 float[] mTmpPoint = new float[2]; // so we do not malloc field in class:ImageDraw 156 mTmpPoint[0] = event.getX(); 157 mTmpPoint[1] = event.getY(); 158 mToOrig.mapPoints(mTmpPoint); 159 mFRep.startNewSection( mTmpPoint[0], mTmpPoint[1]); 168 mTmpPoint[0] = event.getHistoricalX(p, h); 169 mTmpPoint[1] = event.getHistoricalY(p, h); 170 mToOrig.mapPoints(mTmpPoint); 171 mFRep.addPoint(mTmpPoint[ [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DragController.java | 116 private int mTmpPoint[] = new int[2]; field in class:DragController 398 mTmpPoint[0] = (int) Math.max(mDragLayerRect.left, Math.min(x, mDragLayerRect.right - 1)); 399 mTmpPoint[1] = (int) Math.max(mDragLayerRect.top, Math.min(y, mDragLayerRect.bottom - 1)); 400 return mTmpPoint;
|
H A D | CellLayout.java | 84 private final int[] mTmpPoint = new int[2]; field in class:CellLayout 894 cellToCenterPoint(cell[0], cell[1], mTmpPoint); 895 float distance = (float) Math.sqrt( Math.pow(x - mTmpPoint[0], 2) + 896 Math.pow(y - mTmpPoint[1], 2)); 1228 final int[] topLeft = mTmpPoint; 1542 int[] curDirection = mTmpPoint; 2293 regionToCenterPoint(cellX0, cellY0, spanX, spanY, mTmpPoint); 2294 final int x0 = mTmpPoint[0]; 2295 final int y0 = mTmpPoint[1]; 2296 regionToCenterPoint(cellX1, cellY1, spanX, spanY, mTmpPoint); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
H A D | DragController.java | 90 private int mTmpPoint[] = new int[2]; field in class:DragController 338 mTmpPoint[0] = (int) Math.max(mDragLayerRect.left, Math.min(x, mDragLayerRect.right - 1)); 339 mTmpPoint[1] = (int) Math.max(mDragLayerRect.top, Math.min(y, mDragLayerRect.bottom - 1)); 340 return mTmpPoint;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | CellLayout.java | 97 @Thunk final int[] mTmpPoint = new int[2]; field in class:CellLayout 775 cellToCenterPoint(cell[0], cell[1], mTmpPoint); 776 return (float) Math.hypot(x - mTmpPoint[0], y - mTmpPoint[1]); 1017 final int[] topLeft = mTmpPoint; 1208 final int[] cellXY = mTmpPoint; 1291 int[] curDirection = mTmpPoint; 1979 regionToCenterPoint(cellX0, cellY0, spanX, spanY, mTmpPoint); 1980 final int x0 = mTmpPoint[0]; 1981 final int y0 = mTmpPoint[ [all...] |
Completed in 373 milliseconds