Searched refs:timeDelta (Results 1 – 2 of 2) sorted by relevance
294 long timeDelta = newLocation.getTime() - currentBestLocation.getTime(); in getBetterLocation() local295 boolean isSignificantlyNewer = timeDelta > TWO_MINUTES; in getBetterLocation()296 boolean isSignificantlyOlder = timeDelta < -TWO_MINUTES; in getBetterLocation()297 boolean isNewer = timeDelta > 0; in getBetterLocation()
541 long timeDelta = in updateProgress() local543 progress = (int) (100.0 * (position + timeDelta) / duration); in updateProgress()