Home
last modified time | relevance | path

Searched refs:mLocationManager (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/app/
DLegacyLocationProvider.java34 private android.location.LocationManager mLocationManager; field in LegacyLocationProvider
84 if (mLocationManager == null) { in startReceivingLocationUpdates()
85 mLocationManager = AndroidServices.instance().provideLocationManager(); in startReceivingLocationUpdates()
87 if (mLocationManager != null) { in startReceivingLocationUpdates()
89 mLocationManager.requestLocationUpdates( in startReceivingLocationUpdates()
100 mLocationManager.requestLocationUpdates( in startReceivingLocationUpdates()
116 if (mLocationManager != null) { in stopReceivingLocationUpdates()
119 mLocationManager.removeUpdates(mLocationListeners[i]); in stopReceivingLocationUpdates()
/packages/apps/LegacyCamera/src/com/android/camera/
DLocationManager.java33 private android.location.LocationManager mLocationManager; field in LocationManager
75 if (mLocationManager == null) { in startReceivingLocationUpdates()
76 mLocationManager = (android.location.LocationManager) in startReceivingLocationUpdates()
79 if (mLocationManager != null) { in startReceivingLocationUpdates()
81 mLocationManager.requestLocationUpdates( in startReceivingLocationUpdates()
92 mLocationManager.requestLocationUpdates( in startReceivingLocationUpdates()
108 if (mLocationManager != null) { in stopReceivingLocationUpdates()
111 mLocationManager.removeUpdates(mLocationListeners[i]); in stopReceivingLocationUpdates()
DCamera.java228 private LocationManager mLocationManager; field in Camera
365 mLocationManager.recordLocation(recordLocation); in initializeFirstTime()
445 mLocationManager.recordLocation(recordLocation); in initializeSecondTime()
1051 Location loc = mLocationManager.getCurrentLocation(); in capture()
1203 mLocationManager = new LocationManager(this, this); in onCreate()
1617 if (mLocationManager != null) mLocationManager.recordLocation(false); in onPause()
2222 mLocationManager.recordLocation(recordLocation); in onSharedPreferenceChanged()
DVideoCamera.java236 private LocationManager mLocationManager; field in VideoCamera
461 mLocationManager = new LocationManager(this, null); in onCreate()
879 mLocationManager.recordLocation(recordLocation); in doOnResume()
1011 mLocationManager.recordLocation(false); in onPause()
1209 Location loc = mLocationManager.getCurrentLocation(); in initializeRecorder()
1407 Location loc = mLocationManager.getCurrentLocation(); in generateVideoFilename()
2110 mLocationManager.recordLocation(recordLocation); in onSharedPreferenceChanged()
2381 Location loc = mLocationManager.getCurrentLocation(); in onTouch()
/packages/services/Car/car-support-lib/src/android/support/car/hardware/
DCarSensorsProxy.java50 private final LocationManager mLocationManager; field in CarSensorsProxy
92 mLastGpsStatus = mLocationManager.getGpsStatus(mLastGpsStatus);
183 mLocationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); in CarSensorsProxy()
463 && mLocationManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in updateSensorListeners()
464 mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, in updateSensorListeners()
467 mLocationManager.removeUpdates(mLocationListener); in updateSensorListeners()
471 mLocationManager.addGpsStatusListener(mGpsStatusListener); in updateSensorListeners()
473 mLocationManager.removeGpsStatusListener(mGpsStatusListener); in updateSensorListeners()
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceConstructedImpl.java47 private final LocationManager mLocationManager; field in ResourceConstructedImpl
111 mLocationManager = locationManager; in ResourceConstructedImpl()
168 return mLocationManager; in getLocationManager()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java311 private final LocationManager mLocationManager; field in CaptureModule
360 mLocationManager = mAppController.getLocationManager(); in CaptureModule()
556 Location location = mLocationManager.getCurrentLocation(); in createAndStartCaptureSession()
568 Location location = mLocationManager.getCurrentLocation(); in createAndStartUntrackedCaptureSession()
DVideoModule.java179 private LocationManager mLocationManager; field in VideoModule
359 mLocationManager = mActivity.getLocationManager(); in init()
416 Location loc = mLocationManager.getCurrentLocation(); in takeASnapshot()
1201 Location loc = mLocationManager.getCurrentLocation(); in setRecordLocation()
1239 Location loc = mLocationManager.getCurrentLocation(); in generateVideoFilename()
DCameraActivity.java244 private LocationManager mLocationManager; field in CameraActivity
1205 return mLocationManager; in getLocationManager()
1436 mLocationManager = new LocationManager(mAppContext); in onCreateTasks()
1836 mLocationManager.recordLocation(false); in onPauseTasks()
2106 mLocationManager.recordLocation(locationRecordingEnabled); in resume()
2155 mLocationManager.disconnect(); in onStopTasks()