Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DOrientationRectF.java36 private final float[] mTmpPoint = new float[2]; field in OrientationRectF
82 mTmpPoint[0] = event.getX(); in applyTransform()
83 mTmpPoint[1] = event.getY(); in applyTransform()
84 mTmpMatrix.mapPoints(mTmpPoint); in applyTransform()
88 + " new: " + mTmpPoint[0] + ", " + mTmpPoint[1] in applyTransform()
90 + " contains: " + contains(mTmpPoint[0], mTmpPoint[1]) in applyTransform()
94 if (contains(mTmpPoint[0], mTmpPoint[1])) { in applyTransform()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageDraw.java137 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/
DClippedFolderIconLayoutRule.java18 private float[] mTmpPoint = new float[2]; field in ClippedFolderIconLayoutRule
43 getGridPosition(0, 2, mTmpPoint); in computePreviewItemDrawingParams()
47 getGridPosition(1, 2, mTmpPoint); in computePreviewItemDrawingParams()
50 mTmpPoint[0] = mTmpPoint[1] = mAvailableSpace / 2 - (mIconSize * totalScale) / 2; in computePreviewItemDrawingParams()
52 getPosition(index, curNumItems, mTmpPoint); in computePreviewItemDrawingParams()
55 transX = mTmpPoint[0]; in computePreviewItemDrawingParams()
56 transY = mTmpPoint[1]; in computePreviewItemDrawingParams()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragController.java80 protected final Point mTmpPoint = new Point(); field in DragController
365 mTmpPoint.x = (int) Math.max(mRectTemp.left, Math.min(x, mRectTemp.right - 1)); in getClampedDragLayerPos()
366 mTmpPoint.y = (int) Math.max(mRectTemp.top, Math.min(y, mRectTemp.bottom - 1)); in getClampedDragLayerPos()
367 return mTmpPoint; in getClampedDragLayerPos()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java113 @Thunk final int[] mTmpPoint = new int[2]; field in CellLayout
897 getWorkspaceCellVisualCenter(cell[0], cell[1], mTmpPoint); in getDistanceFromWorkspaceCellVisualCenter()
898 return (float) Math.hypot(x - mTmpPoint[0], y - mTmpPoint[1]); in getDistanceFromWorkspaceCellVisualCenter()
931 int[] centerPoint = mTmpPoint; in getReorderRadius()
1314 final int[] cellXY = mTmpPoint; in findNearestArea()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragController.java723 mTmpPoint.set(Math.round(x), Math.round(y)); in getClampedDragLayerPos()
724 return mTmpPoint; in getClampedDragLayerPos()