Searched refs:currentLocation (Results 1 – 3 of 3) sorted by relevance
76 int currentLocation = mCurrentPath.indexOf(mPathMarkers.get(mPathMarkers.size() - 1)); in calculatePathRemaining() local78 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()
207 ArrayList<Waypoint> referencePath, int currentLocation, Float pathIntervalDistance) { in calculateRingLocationOnPath() argument209 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()
197 int currentLocation = pathToCalculate.indexOf(markers.get(0)); in calculatePathDistance() local199 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()