Searched defs:mLocation (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/location/
H A DLocationBasedCountryDetectorTest.java41 private final Location mLocation; field in class:LocationBasedCountryDetectorTest.TestCountryDetector
53 mLocation = new Location(provider);
68 if (mLocation.getProvider().endsWith(location.getProvider())) {
77 return mLocation;
131 listener.onLocationChanged(mLocation);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerEntry.java37 private Location mLocation; field in class:TrackerEntry
84 mLocation = null;
89 mLocation = new Location(loc);
132 mLocation = location;
144 return mLocation;
175 cValues.put(LATITUDE, mLocation.getLatitude());
176 cValues.put(LONGITUDE, mLocation.getLongitude());
177 if (mLocation.hasAccuracy()) {
178 cValues.put(ACCURACY, mLocation.getAccuracy());
180 if (mLocation
[all...]
/frameworks/base/services/java/com/android/server/
H A DUiModeManagerService.java110 private Location mLocation; field in class:UiModeManagerService
272 final boolean hasBetterAccuracy = mLocation == null
273 || location.getAccuracy() < mLocation.getAccuracy();
276 mLocation = location;
302 if (mLocation == null) {
309 if (location.getTime() < mLocation.getTime()) {
314 float distance = mLocation.distanceTo(location);
317 float totalAccuracy = mLocation.getAccuracy() + location.getAccuracy();
659 if (isDoingNightMode() && mLocation != null
705 if (mLocation
[all...]
H A DLocationManagerService.java1369 final Location mLocation; field in class:LocationManagerService.ProximityAlert
1380 mLocation = new Location("");
1381 mLocation.setLatitude(latitude);
1382 mLocation.setLongitude(longitude);
1398 double radius = loc.distanceTo(mLocation);
1414 pw.println(prefix + "mLocation:");
1415 mLocation.dump(new PrintWriterPrinter(pw), prefix + " ");
/frameworks/base/services/java/com/android/server/location/
H A DMockProvider.java49 private final Location mLocation; field in class:MockProvider
74 mLocation = new Location(name);
166 mLocation.set(l);
169 mLocationManager.reportLocation(mLocation, false);
227 pw.println(prefix + "mLocation:");
228 mLocation.dump(new PrintWriterPrinter(pw), prefix + " ");
H A DGpsLocationProvider.java249 private Location mLocation = new Location(LocationManager.GPS_PROVIDER); field in class:GpsLocationProvider
385 mLocation.setExtras(mLocationExtras);
1053 synchronized (mLocation) {
1056 mLocation.setLatitude(latitude);
1057 mLocation.setLongitude(longitude);
1058 mLocation.setTime(timestamp);
1061 mLocation.setAltitude(altitude);
1063 mLocation.removeAltitude();
1066 mLocation.setSpeed(speed);
1068 mLocation
[all...]
/frameworks/base/core/java/android/app/
H A DNativeActivity.java76 final int[] mLocation = new int[2]; field in class:NativeActivity
331 mNativeContentView.getLocationInWindow(mLocation);
334 if (mLocation[0] != mLastContentX || mLocation[1] != mLastContentY
336 mLastContentX = mLocation[0];
337 mLastContentY = mLocation[1];
H A DLoadedApk.java681 final IntentReceiverLeaked mLocation; field in class:LoadedApk.ReceiverDispatcher
762 mLocation = new IntentReceiverLeaked(null);
763 mLocation.fillInStackTrace();
782 return mLocation;
898 private final ServiceConnectionLeaked mLocation; field in class:LoadedApk.ServiceDispatcher
935 mLocation = new ServiceConnectionLeaked(null);
936 mLocation.fillInStackTrace();
968 return mLocation;
/frameworks/base/core/java/android/view/
H A DSurfaceView.java88 final int[] mLocation = new int[2]; field in class:SurfaceView
296 getLocationInWindow(mLocation);
298 int l = mLocation[0];
299 int t = mLocation[1];
401 getLocationInWindow(mLocation);
408 || mLeft != mLocation[0] || mTop != mLocation[1]
414 + " left=" + (mLeft != mLocation[0])
415 + " top=" + (mTop != mLocation[1]));
419 mLeft = mLocation[
[all...]
H A DViewRootImpl.java161 final WindowLeaked mLocation; field in class:ViewRootImpl
343 mLocation = new WindowLeaked(null);
344 mLocation.fillInStackTrace();
663 return mLocation;

Completed in 327 milliseconds