Home
last modified time | relevance | path

Searched refs:currentLocation (Results 1 – 3 of 3) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DReferencePath.java76 int currentLocation = mCurrentPath.indexOf(mPathMarkers.get(mPathMarkers.size() - 1)); in calculatePathRemaining() local
78 while (currentLocation < mCurrentPath.size() - 1) { in calculatePathRemaining()
80 mCurrentPath.get(currentLocation).getCoordinates(), in calculatePathRemaining()
81 mCurrentPath.get(currentLocation + 1).getCoordinates()); in calculatePathRemaining()
83 currentLocation++; in calculatePathRemaining()
DComplexMovementPath.java207 ArrayList<Waypoint> referencePath, int currentLocation, Float pathIntervalDistance) { in calculateRingLocationOnPath() argument
209 while (currentLocation < referencePath.size() - 1) { in calculateRingLocationOnPath()
211 referencePath.get(currentLocation).getCoordinates(), in calculateRingLocationOnPath()
212 referencePath.get(currentLocation + 1).getCoordinates()); in calculateRingLocationOnPath()
214 return referencePath.get(currentLocation); in calculateRingLocationOnPath()
216 currentLocation++; in calculateRingLocationOnPath()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/
DTest.java197 int currentLocation = pathToCalculate.indexOf(markers.get(0)); in calculatePathDistance() local
199 while (currentLocation < pathToCalculate.size() - 1) { in calculatePathDistance()
203 pathToCalculate.get(currentLocation).getCoordinates(), in calculatePathDistance()
204 pathToCalculate.get(currentLocation + 1).getCoordinates()); in calculatePathDistance()
206 currentLocation++; in calculatePathDistance()
207 } while (!pathToCalculate.get(currentLocation).isUserGenerated()); in calculatePathDistance()
209 if (currentLocation == markers.size() - 1) { in calculatePathDistance()