Searched refs:dotProduct (Results 1 – 6 of 6) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/ |
D | ComplexMovementPath.java | 25 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.dotProduct; 313 if (dotProduct(rectangleVector1, locationVector, VECTOR_2D) > 0) { in checkCollision() 314 if (dotProduct(rectangleVector1, rectangleVector1, VECTOR_2D) in checkCollision() 315 > dotProduct(rectangleVector1, locationVector, VECTOR_2D)) { in checkCollision() 316 if (dotProduct(rectangleVector2, locationVector, VECTOR_2D) > 0) { in checkCollision() 317 if (dotProduct(rectangleVector2, rectangleVector2, VECTOR_2D) in checkCollision() 318 > dotProduct(rectangleVector2, locationVector, VECTOR_2D)) { in checkCollision()
|
D | RobustnessPath.java | 166 … double angle = Math.acos(MathsUtils.dotProduct(values, adjustedXAxis, MathsUtils.VECTOR_3D)); in calculateRotation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
D | GLArrowSensorTestRenderer.java | 182 mAngle = (float) Math.acos(dotProduct(event.values, Z_AXIS)); in onSensorChanged() 216 public static float dotProduct(float[] left, float[] right) { in dotProduct() method in GLArrowSensorTestRenderer
|
/cts/tests/tests/location/src/android/location/cts/psedorange/ |
D | GpsMathOperations.java | 85 public static double dotProduct(double[] firstVector, double[] secondVector) in dotProduct() method in GpsMathOperations
|
/cts/libs/view/src/com/android/view/ |
D | Position.java | 42 public double dotProduct(Position other) { in dotProduct() method in Position
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | MathsUtils.java | 197 public static double dotProduct(float[] vector1, float[] vector2, int dimensions) { in dotProduct() method in MathsUtils
|