Home
last modified time | relevance | path

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

/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java104 private boolean mGpsPermissionApproved; field in WearableMainActivity
148 mGpsPermissionApproved = in onCreate()
241 if (!mGpsPermissionApproved) { in onGpsPermissionClick()
263 if (mGpsPermissionApproved && mWaitingForGpsSignal) { in updateActivityViewsBasedOnLocationPermissions()
274 } else if (mGpsPermissionApproved) { in updateActivityViewsBasedOnLocationPermissions()
298 if (mGpsPermissionApproved) { in updateSpeedInViews()
348 if (mGpsPermissionApproved) { in requestLocation()
408 if (!mGpsPermissionApproved || !mGoogleApiClient.isConnected()) { in addLocationEntry()
475 mGpsPermissionApproved = true; in onRequestPermissionsResult()
483 mGpsPermissionApproved = false; in onRequestPermissionsResult()