Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java25 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()
DRobustnessPath.java166 … double angle = Math.acos(MathsUtils.dotProduct(values, adjustedXAxis, MathsUtils.VECTOR_3D)); in calculateRotation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
DGLArrowSensorTestRenderer.java182 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/
DGpsMathOperations.java85 public static double dotProduct(double[] firstVector, double[] secondVector) in dotProduct() method in GpsMathOperations
/cts/libs/view/src/com/android/view/
DPosition.java42 public double dotProduct(Position other) { in dotProduct() method in Position
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DMathsUtils.java197 public static double dotProduct(float[] vector1, float[] vector2, int dimensions) { in dotProduct() method in MathsUtils