HomeSort by relevance Sort by last modified time
    Searched refs:mLastLocation (Results 1 - 5 of 5) sorted by null

  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
ClusterManager.java 58 private Location mLastLocation = null;
113 if (mLastLocation != null) {
114 if (location.getTime() == mLastLocation.getTime()) {
118 long duration = (location.getTime() - mLastLocation.getTime()) / 1000;
128 float distance = mLocationClusters.get(i).distanceToCenter(mLastLocation);
138 mLocationClusters.get(bestClusterIndex).addSample(mLastLocation, duration);
141 LocationCluster cluster = new LocationCluster(mLastLocation, duration);
170 mLastLocation = location;
316 if (mLastLocation != null) {
320 if (cluster.distanceToCenter(mLastLocation) < SEMANTIC_CLUSTER_RADIUS)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/app/
LegacyLocationProvider.java 130 Location mLastLocation;
136 mLastLocation = new Location(mProvider);
149 mLastLocation.set(newLocation);
175 return mValid ? mLastLocation : null;
  /packages/apps/LegacyCamera/src/com/android/camera/
LocationManager.java 123 Location mLastLocation;
129 mLastLocation = new Location(mProvider);
148 mLastLocation.set(newLocation);
178 return mValid ? mLastLocation : null;
  /frameworks/base/services/core/java/com/android/server/twilight/
TwilightService.java 69 private Location mLastLocation;
203 mLastLocation = null;
209 final Location location = mLastLocation != null ? mLastLocation
251 mLastLocation = location;
  /frameworks/base/services/core/java/com/android/server/
LocationManagerService.java 203 private final HashMap<String, Location> mLastLocation = new HashMap<String, Location>();
205 // same as mLastLocation, but is not updated faster than LocationFudger.FASTEST_INTERVAL_MS.
625 mLastLocation.clear();
    [all...]

Completed in 4297 milliseconds