Searched refs:mTmpPoint (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageDraw.java | 137 float[] mTmpPoint = new float[2]; // so we do not malloc field in ImageDraw 156 mTmpPoint[0] = event.getX(); in onTouchEvent() 157 mTmpPoint[1] = event.getY(); in onTouchEvent() 158 mToOrig.mapPoints(mTmpPoint); in onTouchEvent() 159 mFRep.startNewSection( mTmpPoint[0], mTmpPoint[1]); in onTouchEvent() 168 mTmpPoint[0] = event.getHistoricalX(p, h); in onTouchEvent() 169 mTmpPoint[1] = event.getHistoricalY(p, h); in onTouchEvent() 170 mToOrig.mapPoints(mTmpPoint); in onTouchEvent() 171 mFRep.addPoint(mTmpPoint[0], mTmpPoint[1]); in onTouchEvent() 177 mTmpPoint[0] = event.getX(); in onTouchEvent() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DragController.java | 122 private int mTmpPoint[] = new int[2]; field in DragController 414 mTmpPoint[0] = (int) Math.max(mDragLayerRect.left, Math.min(x, mDragLayerRect.right - 1)); in getClampedDragLayerPos() 415 mTmpPoint[1] = (int) Math.max(mDragLayerRect.top, Math.min(y, mDragLayerRect.bottom - 1)); in getClampedDragLayerPos() 416 return mTmpPoint; in getClampedDragLayerPos()
|
D | CellLayout.java | 92 @Thunk final int[] mTmpPoint = new int[2]; field in CellLayout 809 cellToCenterPoint(cell[0], cell[1], mTmpPoint); in getDistanceFromCell() 810 return (float) Math.hypot(x - mTmpPoint[0], y - mTmpPoint[1]); in getDistanceFromCell() 1074 final int[] topLeft = mTmpPoint; in visualizeDropLocation() 1289 final int[] cellXY = mTmpPoint; in findNearestArea() 1374 int[] curDirection = mTmpPoint; in findNearestArea() 2140 regionToCenterPoint(cellX0, cellY0, spanX, spanY, mTmpPoint); in ReorderPreviewAnimation() 2141 final int x0 = mTmpPoint[0]; in ReorderPreviewAnimation() 2142 final int y0 = mTmpPoint[1]; in ReorderPreviewAnimation() 2143 regionToCenterPoint(cellX1, cellY1, spanX, spanY, mTmpPoint); in ReorderPreviewAnimation() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DragController.java | 116 private int mTmpPoint[] = new int[2]; field in DragController 398 mTmpPoint[0] = (int) Math.max(mDragLayerRect.left, Math.min(x, mDragLayerRect.right - 1)); in getClampedDragLayerPos() 399 mTmpPoint[1] = (int) Math.max(mDragLayerRect.top, Math.min(y, mDragLayerRect.bottom - 1)); in getClampedDragLayerPos() 400 return mTmpPoint; in getClampedDragLayerPos()
|
D | CellLayout.java | 84 private final int[] mTmpPoint = new int[2]; field in CellLayout 894 cellToCenterPoint(cell[0], cell[1], mTmpPoint); in getDistanceFromCell() 895 float distance = (float) Math.sqrt( Math.pow(x - mTmpPoint[0], 2) + in getDistanceFromCell() 896 Math.pow(y - mTmpPoint[1], 2)); in getDistanceFromCell() 1228 final int[] topLeft = mTmpPoint; in visualizeDropLocation() 1542 int[] curDirection = mTmpPoint; in findNearestArea() 2293 regionToCenterPoint(cellX0, cellY0, spanX, spanY, mTmpPoint); in ReorderHintAnimation() 2294 final int x0 = mTmpPoint[0]; in ReorderHintAnimation() 2295 final int y0 = mTmpPoint[1]; in ReorderHintAnimation() 2296 regionToCenterPoint(cellX1, cellY1, spanX, spanY, mTmpPoint); in ReorderHintAnimation() [all …]
|