Home
last modified time | relevance | path

Searched refs:MathsUtils (Results 1 – 19 of 19) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
DBaseRenderer.java21 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
24 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.MATRIX_4X4;
25 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.ORIENTATION_360_ANTI_CLOCKWI…
26 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.X;
27 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
28 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Z;
140 case MathsUtils.ORIENTATION_0: in onSurfaceChanged()
141 case MathsUtils.ORIENTATION_180_ANTI_CLOCKWISE: in onSurfaceChanged()
142 case MathsUtils.ORIENTATION_360_ANTI_CLOCKWISE: in onSurfaceChanged()
144 case MathsUtils.ORIENTATION_90_ANTI_CLOCKWISE: in onSurfaceChanged()
[all …]
DComplexMovementRenderer.java24 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
29 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.MATRIX_4X4;
85 MathsUtils.convertToOpenGlCoordinates(ring.getLocation(), mOpenGlRotation); in onSurfaceCreated()
87 MathsUtils.convertToOpenGlCoordinates(ring.getRingRotation(), mOpenGlRotation); in onSurfaceCreated()
125 mLight.updateLightPosition(MathsUtils.convertToOpenGlCoordinates( in doTestSpecificRendering()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DConeModelMatrixCalculator.java19 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
21 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.X;
22 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
23 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Z;
39 … float[] convertedTranslation = MathsUtils.convertToOpenGlCoordinates(translation, mToRotate); in updateModelMatrix()
44 float[] translationMatrix = new float[MathsUtils.MATRIX_4X4]; in updateModelMatrix()
49 … float[] openGlRingPosition = MathsUtils.convertToOpenGlCoordinates(lookAtPosition, mToRotate); in updateModelMatrix()
50 float[] rotationTransformation = new float[MathsUtils.MATRIX_4X4]; in updateModelMatrix()
52 float[] relativeVector = new float[MathsUtils.VECTOR_3D]; in updateModelMatrix()
59 MathsUtils.setLookAtM(rotationTransformation, in updateModelMatrix()
DModelMatrixCalculator.java18 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.MATRIX_4X4;
19 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.X;
20 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
21 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Z;
25 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
97 quaternionMatrix = MathsUtils.quaternionMatrixOpenGL(quaternion); in calculateModelMatrix()
109 MathsUtils.getDeviceOrientationMatrix(mToRotate), 0); in calculateModelMatrix()
126 … float[] convertedTranslation = MathsUtils.convertToOpenGlCoordinates(translation, mToRotate); in updateModelMatrix()
131 mDevice2IMUMatrix = MathsUtils.quaternionMatrixOpenGL(quaternion); in setDevice2IMUMatrix()
141 mColorCamera2IMUMatrix = MathsUtils.quaternionMatrixOpenGL(quaternion); in setColorCamera2IMUMatrix()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
DRenderable.java19 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
21 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.X;
22 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
23 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Z;
43 private float[] mModelMatrix = new float[MathsUtils.MATRIX_4X4];
44 private float[] mMvMatrix = new float[MathsUtils.MATRIX_4X4];
45 private float[] mMvpMatrix = new float[MathsUtils.MATRIX_4X4];
DRingRenderable.java22 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
24 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.X;
25 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
26 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Z;
55 float[] overallTransformation = new float[MathsUtils.MATRIX_4X4]; in RingRenderable()
59 float[] rotationTransformation = new float[MathsUtils.MATRIX_4X4]; in RingRenderable()
63 MathsUtils.setLookAtM(rotationTransformation, in RingRenderable()
71 float[] translationTransformation = new float[MathsUtils.MATRIX_4X4]; in RingRenderable()
DLight.java18 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.X;
19 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
20 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Z;
DRectangleRenderable.java18 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.X;
19 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
20 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Z;
DCameraPreviewRenderable.java18 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.X;
19 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
20 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Z;
DConeRenderable.java18 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.X;
19 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
20 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Z;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DRobustnessPath.java19 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
158 MathsUtils.normalizeVector(values); in calculateRotation()
162 Matrix.multiplyMV(adjustedXAxis, 0, MathsUtils.getDeviceOrientationMatrix(mOpenGlRotation), in calculateRotation()
166 … double angle = Math.acos(MathsUtils.dotProduct(values, adjustedXAxis, MathsUtils.VECTOR_3D)); in calculateRotation()
169 angle = Math.toDegrees(angle) - MathsUtils.ORIENTATION_90_ANTI_CLOCKWISE; in calculateRotation()
209 mDistanceOfPathFailedRotation += MathsUtils.distanceCalculationOnXYPlane( in testRotation()
227 if (MathsUtils.distanceCalculationInXYZSpace(marker.getCoordinates(), in checkIfRotationTestable()
DReferencePath.java20 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
79 distance = MathsUtils.distanceCalculationOnXYPlane( in calculatePathRemaining()
118 if (MathsUtils.distanceCalculationInXYZSpace(waypoint.getCoordinates(), in validateWaypointDistance()
159 float distance = MathsUtils.distanceCalculationInXYZSpace( in validateBackToStart()
DComplexMovementPath.java21 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.VECTOR_2D;
22 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.X;
23 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Y;
24 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.Z;
25 import static com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils.dotProduct;
27 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
210 pathRemaining += MathsUtils.distanceCalculationOnXYPlane( in calculateRingLocationOnPath()
DPath.java19 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
65 float distance = MathsUtils.distanceCalculationOnXYPlane( in getLengthOfCurrentPath()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/
DTest.java21 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
132 distance = MathsUtils.distanceCalculationInXYZSpace( in markerTest()
163 String referenceMarker = MathsUtils.coordinatesToString( in recordMarkerTestResults()
165 String testMarker = MathsUtils.coordinatesToString( in recordMarkerTestResults()
202 distance = MathsUtils.distanceCalculationOnXYPlane( in calculatePathDistance()
DRobustnessTest.java22 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
120 String markerToPlace = MathsUtils.coordinatesToString( in recordTimerTestResults()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DManager.java132 MathsUtils.coordinatesToString(initialCoords); in addPoseDataToPath()
134 MathsUtils.distanceCalculationInXYZSpace( in addPoseDataToPath()
142 + MathsUtils.coordinatesToString(coordinates); in addPoseDataToPath()
DMathsUtils.java28 public class MathsUtils { class
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/
DAccuracyFragment.java26 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
177MathsUtils.coordinatesToString(waypoint.getCoordinates()) + "\n"; in setupUILoop()