Home
last modified time | relevance | path

Searched refs:dotProduct (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DPoint.java56 public float dotProduct(Point a, Point b) { in dotProduct() method in Point
75 float dotProduct = dotProduct(a, b); in getAngle() local
76 float cos = Math.min(1.0f, Math.max(-1.0f, dotProduct / dist1 / dist2)); in getAngle()
/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java347 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2); in hasMoved() local
357 final boolean moved = (dotProduct < mag1 * mag2 * MOVEMENT_ANGLE_COS_THRESHOLD); in hasMoved()
362 + ", angle=" + (Math.acos(dotProduct / mag1 / mag2) * 180 / Math.PI) in hasMoved()
363 + ", dotProduct=" + dotProduct in hasMoved()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DVector3Test.java157 float xDotX = unitXAxis.dotProduct(unitXAxis);
158 float xDotY = unitXAxis.dotProduct(unitYAxis);
159 float xDotZ = unitXAxis.dotProduct(unitZAxis);
/frameworks/base/rs/java/android/renderscript/
DByte2.java265 public byte dotProduct(Byte2 a) { in dotProduct() method in Byte2
276 public static byte dotProduct(Byte2 a, Byte2 b) { in dotProduct() method in Byte2
DFloat2.java246 public float dotProduct(Float2 a) { in dotProduct() method in Float2
257 public static float dotProduct(Float2 a, Float2 b) { in dotProduct() method in Float2
DDouble2.java247 public double dotProduct(Double2 a) { in dotProduct() method in Double2
258 public static Double dotProduct(Double2 a, Double2 b) { in dotProduct() method in Double2
DShort2.java322 public short dotProduct(Short2 a) { in dotProduct() method in Short2
333 public static short dotProduct(Short2 a, Short2 b) { in dotProduct() method in Short2
DLong2.java319 public long dotProduct(Long2 a) { in dotProduct() method in Long2
330 public static long dotProduct(Long2 a, Long2 b) { in dotProduct() method in Long2
DInt2.java319 public int dotProduct(Int2 a) { in dotProduct() method in Int2
330 public static int dotProduct(Int2 a, Int2 b) { in dotProduct() method in Int2
DDouble3.java265 public double dotProduct(Double3 a) { in dotProduct() method in Double3
276 public static double dotProduct(Double3 a, Double3 b) { in dotProduct() method in Double3
DByte3.java285 public byte dotProduct(Byte3 a) { in dotProduct() method in Byte3
296 public static byte dotProduct(Byte3 a, Byte3 b) { in dotProduct() method in Byte3
DFloat3.java265 public Float dotProduct(Float3 a) { in dotProduct() method in Float3
276 public static Float dotProduct(Float3 a, Float3 b) { in dotProduct() method in Float3
DShort3.java343 public short dotProduct(Short3 a) { in dotProduct() method in Short3
354 public static short dotProduct(Short3 a, Short3 b) { in dotProduct() method in Short3
DInt3.java343 public int dotProduct(Int3 a) { in dotProduct() method in Int3
354 public static int dotProduct(Int3 a, Int3 b) { in dotProduct() method in Int3
DLong3.java343 public long dotProduct(Long3 a) { in dotProduct() method in Long3
354 public static long dotProduct(Long3 a, Long3 b) { in dotProduct() method in Long3
DFloat4.java284 public float dotProduct(Float4 a) { in dotProduct() method in Float4
295 public static float dotProduct(Float4 a, Float4 b) { in dotProduct() method in Float4
DByte4.java304 public byte dotProduct(Byte4 a) { in dotProduct() method in Byte4
315 public static byte dotProduct(Byte4 a, Byte4 b) { in dotProduct() method in Byte4
DDouble4.java284 public double dotProduct(Double4 a) { in dotProduct() method in Double4
295 public static double dotProduct(Double4 a, Double4 b) { in dotProduct() method in Double4
DLong4.java367 public long dotProduct(Long4 a) { in dotProduct() method in Long4
378 public static long dotProduct(Long4 a, Long4 b) { in dotProduct() method in Long4
DShort4.java367 public short dotProduct(Short4 a) { in dotProduct() method in Short4
378 public static short dotProduct(Short4 a, Short4 b) { in dotProduct() method in Short4
DInt4.java367 public int dotProduct(Int4 a) { in dotProduct() method in Int4
378 public static int dotProduct(Int4 a, Int4 b) { in dotProduct() method in Int4
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAnyMotionDetector.java383 return (float) Math.sqrt(dotProduct(this)); in norm()
401 Math.atan2(crossVector.norm(), dotProduct(other)))); in angleBetween()
425 public float dotProduct(Vector3 v) { in dotProduct() method in AnyMotionDetector.Vector3