Home
last modified time | relevance | path

Searched refs:lastPoint (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipPinchResizingAlgorithm.java42 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/layoutlib/bridge/src/android/graphics/
DPathMeasure_Delegate.java184 float[] lastPoint = new float[2]; in native_getSegment() local
185 iterator.getCurrentSegmentEnd(lastPoint); in native_getSegment()
186 Path_Delegate.nMoveTo(native_dst_path, lastPoint[0], lastPoint[1]); in native_getSegment()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DZigZagClassifier.java219 Point lastPoint = points.get(points.size() - 1); in rotateMotionEvents() local
225 "After: (" + firstPoint.x + "," + firstPoint.y + "), (" + lastPoint.x + "," in rotateMotionEvents()
226 + lastPoint.y in rotateMotionEvents()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DCachedPathIteratorFactory.java407 float lastPoint[] = new float[2]; in jumpToSegment() local
413 mCoordinates[mNextIndex], lastPoint[0], lastPoint[1], in jumpToSegment()
431 getShapeEndPoint(mTypes[mNextIndex], mCoordinates[mNextIndex], lastPoint); in jumpToSegment()