Searched defs:mLocation (Results 1 - 13 of 13) 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/telephony/java/android/telephony/
H A DSmsCbMessage.java117 private final SmsCbLocation mLocation; field in class:SmsCbMessage
150 mLocation = location;
164 mLocation = new SmsCbLocation(in);
200 mLocation.writeToParcel(dest, flags);
262 return mLocation;
367 + mSerialNumber + ", location=" + mLocation + ", serviceCategory="
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmSMSDispatcher.java327 private final SmsCbLocation mLocation; field in class:GsmSMSDispatcher.SmsCbConcatInfo
331 mLocation = location;
336 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode();
348 && mLocation.equals(other.mLocation);
357 * and Cell ID are saved in mLocation or set to -1 to match all values.
365 return mLocation.isInLocationArea(plmn, lac, cid);
/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.java112 private Location mLocation; field in class:UiModeManagerService
274 final boolean hasBetterAccuracy = mLocation == null
275 || location.getAccuracy() < mLocation.getAccuracy();
278 mLocation = location;
304 if (mLocation == null) {
311 if (location.getTime() < mLocation.getTime()) {
316 float distance = mLocation.distanceTo(location);
319 float totalAccuracy = mLocation.getAccuracy() + location.getAccuracy();
666 if (isDoingNightMode() && mLocation != null
712 if (mLocation
[all...]
H A DLocationManagerService.java1466 final Location mLocation; field in class:LocationManagerService.ProximityAlert
1479 mLocation = new Location("");
1480 mLocation.setLatitude(latitude);
1481 mLocation.setLongitude(longitude);
1497 double radius = loc.distanceTo(mLocation);
1513 pw.println(prefix + "mLocation:");
1514 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.java254 private Location mLocation = new Location(LocationManager.GPS_PROVIDER); field in class:GpsLocationProvider
390 mLocation.setExtras(mLocationExtras);
1074 synchronized (mLocation) {
1077 mLocation.setLatitude(latitude);
1078 mLocation.setLongitude(longitude);
1079 mLocation.setTime(timestamp);
1082 mLocation.setAltitude(altitude);
1084 mLocation.removeAltitude();
1087 mLocation.setSpeed(speed);
1089 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.java707 final IntentReceiverLeaked mLocation; field in class:LoadedApk.ReceiverDispatcher
791 mLocation = new IntentReceiverLeaked(null);
792 mLocation.fillInStackTrace();
811 return mLocation;
927 private final ServiceConnectionLeaked mLocation; field in class:LoadedApk.ServiceDispatcher
964 mLocation = new ServiceConnectionLeaked(null);
965 mLocation.fillInStackTrace();
997 return mLocation;
/frameworks/base/core/java/android/view/
H A DSurfaceView.java88 final int[] mLocation = new int[2]; field in class:SurfaceView
306 getLocationInWindow(mLocation);
308 int l = mLocation[0];
309 int t = mLocation[1];
411 getLocationInWindow(mLocation);
418 || mLeft != mLocation[0] || mTop != mLocation[1]
424 + " left=" + (mLeft != mLocation[0])
425 + " top=" + (mTop != mLocation[1]));
429 mLeft = mLocation[
[all...]
H A DViewGroup.java372 // Index of the child's left position in the mLocation array
374 // Index of the child's top position in the mLocation array
5989 private final Rect mLocation = new Rect(); field in class:ViewGroup.ViewLocationHolder
6037 if (mLocation.bottom - another.mLocation.top <= 0) {
6041 if (mLocation.top - another.mLocation.bottom >= 0) {
6046 final int leftDifference = mLocation.left - another.mLocation.left;
6052 final int rightDifference = mLocation
[all...]
H A DViewRootImpl.java163 final WindowLeaked mLocation; field in class:ViewRootImpl
373 mLocation = new WindowLeaked(null);
374 mLocation.fillInStackTrace();
760 return mLocation;

Completed in 3573 milliseconds