Searched refs:newLocation (Results 1 – 1 of 1) sorted by relevance
287 protected Location getBetterLocation(Location newLocation, Location currentBestLocation) { in getBetterLocation() argument290 return newLocation; in getBetterLocation()294 long timeDelta = newLocation.getTime() - currentBestLocation.getTime(); in getBetterLocation()302 return newLocation; in getBetterLocation()309 int accuracyDelta = (int) (newLocation.getAccuracy() - currentBestLocation.getAccuracy()); in getBetterLocation()315 boolean isFromSameProvider = isSameProvider(newLocation.getProvider(), in getBetterLocation()320 return newLocation; in getBetterLocation()322 return newLocation; in getBetterLocation()324 return newLocation; in getBetterLocation()