Searched refs:dotProduct (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | Point.java | 68 public float dotProduct(Point a, Point b) { in dotProduct() method in Point 87 float dotProduct = dotProduct(a, b); in getAngle() local 88 float cos = Math.min(1.0f, Math.max(-1.0f, dotProduct / dist1 / dist2)); in getAngle()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/ |
D | VectorMath.java | 31 public static float dotProduct(float vx, float vy, float ux, float uy) { in dotProduct() method in VectorMath 37 return (float) Math.sqrt(dotProduct(vx, vy, vx, vy)); in norm2()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_utils.h | 101 const float dotProduct = ray1x * ray2x + ray1y * ray2y; in pointToLineSegSquaredDistanceFloat() local 108 const float projectionLengthSqr = dotProduct / lineLengthSqr; in pointToLineSegSquaredDistanceFloat()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GeometryMathUtils.java | 149 public static float dotProduct(float[] a, float[] b) { in dotProduct() method in GeometryMathUtils 164 return dotProduct(a, b) / length; in scalarProjection()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | MediaActivity.java | 668 float dot = VectorMath.dotProduct(mCloseVectorX, mCloseVectorY, moveX, moveY); in onFling()
|