Searched refs:lastPoint (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipPinchResizingAlgorithm.java | 42 PointF lastPoint, PointF lastSecondPoint, Point minSize, Point maxSize, in calculateBoundsAndAngle() argument 46 float dist = (float) Math.hypot(lastSecondPoint.x - lastPoint.x, in calculateBoundsAndAngle() 47 lastSecondPoint.y - lastPoint.y); in calculateBoundsAndAngle() 61 getCentroid(lastPoint, lastSecondPoint, mTmpLastCentroid); in calculateBoundsAndAngle() 68 mTmpLastVector.set(lastSecondPoint.x - lastPoint.x, in calculateBoundsAndAngle() 69 lastSecondPoint.y - lastPoint.y); in calculateBoundsAndAngle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | ZigZagClassifier.java | 222 Point lastPoint = points.get(points.size() - 1); in rotateMotionEvents() local 228 "After: (" + firstPoint.x + "," + firstPoint.y + "), (" + lastPoint.x + "," in rotateMotionEvents() 229 + lastPoint.y in rotateMotionEvents()
|