/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | Point.java | 56 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/ |
D | WirelessChargerDetector.java | 347 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/ |
D | Vector3Test.java | 157 float xDotX = unitXAxis.dotProduct(unitXAxis); 158 float xDotY = unitXAxis.dotProduct(unitYAxis); 159 float xDotZ = unitXAxis.dotProduct(unitZAxis);
|
/frameworks/base/rs/java/android/renderscript/ |
D | Byte2.java | 265 public byte dotProduct(Byte2 a) { in dotProduct() method in Byte2 276 public static byte dotProduct(Byte2 a, Byte2 b) { in dotProduct() method in Byte2
|
D | Float2.java | 246 public float dotProduct(Float2 a) { in dotProduct() method in Float2 257 public static float dotProduct(Float2 a, Float2 b) { in dotProduct() method in Float2
|
D | Double2.java | 247 public double dotProduct(Double2 a) { in dotProduct() method in Double2 258 public static Double dotProduct(Double2 a, Double2 b) { in dotProduct() method in Double2
|
D | Short2.java | 322 public short dotProduct(Short2 a) { in dotProduct() method in Short2 333 public static short dotProduct(Short2 a, Short2 b) { in dotProduct() method in Short2
|
D | Long2.java | 319 public long dotProduct(Long2 a) { in dotProduct() method in Long2 330 public static long dotProduct(Long2 a, Long2 b) { in dotProduct() method in Long2
|
D | Int2.java | 319 public int dotProduct(Int2 a) { in dotProduct() method in Int2 330 public static int dotProduct(Int2 a, Int2 b) { in dotProduct() method in Int2
|
D | Double3.java | 265 public double dotProduct(Double3 a) { in dotProduct() method in Double3 276 public static double dotProduct(Double3 a, Double3 b) { in dotProduct() method in Double3
|
D | Byte3.java | 285 public byte dotProduct(Byte3 a) { in dotProduct() method in Byte3 296 public static byte dotProduct(Byte3 a, Byte3 b) { in dotProduct() method in Byte3
|
D | Float3.java | 265 public Float dotProduct(Float3 a) { in dotProduct() method in Float3 276 public static Float dotProduct(Float3 a, Float3 b) { in dotProduct() method in Float3
|
D | Short3.java | 343 public short dotProduct(Short3 a) { in dotProduct() method in Short3 354 public static short dotProduct(Short3 a, Short3 b) { in dotProduct() method in Short3
|
D | Int3.java | 343 public int dotProduct(Int3 a) { in dotProduct() method in Int3 354 public static int dotProduct(Int3 a, Int3 b) { in dotProduct() method in Int3
|
D | Long3.java | 343 public long dotProduct(Long3 a) { in dotProduct() method in Long3 354 public static long dotProduct(Long3 a, Long3 b) { in dotProduct() method in Long3
|
D | Float4.java | 284 public float dotProduct(Float4 a) { in dotProduct() method in Float4 295 public static float dotProduct(Float4 a, Float4 b) { in dotProduct() method in Float4
|
D | Byte4.java | 304 public byte dotProduct(Byte4 a) { in dotProduct() method in Byte4 315 public static byte dotProduct(Byte4 a, Byte4 b) { in dotProduct() method in Byte4
|
D | Double4.java | 284 public double dotProduct(Double4 a) { in dotProduct() method in Double4 295 public static double dotProduct(Double4 a, Double4 b) { in dotProduct() method in Double4
|
D | Long4.java | 367 public long dotProduct(Long4 a) { in dotProduct() method in Long4 378 public static long dotProduct(Long4 a, Long4 b) { in dotProduct() method in Long4
|
D | Short4.java | 367 public short dotProduct(Short4 a) { in dotProduct() method in Short4 378 public static short dotProduct(Short4 a, Short4 b) { in dotProduct() method in Short4
|
D | Int4.java | 367 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/ |
D | AnyMotionDetector.java | 383 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
|