/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
Cone.cpp | 58 double dotProduct = sourceToListener.dot(normalizedSourceOrientation); 59 double angle = 180.0 * acos(dotProduct) / piDouble;
|
/frameworks/base/services/core/java/com/android/server/power/ |
WirelessChargerDetector.java | 314 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2); 324 final boolean moved = (dotProduct < mag1 * mag2 * MOVEMENT_ANGLE_COS_THRESHOLD); 329 + ", angle=" + (Math.acos(dotProduct / mag1 / mag2) * 180 / Math.PI) 330 + ", dotProduct=" + dotProduct
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
GLArrowSensorTestRenderer.java | 182 mAngle = (float) Math.acos(dotProduct(event.values, Z_AXIS)); 216 public static float dotProduct(float[] left, float[] right) {
|
/frameworks/base/libs/hwui/ |
ShadowTessellator.cpp | 267 float dotProduct = vector1.dot(vector2); 268 // TODO: Use look up table for the dotProduct to extraVerticesNumber 270 float angle = acosf(dotProduct);
|
/frameworks/base/rs/java/android/renderscript/ |
Byte2.java | 265 public byte dotProduct(Byte2 a) { 276 public static byte dotProduct(Byte2 a, Byte2 b) {
|
Byte3.java | 285 public byte dotProduct(Byte3 a) { 296 public static byte dotProduct(Byte3 a, Byte3 b) {
|
Double2.java | 247 public double dotProduct(Double2 a) { 258 public static Double dotProduct(Double2 a, Double2 b) {
|
Double3.java | 265 public double dotProduct(Double3 a) { 276 public static double dotProduct(Double3 a, Double3 b) {
|
Float2.java | 246 public float dotProduct(Float2 a) { 257 public static float dotProduct(Float2 a, Float2 b) {
|
Float3.java | 265 public Float dotProduct(Float3 a) { 276 public static Float dotProduct(Float3 a, Float3 b) {
|
Int2.java | 319 public int dotProduct(Int2 a) { 330 public static int dotProduct(Int2 a, Int2 b) {
|
Long2.java | 319 public long dotProduct(Long2 a) { 330 public static long dotProduct(Long2 a, Long2 b) {
|
Short2.java | 322 public short dotProduct(Short2 a) { 333 public static short dotProduct(Short2 a, Short2 b) {
|
Byte4.java | 304 public byte dotProduct(Byte4 a) { 315 public static byte dotProduct(Byte4 a, Byte4 b) {
|
Double4.java | 284 public double dotProduct(Double4 a) { 295 public static double dotProduct(Double4 a, Double4 b) {
|
Float4.java | 284 public float dotProduct(Float4 a) { 295 public static float dotProduct(Float4 a, Float4 b) {
|
Int3.java | 343 public int dotProduct(Int3 a) { 354 public static int dotProduct(Int3 a, Int3 b) {
|
Int4.java | 367 public int dotProduct(Int4 a) { 378 public static int dotProduct(Int4 a, Int4 b) {
|
Long3.java | 343 public long dotProduct(Long3 a) { 354 public static long dotProduct(Long3 a, Long3 b) {
|
Long4.java | 367 public long dotProduct(Long4 a) { 378 public static long dotProduct(Long4 a, Long4 b) {
|
Short3.java | 343 public short dotProduct(Short3 a) { 354 public static short dotProduct(Short3 a, Short3 b) {
|
Short4.java | 367 public short dotProduct(Short4 a) { 378 public static short dotProduct(Short4 a, Short4 b) {
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_utils.h | 100 const float dotProduct = ray1x * ray2x + ray1y * ray2y; 107 const float projectionLengthSqr = dotProduct / lineLengthSqr;
|
/external/deqp/framework/referencerenderer/ |
rrRasterizer.cpp | 213 const deInt64 dotProduct = dot(v, cornerExitNormal); 215 // dotProduct > |v1-v0|*|cornerExitNormal|/sqrt(2) 216 if (dotProduct < 0) 218 return 2 * dotProduct * dotProduct > tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNormal); 226 const deInt64 dotProduct = dot(v, cornerExitNormal); 228 // dotProduct > -|v1-v0|*|cornerExitNormal|/sqrt(2) 229 if (dotProduct >= 0) 231 return 2 * (-dotProduct) * (-dotProduct) < tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNormal) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMathUtils.java | 149 public static float dotProduct(float[] a, float[] b) { 164 return dotProduct(a, b) / length;
|