Searched refs:mTmpPoint (Results 1 – 4 of 4) 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/folder/ |
D | ClippedFolderIconLayoutRule.java | 16 private float[] mTmpPoint = new float[2]; field in ClippedFolderIconLayoutRule 42 getGridPosition(0, 2, mTmpPoint); in computePreviewItemDrawingParams() 46 getGridPosition(1, 2, mTmpPoint); in computePreviewItemDrawingParams() 49 mTmpPoint[0] = mTmpPoint[1] = mAvailableSpace / 2 - (mIconSize * totalScale) / 2; in computePreviewItemDrawingParams() 51 getPosition(index, curNumItems, mTmpPoint); in computePreviewItemDrawingParams() 54 transX = mTmpPoint[0]; in computePreviewItemDrawingParams() 55 transY = mTmpPoint[1]; in computePreviewItemDrawingParams()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 105 @Thunk final int[] mTmpPoint = new int[2]; field in CellLayout 748 cellToCenterPoint(cell[0], cell[1], mTmpPoint); in getDistanceFromCell() 749 return (float) Math.hypot(x - mTmpPoint[0], y - mTmpPoint[1]); in getDistanceFromCell() 980 final int[] topLeft = mTmpPoint; in visualizeDropLocation() 1172 final int[] cellXY = mTmpPoint; in findNearestArea() 1255 int[] curDirection = mTmpPoint; in findNearestArea() 1957 regionToCenterPoint(cellX0, cellY0, spanX, spanY, mTmpPoint); in ReorderPreviewAnimation() 1958 final int x0 = mTmpPoint[0]; in ReorderPreviewAnimation() 1959 final int y0 = mTmpPoint[1]; in ReorderPreviewAnimation() 1960 regionToCenterPoint(cellX1, cellY1, spanX, spanY, mTmpPoint); in ReorderPreviewAnimation() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragController.java | 106 private int mTmpPoint[] = new int[2]; field in DragController 372 mTmpPoint[0] = (int) Math.max(mDragLayerRect.left, Math.min(x, mDragLayerRect.right - 1)); in getClampedDragLayerPos() 373 mTmpPoint[1] = (int) Math.max(mDragLayerRect.top, Math.min(y, mDragLayerRect.bottom - 1)); in getClampedDragLayerPos() 374 return mTmpPoint; in getClampedDragLayerPos()
|