Home
last modified time | relevance | path

Searched refs:LocationManager (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Camera/src/com/android/camera/
DLocationManager.java28 public class LocationManager { class
33 private android.location.LocationManager mLocationManager;
37 new LocationListener(android.location.LocationManager.GPS_PROVIDER),
38 new LocationListener(android.location.LocationManager.NETWORK_PROVIDER)
46 public LocationManager(Context context, Listener listener) { in LocationManager() method in LocationManager
76 mLocationManager = (android.location.LocationManager) in startReceivingLocationUpdates()
82 android.location.LocationManager.NETWORK_PROVIDER, in startReceivingLocationUpdates()
93 android.location.LocationManager.GPS_PROVIDER, in startReceivingLocationUpdates()
142 android.location.LocationManager.GPS_PROVIDER.equals(mProvider)) { in onLocationChanged()
169 android.location.LocationManager.GPS_PROVIDER.equals(provider)) { in onStatusChanged()
DPhotoModule.java93 LocationManager.Listener,
254 private LocationManager mLocationManager;
498 mLocationManager = new LocationManager(mActivity, this); in init()
DVideoModule.java210 private LocationManager mLocationManager;
479 mLocationManager = new LocationManager(mActivity, null); in init()
/packages/apps/LegacyCamera/src/com/android/camera/
DLocationManager.java28 public class LocationManager { class
33 private android.location.LocationManager mLocationManager;
37 new LocationListener(android.location.LocationManager.GPS_PROVIDER),
38 new LocationListener(android.location.LocationManager.NETWORK_PROVIDER)
46 public LocationManager(Context context, Listener listener) { in LocationManager() method in LocationManager
76 mLocationManager = (android.location.LocationManager) in startReceivingLocationUpdates()
82 android.location.LocationManager.NETWORK_PROVIDER, in startReceivingLocationUpdates()
93 android.location.LocationManager.GPS_PROVIDER, in startReceivingLocationUpdates()
142 android.location.LocationManager.GPS_PROVIDER.equals(mProvider)) { in onLocationChanged()
169 android.location.LocationManager.GPS_PROVIDER.equals(provider)) { in onStatusChanged()
DCamera.java91 LocationManager.Listener {
228 private LocationManager mLocationManager;
1190 mLocationManager = new LocationManager(this, this); in onCreate()
DVideoCamera.java236 private LocationManager mLocationManager;
461 mLocationManager = new LocationManager(this, null); in onCreate()
/packages/apps/ContactsCommon/src/com/android/contacts/common/location/
DCountryDetector.java10 import android.location.LocationManager;
52 private final LocationManager mLocationManager;
80 (LocationManager) context.getSystemService(Context.LOCATION_SERVICE), in CountryDetector()
85 LocationManager locationManager, LocaleProvider localeProvider) { in CountryDetector()
95 LocationManager locationManager) { in registerForLocationUpdates()
111 locationManager.requestLocationUpdates(LocationManager.PASSIVE_PROVIDER, in registerForLocationUpdates()
120 LocationManager locationManager, LocaleProvider localeProvider, Geocoder geocoder) { in getInstanceForTest()
204 if (!intent.hasExtra(LocationManager.KEY_LOCATION_CHANGED)) { in onReceive()
209 LocationManager.KEY_LOCATION_CHANGED); in onReceive()
/packages/apps/Camera2/src/com/android/camera/app/
DLegacyLocationProvider.java34 private android.location.LocationManager mLocationManager;
38 new LocationListener(android.location.LocationManager.GPS_PROVIDER),
39 new LocationListener(android.location.LocationManager.NETWORK_PROVIDER)
90 android.location.LocationManager.NETWORK_PROVIDER, in startReceivingLocationUpdates()
101 android.location.LocationManager.GPS_PROVIDER, in startReceivingLocationUpdates()
DAppController.java359 public LocationManager getLocationManager(); in getLocationManager()
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceConstructedImpl.java27 import com.android.camera.app.LocationManager;
47 private final LocationManager mLocationManager;
72 LocationManager locationManager, in create()
96 LocationManager locationManager, in ResourceConstructedImpl()
167 public LocationManager getLocationManager() { in getLocationManager()
DResourceConstructed.java26 import com.android.camera.app.LocationManager;
102 public LocationManager getLocationManager(); in getLocationManager()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmFavoriteActivity.java29 import android.location.LocationManager;
87 private LocationManager mLocationManager;
109 mLocationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); in onCreate()
188 .getLastKnownLocation(LocationManager.GPS_PROVIDER); in onOptionsItemSelected()
592 return mLocationManager.isProviderEnabled(android.location.LocationManager.GPS_PROVIDER); in isGpsOpen()
/packages/apps/Camera2/src/com/android/camera/util/
DAndroidServices.java28 import android.location.LocationManager;
109 public LocationManager provideLocationManager() { in provideLocationManager()
110 return (LocationManager) getSystemService(Context.LOCATION_SERVICE); in provideLocationManager()
/packages/apps/Camera2/src_pd/com/android/camera/app/
DLocationManager.java29 public class LocationManager { class
34 public LocationManager(Context context) { in LocationManager() method in LocationManager
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java23 import android.location.LocationManager;
113 LocationManager locationManager = in computeAddress()
114 (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); in computeAddress()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettingsBase.java23 import android.location.LocationManager;
70 filter.addAction(LocationManager.MODE_CHANGED_ACTION); in onResume()
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java28 import android.location.LocationManager;
810 } else if (LocationManager.MODE_CHANGED_ACTION.equals(action)) { in onReceive()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java77 import com.android.camera.app.LocationManager;
244 private LocationManager mLocationManager;
1204 public LocationManager getLocationManager() { in getLocationManager()
1436 mLocationManager = new LocationManager(mAppContext); in onCreateTasks()
DCaptureModule.java40 import com.android.camera.app.LocationManager;
311 private final LocationManager mLocationManager;
DVideoModule.java53 import com.android.camera.app.LocationManager;
179 private LocationManager mLocationManager;
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
DLocationUtils.java26 import android.location.LocationManager;
/packages/apps/Camera2/src/com/android/camera/settings/
DKeys.java21 import com.android.camera.app.LocationManager;