Home
last modified time | relevance | path

Searched refs:coordinates (Results 1 – 14 of 14) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DMathsUtils.java57 public static float[] rotateCoordinates(float[] coordinates, int toRotate) { in rotateCoordinates() argument
63 inCurrentOrientation = coordinates; in rotateCoordinates()
66 inCurrentOrientation = new float[]{coordinates[Y], -coordinates[X], in rotateCoordinates()
67 coordinates[Z]}; in rotateCoordinates()
70 inCurrentOrientation = new float[]{coordinates[X], coordinates[Y], in rotateCoordinates()
71 coordinates[Z]}; in rotateCoordinates()
74 inCurrentOrientation = new float[]{-coordinates[Y], coordinates[X], in rotateCoordinates()
75 coordinates[Z]}; in rotateCoordinates()
256 public static String coordinatesToString(float[] coordinates) { in coordinatesToString() argument
259 for (int i = 0; i < coordinates.length; i++) { in coordinatesToString()
[all …]
DManager.java122 float[] coordinates, boolean userGenerated) in addPoseDataToPath() argument
128 mReferencePath.createWaypointAndAddToPath(coordinates, userGenerated, mLap); in addPoseDataToPath()
135 initialCoords, coordinates)); in addPoseDataToPath()
142 + MathsUtils.coordinatesToString(coordinates); in addPoseDataToPath()
154 mAccuracyTest.addWaypointDataToPath(coordinates, userGenerated, mLap); in addPoseDataToPath()
157 mRobustnessTest.addWaypointDataToPath(coordinates, userGenerated, mLap); in addPoseDataToPath()
160 mComplexMovementTest.addWaypointDataToPath(coordinates, userGenerated, mLap); in addPoseDataToPath()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DReferencePath.java46 public void additionalChecks(float[] coordinates) in additionalChecks() argument
49 testValidationSelection(coordinates); in additionalChecks()
97 public void testValidationSelection(float[] coordinates) throws WaypointDistanceException, in testValidationSelection() argument
100 validateWaypointDistance(coordinates); in testValidationSelection()
102 validateAreaCovered(coordinates); in testValidationSelection()
105 validateBackToStart(coordinates); in testValidationSelection()
116 private void validateWaypointDistance(float[] coordinates) throws WaypointDistanceException { in validateWaypointDistance() argument
119 coordinates) < MINIMUM_DISTANCE_FROM_WAYPOINT) { in validateWaypointDistance()
157 private void validateBackToStart(float[] coordinates) throws WaypointStartPointException { in validateBackToStart() argument
160 firstMarkerCoordinates, coordinates); in validateBackToStart()
DPath.java47 float[] coordinates, boolean userGenerated, Manager.Lap currentLap) in createWaypointAndAddToPath() argument
51 additionalChecks(coordinates); in createWaypointAndAddToPath()
53 Waypoint waypoint = new Waypoint(coordinates, userGenerated, currentLap); in createWaypointAndAddToPath()
83 public abstract void additionalChecks(float[] coordinates) in additionalChecks() argument
DAccuracyPath.java29 public void additionalChecks(float[] coordinates) { in additionalChecks() argument
DRobustnessPath.java71 public void additionalChecks(float[] coordinates) in additionalChecks() argument
DComplexMovementPath.java102 public void additionalChecks(float[] coordinates) throws WaypointRingNotEnteredException { in additionalChecks() argument
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java224 ActivityTestRule<?> activityTestRule, SparseArray<Point> coordinates) { in emulateDragGesture() argument
225 emulateDragGesture(instrumentation, activityTestRule, coordinates, 2000, 20); in emulateDragGesture()
230 SparseArray<Point> coordinates, int dragDurationMs, int moveEventCount) { in emulateDragGesture() argument
231 final int coordinatesSize = coordinates.size(); in emulateDragGesture()
241 injectDownEvent(uiAutomation, downTime, coordinates.get(0).x, coordinates.get(0).y, null); in emulateDragGesture()
249 coordinates.get(i).x, in emulateDragGesture()
250 coordinates.get(i).y, in emulateDragGesture()
251 coordinates.get(i + 1).x, in emulateDragGesture()
252 coordinates.get(i + 1).y, in emulateDragGesture()
261 coordinates.get(coordinatesSize - 1).x, in emulateDragGesture()
[all …]
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsTouchUtils.java223 ActivityTestRule<?> activityTestRule, SparseArray<Point> coordinates) { in emulateDragGesture() argument
224 emulateDragGesture(instrumentation, activityTestRule, coordinates, 2000, 20); in emulateDragGesture()
229 SparseArray<Point> coordinates, int dragDurationMs, int moveEventCount) { in emulateDragGesture() argument
230 final int coordinatesSize = coordinates.size(); in emulateDragGesture()
240 injectDownEvent(uiAutomation, downTime, coordinates.get(0).x, coordinates.get(0).y, null); in emulateDragGesture()
248 coordinates.get(i).x, in emulateDragGesture()
249 coordinates.get(i).y, in emulateDragGesture()
250 coordinates.get(i + 1).x, in emulateDragGesture()
251 coordinates.get(i + 1).y, in emulateDragGesture()
260 coordinates.get(coordinatesSize - 1).x, in emulateDragGesture()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
DMonolith.java41 float[] coordinates = { in Monolith() local
53 for (int i = 0; i < coordinates.length; i++) { in Monolith()
54 mVertexBuffer.put(coordinates[i]); in Monolith()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/PathUtilityClasses/
DWaypoint.java35 public Waypoint(float[] coordinates, boolean userGenerated, Manager.Lap lap) { in Waypoint() argument
36 this.mCoordinates = coordinates; in Waypoint()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/
DTest.java86 float[] coordinates, boolean userGenerated, Manager.Lap currentLap) in addWaypointDataToPath() argument
89 mTestPath.createWaypointAndAddToPath(coordinates, userGenerated, currentLap); in addWaypointDataToPath()
/cts/tests/openglperf2/assets/vertex/
Dwater26 // Multiply to get the final point in normalized screen coordinates.
Dperspective30 // Multiply to get the final point in normalized screen coordinates.