/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 261 int[] location = new int[2]; 262 mEventSource.getLocationOnScreen(location); 263 x += location[0]; 264 y += location[1]; 280 int[] location = new int[2]; 281 mEventSource.getLocationOnScreen(location); 282 x += location[0]; 283 y += location[1]; 286 int[] location = new int[2]; 287 v.getLocationOnScreen(location); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBar.java | 1660 final int[] location = new int[2]; 1661 mNotificationPanel.getLocationInWindow(location); 1663 final int left = location[0]; 1664 final int top = location[1]; 1672 view.getLocationInWindow(location); 1674 childBounds.set(location[0], location[1], 1675 location[0] + view.getWidth(), location[1] + view.getHeight());
|
H A D | PhoneStatusBarPolicy.java | 25 import android.location.LocationManager;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | LocationController.java | 28 import android.location.LocationManager;
|
H A D | NotificationRowLayout.java | 191 int[] location = new int[2]; 192 getLocationOnScreen(location); 193 return getChildAtPosition((float) (touchX - location[0]), (float) (touchY - location[1]));
|
/frameworks/base/services/input/ |
H A D | EventHub.cpp | 110 // location but for built-in input device, they are unlikely to ever change. 114 } else if (!identifier.location.isEmpty()) { 115 rawDescriptor.append("location:"); 116 rawDescriptor.append(identifier.location); 1018 // Get device physical location. 1020 //fprintf(stderr, "could not get location for %s, %s\n", devicePath, strerror(errno)); 1023 identifier.location.setTo(buffer); 1055 ALOGV(" location: \"%s\"\n", identifier.location.string()); 1491 dump.appendFormat(INDENT3 "Location: %s\n", device->identifier.location [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | CountryDetectorService.java | 23 import com.android.server.location.ComprehensiveCountryDetector; 26 import android.location.Country; 27 import android.location.CountryListener; 28 import android.location.ICountryDetector; 29 import android.location.ICountryListener;
|
H A D | LocationManagerService.java | 33 import android.location.Address; 34 import android.location.Criteria; 35 import android.location.GeocoderParams; 36 import android.location.Geofence; 37 import android.location.IGpsStatusListener; 38 import android.location.IGpsStatusProvider; 39 import android.location.ILocationListener; 40 import android.location.ILocationManager; 41 import android.location.INetInitiatedListener; 42 import android.location 528 callLocationChangedLocked(Location location) argument 1533 reportLocation(Location location, boolean passive) argument 1583 handleLocationChangedLocked(Location location, boolean passive) argument 1728 handleLocationChanged(Location location, boolean passive) argument [all...] |
H A D | SystemServer.java | 351 LocationManagerService location = null; 574 location = new LocationManagerService(context); 575 ServiceManager.addService(Context.LOCATION_SERVICE, location); 851 final LocationManagerService locationF = location;
|
H A D | TelephonyRegistry.java | 169 CellLocation location = CellLocation.getEmpty(); 171 // Note that location can be null for non-phone builds like 173 if (location != null) { 174 location.fillInNotifierBundle(mCellLocation);
|
H A D | TwilightService.java | 25 import android.location.Criteria; 26 import android.location.Location; 27 import android.location.LocationListener; 28 import android.location.LocationManager; 45 * Figures out whether it's twilight time based on the user's location. 149 // if new location is older than the current one, the device hasn't moved. 306 public void processNewLocation(Location location) { argument 307 Message msg = obtainMessage(MSG_PROCESS_NEW_LOCATION, location); 327 final Location location = (Location)msg.obj; 328 final boolean hasMoved = hasMoved(mLocation, location); 460 setLocation(Location location) argument [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | ComprehensiveCountryDetector.java | 17 package com.android.server.location; 20 import android.location.Country; 21 import android.location.CountryListener; 22 import android.location.Geocoder; 55 * {@link #LOCATION_REFRESH_INTERVAL} once the location based country is used. 70 * The refresh interval when the location based country was used 213 // to prioritize it over location based country, so ignore it. 234 * @return the cached location based country. 268 * be started if the current country source is less reliable than the location. 332 // Start finding location whe [all...] |
H A D | CountryDetectorBase.java | 17 package com.android.server.location; 20 import android.location.Country; 21 import android.location.CountryListener;
|
H A D | GeocoderProxy.java | 17 package com.android.server.location; 20 import android.location.Address; 21 import android.location.GeocoderParams; 22 import android.location.IGeocodeProvider; 36 private static final String SERVICE_ACTION = "com.android.location.service.GeocodeProvider";
|
H A D | GeofenceManager.java | 17 package com.android.server.location; 27 import android.location.Geofence; 28 import android.location.Location; 29 import android.location.LocationListener; 30 import android.location.LocationManager; 31 import android.location.LocationRequest; 48 * Assume a maximum land speed, as a heuristic to throttle location updates. 50 * force a new location update anyway). 55 * Maximum age after which a location is no longer considered fresh enough to use. 202 * Returns the location receive 366 onLocationChanged(Location location) argument [all...] |
H A D | GeofenceState.java | 18 package com.android.server.location; 21 import android.location.Geofence; 22 import android.location.Location; 60 * Process a new location. 63 public int processLocation(Location location) { argument 64 mDistanceToCenter = mLocation.distanceTo(location); 68 boolean inside = mDistanceToCenter <= Math.max(mFence.getRadius(), location.getAccuracy()); 84 * Gets the distance from the current location to the fence's boundary.
|
H A D | GpsLocationProvider.java | 17 package com.android.server.location; 26 import android.location.Criteria; 27 import android.location.IGpsStatusListener; 28 import android.location.IGpsStatusProvider; 29 import android.location.ILocationManager; 30 import android.location.INetInitiatedListener; 31 import android.location.Location; 32 import android.location.LocationListener; 33 import android.location.LocationManager; 34 import android.location 683 handleUpdateLocation(Location location) argument 1541 onLocationChanged(Location location) argument [all...] |
H A D | GpsXtraDownloader.java | 17 package com.android.server.location;
|
H A D | LocationBasedCountryDetector.java | 17 package com.android.server.location; 20 import android.location.Address; 21 import android.location.Country; 22 import android.location.Geocoder; 23 import android.location.Location; 24 import android.location.LocationListener; 25 import android.location.LocationManager; 37 * location providers and the GeoCoder 39 * Use {@link #detectCountry} to start querying. If the location can not be 40 * resolved within the given time, the last known location wil 74 getCountryFromLocation(Location location) argument 221 queryCountryCode(final Location location) argument [all...] |
H A D | LocationBlacklist.java | 18 package com.android.server.location; 35 * Allows applications to be blacklisted from location updates at run-time. 92 if (D) Log.d(TAG, "dropping location (blacklisted): "
|
H A D | LocationFudger.java | 17 package com.android.server.location; 24 import android.location.Location; 25 import android.location.LocationManager; 38 * the coarse location permission from receiving a fine location. 125 * Best location accuracy allowed for coarse applications. 166 * Get the cached coarse location, or generate a new one and cache it. 168 public Location getOrCreate(Location location) { argument 170 Location coarse = location.getExtraLocation(Location.EXTRA_COARSE_LOCATION); 172 return addCoarseLocationExtraLocked(location); 181 addCoarseLocationExtraLocked(Location location) argument [all...] |
H A D | LocationProviderInterface.java | 17 package com.android.server.location; 22 import com.android.internal.location.ProviderProperties; 23 import com.android.internal.location.ProviderRequest; 30 * Location Manager's interface for location providers.
|
H A D | LocationProviderProxy.java | 17 package com.android.server.location; 24 import android.location.LocationProvider; 32 import com.android.internal.location.ProviderProperties; 33 import com.android.internal.location.ILocationProvider; 34 import com.android.internal.location.ProviderRequest; 51 // cached values set by the location manager, synchronized on mLock
|
H A D | MockProvider.java | 17 package com.android.server.location; 19 import android.location.Criteria; 20 import android.location.ILocationManager; 21 import android.location.Location; 22 import android.location.LocationProvider; 33 import com.android.internal.location.ProviderProperties; 34 import com.android.internal.location.ProviderRequest; 37 * A mock location provider used by LocationManagerService to implement test providers.
|
H A D | PassiveProvider.java | 17 package com.android.server.location; 22 import com.android.internal.location.ProviderProperties; 23 import com.android.internal.location.ProviderRequest; 25 import android.location.Criteria; 26 import android.location.ILocationManager; 27 import android.location.Location; 28 import android.location.LocationManager; 29 import android.location.LocationProvider; 37 * A passive location provider reports locations received from other providers 39 * location update 104 updateLocation(Location location) argument [all...] |