Searched defs: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/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 DDragController.java108 private int mTmpPoint[] = new int[2]; field in class:DragController
391 mTmpPoint[0] = (int) Math.max(mDragLayerRect.left, Math.min(x, mDragLayerRect.right - 1));
392 mTmpPoint[1] = (int) Math.max(mDragLayerRect.top, Math.min(y, mDragLayerRect.bottom - 1));
393 return mTmpPoint;
H A DCellLayout.java80 private final int[] mTmpPoint = new int[2]; field in class:CellLayout
784 cellToCenterPoint(cell[0], cell[1], mTmpPoint);
785 float distance = (float) Math.sqrt( Math.pow(x - mTmpPoint[0], 2) +
786 Math.pow(y - mTmpPoint[1], 2));
1100 final int[] topLeft = mTmpPoint;
1416 int[] curDirection = mTmpPoint;
2182 regionToCenterPoint(cellX0, cellY0, spanX, spanY, mTmpPoint);
2183 final int x0 = mTmpPoint[0];
2184 final int y0 = mTmpPoint[1];
2185 regionToCenterPoint(cellX1, cellY1, spanX, spanY, mTmpPoint);
[all...]
H A DPagedView.java241 private float[] mTmpPoint = new float[2]; field in class:PagedView
371 mTmpPoint[0] = x;
372 mTmpPoint[1] = y;
373 v.getMatrix().mapPoints(mTmpPoint);
374 mTmpPoint[0] += v.getLeft();
375 mTmpPoint[1] += v.getTop();
376 return mTmpPoint;
379 mTmpPoint[0] = x - v.getLeft();
380 mTmpPoint[1] = y - v.getTop();
382 mTmpInvMatrix.mapPoints(mTmpPoint);
[all...]

Completed in 132 milliseconds