Searched refs:point2 (Results 1 – 2 of 2) sorted by relevance
456 private float distance(MotionEvent.PointerCoords point1, MotionEvent.PointerCoords point2) { in distance() argument457 return (float) Math.hypot((double) (point1.x - point2.x), (double) (point1.y - point2.y)); in distance()
515 static private Target.Floaty distance(double[] point1, double[] point2, Target t) { in distance() argument518 Target.Floaty diff = t.subtract(t.newFloaty(point1[i]), t.newFloaty(point2[i])); in distance()526 static private Target.Floaty distance(float[] point1, float[] point2, Target t) { in distance() argument529 Target.Floaty diff = t.subtract(t.new32(point1[i]), t.new32(point2[i])); in distance()