Searched refs:currentBestLocation (Results 1 – 1 of 1) sorted by relevance
287 protected Location getBetterLocation(Location newLocation, Location currentBestLocation) { in getBetterLocation() argument288 if (currentBestLocation == null) { in getBetterLocation()294 long timeDelta = newLocation.getTime() - currentBestLocation.getTime(); in getBetterLocation()305 return currentBestLocation; in getBetterLocation()309 int accuracyDelta = (int) (newLocation.getAccuracy() - currentBestLocation.getAccuracy()); in getBetterLocation()316 currentBestLocation.getProvider()); in getBetterLocation()326 return currentBestLocation; in getBetterLocation()