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.java21 private float[] mTmpPoint = new float[2]; field in class:ClippedFolderIconLayoutRule
51 getPosition(index, curNumItems, mTmpPoint);
52 transX = mTmpPoint[0];
53 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/dragndrop/
H A DDragController.java90 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 DCellLayout.java97 @Thunk final int[] mTmpPoint = new int[2]; field in class:CellLayout
780 cellToCenterPoint(cell[0], cell[1], mTmpPoint);
781 return (float) Math.hypot(x - mTmpPoint[0], y - mTmpPoint[1]);
1022 final int[] topLeft = mTmpPoint;
1213 final int[] cellXY = mTmpPoint;
1296 int[] curDirection = mTmpPoint;
1984 regionToCenterPoint(cellX0, cellY0, spanX, spanY, mTmpPoint);
1985 final int x0 = mTmpPoint[0];
1986 final int y0 = mTmpPoint[
[all...]

Completed in 123 milliseconds