Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java314 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2); in hasMoved() local
324 final boolean moved = (dotProduct < mag1 * mag2 * MOVEMENT_ANGLE_COS_THRESHOLD); in hasMoved()
329 + ", angle=" + (Math.acos(dotProduct / mag1 / mag2) * 180 / Math.PI) in hasMoved()
330 + ", dotProduct=" + dotProduct in hasMoved()
/frameworks/base/rs/java/android/renderscript/
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
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
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
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
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
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
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
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
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
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
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
/frameworks/base/libs/hwui/
DShadowTessellator.cpp267 float dotProduct = vector1.dot(vector2); in getExtraVertexNumber() local
270 float angle = acosf(dotProduct); in getExtraVertexNumber()