Searched refs:mTmpPoint (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageDraw.java137 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/Launcher3/src/com/android/launcher3/folder/
H A DClippedFolderIconLayoutRule.java20 private float[] mTmpPoint = new float[2]; field in class:ClippedFolderIconLayoutRule
50 getPosition(index, curNumItems, mTmpPoint);
51 transX = mTmpPoint[0];
52 transY = mTmpPoint[1];
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragController.java116 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 DCellLayout.java84 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/
H A DCellLayout.java103 @Thunk final int[] mTmpPoint = new int[2]; field in class:CellLayout
804 cellToCenterPoint(cell[0], cell[1], mTmpPoint);
805 return (float) Math.hypot(x - mTmpPoint[0], y - mTmpPoint[1]);
1078 final int[] topLeft = mTmpPoint;
1271 final int[] cellXY = mTmpPoint;
1354 int[] curDirection = mTmpPoint;
2040 regionToCenterPoint(cellX0, cellY0, spanX, spanY, mTmpPoint);
2041 final int x0 = mTmpPoint[0];
2042 final int y0 = mTmpPoint[
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DDragController.java128 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;

Completed in 1703 milliseconds