OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mGoogleApiClient
(Results
51 - 75
of
75
) sorted by null
1
2
3
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DigitalWatchFaceCompanionConfigActivity.java
59
private GoogleApiClient
mGoogleApiClient
;
68
mGoogleApiClient
= new GoogleApiClient.Builder(this)
83
mGoogleApiClient
.connect();
88
if (
mGoogleApiClient
!= null &&
mGoogleApiClient
.isConnected()) {
89
mGoogleApiClient
.disconnect();
103
Wearable.DataApi.getDataItem(
mGoogleApiClient
, uri).setResultCallback(this);
209
Wearable.MessageApi.sendMessage(
mGoogleApiClient
, mPeerId, PATH_WITH_FEATURE, rawData);
/developers/build/prebuilts/gradle/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/
WearableMainActivity.java
75
private GoogleApiClient
mGoogleApiClient
;
139
mGoogleApiClient
= new GoogleApiClient.Builder(this)
145
mGoogleApiClient
.connect();
214
.requestLocationUpdates(
mGoogleApiClient
, locationRequest, this)
239
LocationServices.FusedLocationApi.removeLocationUpdates(
mGoogleApiClient
, this);
293
if (!mSaveGpsLocation || !
mGoogleApiClient
.isConnected()) {
305
Wearable.DataApi.putDataItem(
mGoogleApiClient
, request)
321
if (
mGoogleApiClient
.isConnected()) {
322
LocationServices.FusedLocationApi.removeLocationUpdates(
mGoogleApiClient
, this);
324
mGoogleApiClient
.disconnect()
[
all
...]
/developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/
WearableMainActivity.java
75
private GoogleApiClient
mGoogleApiClient
;
139
mGoogleApiClient
= new GoogleApiClient.Builder(this)
145
mGoogleApiClient
.connect();
214
.requestLocationUpdates(
mGoogleApiClient
, locationRequest, this)
239
LocationServices.FusedLocationApi.removeLocationUpdates(
mGoogleApiClient
, this);
293
if (!mSaveGpsLocation || !
mGoogleApiClient
.isConnected()) {
305
Wearable.DataApi.putDataItem(
mGoogleApiClient
, request)
321
if (
mGoogleApiClient
.isConnected()) {
322
LocationServices.FusedLocationApi.removeLocationUpdates(
mGoogleApiClient
, this);
324
mGoogleApiClient
.disconnect()
[
all
...]
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
WearableMainActivity.java
75
private GoogleApiClient
mGoogleApiClient
;
139
mGoogleApiClient
= new GoogleApiClient.Builder(this)
145
mGoogleApiClient
.connect();
214
.requestLocationUpdates(
mGoogleApiClient
, locationRequest, this)
239
LocationServices.FusedLocationApi.removeLocationUpdates(
mGoogleApiClient
, this);
293
if (!mSaveGpsLocation || !
mGoogleApiClient
.isConnected()) {
305
Wearable.DataApi.putDataItem(
mGoogleApiClient
, request)
321
if (
mGoogleApiClient
.isConnected()) {
322
LocationServices.FusedLocationApi.removeLocationUpdates(
mGoogleApiClient
, this);
324
mGoogleApiClient
.disconnect()
[
all
...]
/developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
SynchronizedNotificationsFragment.java
65
private GoogleApiClient
mGoogleApiClient
;
70
mGoogleApiClient
= new GoogleApiClient.Builder(this.getActivity())
125
if (
mGoogleApiClient
.isConnected()) {
130
Wearable.DataApi.putDataItem(
mGoogleApiClient
, request)
156
if (
mGoogleApiClient
.isConnected()) {
168
mGoogleApiClient
.connect();
173
mGoogleApiClient
.disconnect();
/developers/samples/android/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
SynchronizedNotificationsFragment.java
65
private GoogleApiClient
mGoogleApiClient
;
70
mGoogleApiClient
= new GoogleApiClient.Builder(this.getActivity())
125
if (
mGoogleApiClient
.isConnected()) {
130
Wearable.DataApi.putDataItem(
mGoogleApiClient
, request)
156
if (
mGoogleApiClient
.isConnected()) {
168
mGoogleApiClient
.connect();
173
mGoogleApiClient
.disconnect();
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
SynchronizedNotificationsFragment.java
65
private GoogleApiClient
mGoogleApiClient
;
70
mGoogleApiClient
= new GoogleApiClient.Builder(this.getActivity())
125
if (
mGoogleApiClient
.isConnected()) {
130
Wearable.DataApi.putDataItem(
mGoogleApiClient
, request)
156
if (
mGoogleApiClient
.isConnected()) {
168
mGoogleApiClient
.connect();
173
mGoogleApiClient
.disconnect();
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
DigitalWatchFaceWearableConfigActivity.java
51
private GoogleApiClient
mGoogleApiClient
;
84
mGoogleApiClient
= new GoogleApiClient.Builder(this)
115
mGoogleApiClient
.connect();
120
if (
mGoogleApiClient
!= null &&
mGoogleApiClient
.isConnected()) {
121
mGoogleApiClient
.disconnect();
155
DigitalWatchFaceUtil.overwriteKeysInConfigDataMap(
mGoogleApiClient
, configKeysToOverwrite);
DigitalWatchFaceService.java
119
GoogleApiClient
mGoogleApiClient
= new GoogleApiClient.Builder(DigitalWatchFaceService.this)
217
mGoogleApiClient
.connect();
227
if (
mGoogleApiClient
!= null &&
mGoogleApiClient
.isConnected()) {
228
Wearable.DataApi.removeListener(
mGoogleApiClient
, this);
229
mGoogleApiClient
.disconnect();
482
DigitalWatchFaceUtil.fetchConfigDataMap(
mGoogleApiClient
,
489
DigitalWatchFaceUtil.putConfigDataItem(
mGoogleApiClient
, startupConfig);
587
Wearable.DataApi.addListener(
mGoogleApiClient
, Engine.this);
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
DigitalWatchFaceWearableConfigActivity.java
51
private GoogleApiClient
mGoogleApiClient
;
84
mGoogleApiClient
= new GoogleApiClient.Builder(this)
115
mGoogleApiClient
.connect();
120
if (
mGoogleApiClient
!= null &&
mGoogleApiClient
.isConnected()) {
121
mGoogleApiClient
.disconnect();
155
DigitalWatchFaceUtil.overwriteKeysInConfigDataMap(
mGoogleApiClient
, configKeysToOverwrite);
DigitalWatchFaceService.java
119
GoogleApiClient
mGoogleApiClient
= new GoogleApiClient.Builder(DigitalWatchFaceService.this)
217
mGoogleApiClient
.connect();
227
if (
mGoogleApiClient
!= null &&
mGoogleApiClient
.isConnected()) {
228
Wearable.DataApi.removeListener(
mGoogleApiClient
, this);
229
mGoogleApiClient
.disconnect();
482
DigitalWatchFaceUtil.fetchConfigDataMap(
mGoogleApiClient
,
489
DigitalWatchFaceUtil.putConfigDataItem(
mGoogleApiClient
, startupConfig);
587
Wearable.DataApi.addListener(
mGoogleApiClient
, Engine.this);
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DigitalWatchFaceWearableConfigActivity.java
51
private GoogleApiClient
mGoogleApiClient
;
84
mGoogleApiClient
= new GoogleApiClient.Builder(this)
115
mGoogleApiClient
.connect();
120
if (
mGoogleApiClient
!= null &&
mGoogleApiClient
.isConnected()) {
121
mGoogleApiClient
.disconnect();
155
DigitalWatchFaceUtil.overwriteKeysInConfigDataMap(
mGoogleApiClient
, configKeysToOverwrite);
DigitalWatchFaceService.java
119
GoogleApiClient
mGoogleApiClient
= new GoogleApiClient.Builder(DigitalWatchFaceService.this)
217
mGoogleApiClient
.connect();
227
if (
mGoogleApiClient
!= null &&
mGoogleApiClient
.isConnected()) {
228
Wearable.DataApi.removeListener(
mGoogleApiClient
, this);
229
mGoogleApiClient
.disconnect();
482
DigitalWatchFaceUtil.fetchConfigDataMap(
mGoogleApiClient
,
489
DigitalWatchFaceUtil.putConfigDataItem(
mGoogleApiClient
, startupConfig);
587
Wearable.DataApi.addListener(
mGoogleApiClient
, Engine.this);
/developers/build/prebuilts/gradle/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/
HomeListenerService.java
64
private GoogleApiClient
mGoogleApiClient
;
84
mGoogleApiClient
= new GoogleApiClient.Builder(this.getApplicationContext())
87
mGoogleApiClient
.connect();
135
if (
mGoogleApiClient
.isConnected()) {
137
Wearable.DataApi.getFdForAsset(
mGoogleApiClient
, asset).await();
/developers/build/prebuilts/gradle/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/
NotificationUpdateService.java
53
private GoogleApiClient
mGoogleApiClient
;
58
mGoogleApiClient
= new GoogleApiClient.Builder(this)
88
mGoogleApiClient
.connect();
146
mGoogleApiClient
, dataItemUri).setResultCallback(this);
162
mGoogleApiClient
.disconnect();
/developers/samples/android/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/
HomeListenerService.java
64
private GoogleApiClient
mGoogleApiClient
;
84
mGoogleApiClient
= new GoogleApiClient.Builder(this.getApplicationContext())
87
mGoogleApiClient
.connect();
135
if (
mGoogleApiClient
.isConnected()) {
137
Wearable.DataApi.getFdForAsset(
mGoogleApiClient
, asset).await();
/developers/samples/android/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/
NotificationUpdateService.java
53
private GoogleApiClient
mGoogleApiClient
;
58
mGoogleApiClient
= new GoogleApiClient.Builder(this)
88
mGoogleApiClient
.connect();
146
mGoogleApiClient
, dataItemUri).setResultCallback(this);
162
mGoogleApiClient
.disconnect();
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
HomeListenerService.java
64
private GoogleApiClient
mGoogleApiClient
;
84
mGoogleApiClient
= new GoogleApiClient.Builder(this.getApplicationContext())
87
mGoogleApiClient
.connect();
135
if (
mGoogleApiClient
.isConnected()) {
137
Wearable.DataApi.getFdForAsset(
mGoogleApiClient
, asset).await();
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
NotificationUpdateService.java
53
private GoogleApiClient
mGoogleApiClient
;
58
mGoogleApiClient
= new GoogleApiClient.Builder(this)
88
mGoogleApiClient
.connect();
146
mGoogleApiClient
, dataItemUri).setResultCallback(this);
162
mGoogleApiClient
.disconnect();
/developers/build/prebuilts/gradle/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
CalendarQueryService.java
89
private GoogleApiClient
mGoogleApiClient
;
98
mGoogleApiClient
= new GoogleApiClient.Builder(this)
107
mGoogleApiClient
.blockingConnect(CONNECTION_TIME_OUT_MS, TimeUnit.MILLISECONDS);
119
if (
mGoogleApiClient
.isConnected()) {
121
mGoogleApiClient
, putDataMapRequest.asPutDataRequest()).await();
127
mGoogleApiClient
.disconnect();
/developers/samples/android/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
CalendarQueryService.java
89
private GoogleApiClient
mGoogleApiClient
;
98
mGoogleApiClient
= new GoogleApiClient.Builder(this)
107
mGoogleApiClient
.blockingConnect(CONNECTION_TIME_OUT_MS, TimeUnit.MILLISECONDS);
119
if (
mGoogleApiClient
.isConnected()) {
121
mGoogleApiClient
, putDataMapRequest.asPutDataRequest()).await();
127
mGoogleApiClient
.disconnect();
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
CalendarQueryService.java
89
private GoogleApiClient
mGoogleApiClient
;
98
mGoogleApiClient
= new GoogleApiClient.Builder(this)
107
mGoogleApiClient
.blockingConnect(CONNECTION_TIME_OUT_MS, TimeUnit.MILLISECONDS);
119
if (
mGoogleApiClient
.isConnected()) {
121
mGoogleApiClient
, putDataMapRequest.asPutDataRequest()).await();
127
mGoogleApiClient
.disconnect();
/developers/build/prebuilts/gradle/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/
HomeListenerService.java
53
private GoogleApiClient
mGoogleApiClient
;
58
mGoogleApiClient
= new GoogleApiClient.Builder(this.getApplicationContext())
61
mGoogleApiClient
.connect();
/developers/samples/android/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/
HomeListenerService.java
53
private GoogleApiClient
mGoogleApiClient
;
58
mGoogleApiClient
= new GoogleApiClient.Builder(this.getApplicationContext())
61
mGoogleApiClient
.connect();
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
HomeListenerService.java
53
private GoogleApiClient
mGoogleApiClient
;
58
mGoogleApiClient
= new GoogleApiClient.Builder(this.getApplicationContext())
61
mGoogleApiClient
.connect();
Completed in 1018 milliseconds
1
2
3