/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerEntry.java | 37 private Location mLocation; field in TrackerEntry 84 mLocation = null; in TrackerEntry() 89 mLocation = new Location(loc); in TrackerEntry() 132 mLocation = location; in setLocation() 144 return mLocation; in getLocation() 175 cValues.put(LATITUDE, mLocation.getLatitude()); in getAsContentValues() 176 cValues.put(LONGITUDE, mLocation.getLongitude()); in getAsContentValues() 177 if (mLocation.hasAccuracy()) { in getAsContentValues() 178 cValues.put(ACCURACY, mLocation.getAccuracy()); in getAsContentValues() 180 if (mLocation.hasAltitude()) { in getAsContentValues() [all …]
|
/frameworks/base/services/java/com/android/server/location/ |
D | GeofenceState.java | 36 private final Location mLocation; field in GeofenceState 54 mLocation = new Location(""); in GeofenceState() 55 mLocation.setLatitude(fence.getLatitude()); in GeofenceState() 56 mLocation.setLongitude(fence.getLongitude()); in GeofenceState() 64 mDistanceToCenter = mLocation.distanceTo(location); in processLocation()
|
D | MockProvider.java | 46 private final Location mLocation; field in MockProvider 64 mLocation = new Location(name); in MockProvider() 109 mLocation.set(l); in setLocation() 113 mLocationManager.reportLocation(mLocation, false); in setLocation() 148 mLocation.dump(new PrintWriterPrinter(pw), prefix + " "); in dump()
|
D | GpsLocationProvider.java | 283 private Location mLocation = new Location(LocationManager.GPS_PROVIDER); field in GpsLocationProvider 422 mLocation.setExtras(mLocationExtras); in GpsLocationProvider() 1024 synchronized (mLocation) { in reportLocation() 1027 mLocation.setLatitude(latitude); in reportLocation() 1028 mLocation.setLongitude(longitude); in reportLocation() 1029 mLocation.setTime(timestamp); in reportLocation() 1032 mLocation.setElapsedRealtimeNanos(SystemClock.elapsedRealtimeNanos()); in reportLocation() 1035 mLocation.setAltitude(altitude); in reportLocation() 1037 mLocation.removeAltitude(); in reportLocation() 1040 mLocation.setSpeed(speed); in reportLocation() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | TwilightService.java | 303 private Location mLocation; field in TwilightService.LocationHandler 328 final boolean hasMoved = hasMoved(mLocation, location); in handleMessage() 329 final boolean hasBetterAccuracy = mLocation == null in handleMessage() 330 || location.getAccuracy() < mLocation.getAccuracy(); in handleMessage() 381 if (mLocation == null) { in handleMessage() 461 mLocation = location; in setLocation() 466 if (mLocation == null) { in updateTwilightState() 475 mLocation.getLatitude(), mLocation.getLongitude()); in updateTwilightState() 480 mLocation.getLatitude(), mLocation.getLongitude()); in updateTwilightState() 487 mLocation.getLatitude(), mLocation.getLongitude()); in updateTwilightState()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | SmsCbMessage.java | 117 private final SmsCbLocation mLocation; field in SmsCbMessage 150 mLocation = location; in SmsCbMessage() 164 mLocation = new SmsCbLocation(in); in SmsCbMessage() 200 mLocation.writeToParcel(dest, flags); in writeToParcel() 262 return mLocation; in getLocation() 367 + mSerialNumber + ", location=" + mLocation + ", serviceCategory=" in toString()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceView.java | 93 final int[] mLocation = new int[2]; field in SurfaceView 311 getLocationInWindow(mLocation); in gatherTransparentRegion() 313 int l = mLocation[0]; in gatherTransparentRegion() 314 int t = mLocation[1]; in gatherTransparentRegion() 436 getLocationInWindow(mLocation); in updateWindow() 443 || mLeft != mLocation[0] || mTop != mLocation[1] in updateWindow() 449 + " left=" + (mLeft != mLocation[0]) in updateWindow() 450 + " top=" + (mTop != mLocation[1])); in updateWindow() 454 mLeft = mLocation[0]; in updateWindow() 455 mTop = mLocation[1]; in updateWindow()
|
D | ViewGroup.java | 6229 private final Rect mLocation = new Rect(); field in ViewGroup.ViewLocationHolder 6277 if (mLocation.bottom - another.mLocation.top <= 0) { in compareTo() 6281 if (mLocation.top - another.mLocation.bottom >= 0) { in compareTo() 6286 final int leftDifference = mLocation.left - another.mLocation.left; in compareTo() 6292 final int rightDifference = mLocation.right - another.mLocation.right; in compareTo() 6299 final int topDiference = mLocation.top - another.mLocation.top; in compareTo() 6304 final int heightDiference = mLocation.height() - another.mLocation.height(); in compareTo() 6309 final int widthDiference = mLocation.width() - another.mLocation.width(); in compareTo() 6319 Rect viewLocation = mLocation; in init() 6328 mLocation.set(0, 0, 0, 0); in clear()
|
D | ViewRootImpl.java | 159 final WindowLeaked mLocation; field in ViewRootImpl 353 mLocation = new WindowLeaked(null); in ViewRootImpl() 354 mLocation.fillInStackTrace(); in ViewRootImpl() 752 return mLocation; in getLocation()
|
/frameworks/base/core/java/android/app/ |
D | NativeActivity.java | 75 final int[] mLocation = new int[2]; field in NativeActivity 325 mNativeContentView.getLocationInWindow(mLocation); in onGlobalLayout() 328 if (mLocation[0] != mLastContentX || mLocation[1] != mLastContentY in onGlobalLayout() 330 mLastContentX = mLocation[0]; in onGlobalLayout() 331 mLastContentY = mLocation[1]; in onGlobalLayout()
|
D | LoadedApk.java | 710 final IntentReceiverLeaked mLocation; field in LoadedApk.ReceiverDispatcher 794 mLocation = new IntentReceiverLeaked(null); in ReceiverDispatcher() 795 mLocation.fillInStackTrace(); in ReceiverDispatcher() 814 return mLocation; in getLocation() 931 private final ServiceConnectionLeaked mLocation; field in LoadedApk.ServiceDispatcher 968 mLocation = new ServiceConnectionLeaked(null); in ServiceDispatcher() 969 mLocation.fillInStackTrace(); in ServiceDispatcher() 1001 return mLocation; in getLocation()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
D | LocationBasedCountryDetectorTest.java | 41 private final Location mLocation; field in LocationBasedCountryDetectorTest.TestCountryDetector 53 mLocation = new Location(provider); in TestCountryDetector() 68 if (mLocation.getProvider().endsWith(location.getProvider())) { in getCountryFromLocation() 77 return mLocation; in getLastKnownLocation() 131 listener.onLocationChanged(mLocation); in notifyLocationFound()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmSMSDispatcher.java | 326 private final SmsCbLocation mLocation; field in GsmSMSDispatcher.SmsCbConcatInfo 330 mLocation = location; in SmsCbConcatInfo() 335 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode(); in hashCode() 347 && mLocation.equals(other.mLocation); in equals() 364 return mLocation.isInLocationArea(plmn, lac, cid); in matchesLocation()
|