Lines Matching refs:mGoogleApiClient
55 private GoogleApiClient mGoogleApiClient; field in FitDistanceWatchFaceConfigActivity
78 mGoogleApiClient = new GoogleApiClient.Builder(this) in onCreate()
92 if ((mFitEnabled) && (mGoogleApiClient != null)) { in onStart()
97 mGoogleApiClient.connect(); in onStart()
110 if ((mGoogleApiClient != null) && (mGoogleApiClient.isConnected())) { in onStop()
111 mGoogleApiClient.disconnect(); in onStop()
141 if (!mGoogleApiClient.isConnecting() && !mGoogleApiClient.isConnected()) { in onActivityResult()
142 mGoogleApiClient.connect(); in onActivityResult()
203 if ((mGoogleApiClient != null) && (!mGoogleApiClient.isConnected())) { in onSwitchClicked()
204 mGoogleApiClient.connect(); in onSwitchClicked()
213 PendingResult<Status> pendingResult = Fitness.ConfigApi.disableFit(mGoogleApiClient); in onSwitchClicked()
227 mGoogleApiClient.disconnect(); in onSwitchClicked()