OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dataItemResult
(Results
1 - 25
of
27
) sorted by null
1
2
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
DigitalWatchFaceUtil.java
172
.setResultCallback(new ResultCallback<DataApi.
DataItemResult
>() {
174
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
176
Log.d(TAG, "putDataItem result status: " +
dataItemResult
.getStatus());
182
private static class DataItemResultCallback implements ResultCallback<DataApi.
DataItemResult
> {
191
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
192
if (
dataItemResult
.getStatus().isSuccess()) {
193
if (
dataItemResult
.getDataItem() != null) {
194
DataItem configDataItem =
dataItemResult
.getDataItem()
[
all
...]
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
DigitalWatchFaceUtil.java
172
.setResultCallback(new ResultCallback<DataApi.
DataItemResult
>() {
174
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
176
Log.d(TAG, "putDataItem result status: " +
dataItemResult
.getStatus());
182
private static class DataItemResultCallback implements ResultCallback<DataApi.
DataItemResult
> {
191
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
192
if (
dataItemResult
.getStatus().isSuccess()) {
193
if (
dataItemResult
.getDataItem() != null) {
194
DataItem configDataItem =
dataItemResult
.getDataItem()
[
all
...]
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DigitalWatchFaceUtil.java
172
.setResultCallback(new ResultCallback<DataApi.
DataItemResult
>() {
174
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
176
Log.d(TAG, "putDataItem result status: " +
dataItemResult
.getStatus());
182
private static class DataItemResultCallback implements ResultCallback<DataApi.
DataItemResult
> {
191
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
192
if (
dataItemResult
.getStatus().isSuccess()) {
193
if (
dataItemResult
.getDataItem() != null) {
194
DataItem configDataItem =
dataItemResult
.getDataItem()
[
all
...]
/developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
SynchronizedNotificationsFragment.java
131
.setResultCallback(new ResultCallback<DataApi.
DataItemResult
>() {
133
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
134
if (!
dataItemResult
.getStatus().isSuccess()) {
136
+ "status: " +
dataItemResult
.getStatus().getStatusCode());
/developers/samples/android/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
SynchronizedNotificationsFragment.java
131
.setResultCallback(new ResultCallback<DataApi.
DataItemResult
>() {
133
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
134
if (!
dataItemResult
.getStatus().isSuccess()) {
136
+ "status: " +
dataItemResult
.getStatus().getStatusCode());
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
SynchronizedNotificationsFragment.java
131
.setResultCallback(new ResultCallback<DataApi.
DataItemResult
>() {
133
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
134
if (!
dataItemResult
.getStatus().isSuccess()) {
136
+ "status: " +
dataItemResult
.getStatus().getStatusCode());
/developers/build/prebuilts/gradle/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/
DeleteQuestionService.java
72
DataApi.
DataItemResult
dataItemResult
= Wearable.DataApi.getDataItem(
75
.createFromDataMapItem(DataMapItem.fromDataItem(
dataItemResult
.getDataItem()));
UpdateQuestionService.java
78
DataApi.
DataItemResult
dataItemResult
= Wearable.DataApi.getDataItem(
81
.createFromDataMapItem(DataMapItem.fromDataItem(
dataItemResult
.getDataItem()));
/developers/samples/android/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/
DeleteQuestionService.java
72
DataApi.
DataItemResult
dataItemResult
= Wearable.DataApi.getDataItem(
75
.createFromDataMapItem(DataMapItem.fromDataItem(
dataItemResult
.getDataItem()));
UpdateQuestionService.java
78
DataApi.
DataItemResult
dataItemResult
= Wearable.DataApi.getDataItem(
81
.createFromDataMapItem(DataMapItem.fromDataItem(
dataItemResult
.getDataItem()));
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DeleteQuestionService.java
72
DataApi.
DataItemResult
dataItemResult
= Wearable.DataApi.getDataItem(
75
.createFromDataMapItem(DataMapItem.fromDataItem(
dataItemResult
.getDataItem()));
UpdateQuestionService.java
78
DataApi.
DataItemResult
dataItemResult
= Wearable.DataApi.getDataItem(
81
.createFromDataMapItem(DataMapItem.fromDataItem(
dataItemResult
.getDataItem()));
/developers/build/prebuilts/gradle/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/
DigitalWatchFaceCompanionConfigActivity.java
49
ResultCallback<DataApi.
DataItemResult
> {
109
@Override // ResultCallback<DataApi.
DataItemResult
>
110
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
111
if (
dataItemResult
.getStatus().isSuccess() &&
dataItemResult
.getDataItem() != null) {
112
DataItem configDataItem =
dataItemResult
.getDataItem();
/developers/samples/android/wearable/wear/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/
DigitalWatchFaceCompanionConfigActivity.java
49
ResultCallback<DataApi.
DataItemResult
> {
109
@Override // ResultCallback<DataApi.
DataItemResult
>
110
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
111
if (
dataItemResult
.getStatus().isSuccess() &&
dataItemResult
.getDataItem() != null) {
112
DataItem configDataItem =
dataItemResult
.getDataItem();
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DigitalWatchFaceCompanionConfigActivity.java
49
ResultCallback<DataApi.
DataItemResult
> {
109
@Override // ResultCallback<DataApi.
DataItemResult
>
110
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
111
if (
dataItemResult
.getStatus().isSuccess() &&
dataItemResult
.getDataItem() != null) {
112
DataItem configDataItem =
dataItemResult
.getDataItem();
/developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionsActivity.java
205
DataApi.
DataItemResult
dataItemResult
=
208
if (
dataItemResult
.getStatus().isSuccess() &&
dataItemResult
.getDataItem() != null) {
209
DataMapItem dataMapItem = DataMapItem.fromDataItem(
dataItemResult
.getDataItem());
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionsActivity.java
205
DataApi.
DataItemResult
dataItemResult
=
208
if (
dataItemResult
.getStatus().isSuccess() &&
dataItemResult
.getDataItem() != null) {
209
DataMapItem dataMapItem = DataMapItem.fromDataItem(
dataItemResult
.getDataItem());
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
AttractionsActivity.java
205
DataApi.
DataItemResult
dataItemResult
=
208
if (
dataItemResult
.getStatus().isSuccess() &&
dataItemResult
.getDataItem() != null) {
209
DataMapItem dataMapItem = DataMapItem.fromDataItem(
dataItemResult
.getDataItem());
/developers/build/prebuilts/gradle/DataLayer/Application/src/main/java/com/example/android/wearable/datalayer/
MainActivity.java
48
import com.google.android.gms.wearable.DataApi.
DataItemResult
;
337
.setResultCallback(new ResultCallback<
DataItemResult
>() {
339
public void onResult(
DataItemResult
dataItemResult
) {
340
LOGD(TAG, "Sending image was successful: " +
dataItemResult
.getStatus()
448
.setResultCallback(new ResultCallback<
DataItemResult
>() {
450
public void onResult(
DataItemResult
dataItemResult
) {
451
if (!
dataItemResult
.getStatus().isSuccess()) {
453
+
dataItemResult
.getStatus().getStatusCode())
[
all
...]
/developers/samples/android/wearable/wear/DataLayer/Application/src/main/java/com/example/android/wearable/datalayer/
MainActivity.java
48
import com.google.android.gms.wearable.DataApi.
DataItemResult
;
337
.setResultCallback(new ResultCallback<
DataItemResult
>() {
339
public void onResult(
DataItemResult
dataItemResult
) {
340
LOGD(TAG, "Sending image was successful: " +
dataItemResult
.getStatus()
448
.setResultCallback(new ResultCallback<
DataItemResult
>() {
450
public void onResult(
DataItemResult
dataItemResult
) {
451
if (!
dataItemResult
.getStatus().isSuccess()) {
453
+
dataItemResult
.getStatus().getStatusCode())
[
all
...]
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
MainActivity.java
48
import com.google.android.gms.wearable.DataApi.
DataItemResult
;
337
.setResultCallback(new ResultCallback<
DataItemResult
>() {
339
public void onResult(
DataItemResult
dataItemResult
) {
340
LOGD(TAG, "Sending image was successful: " +
dataItemResult
.getStatus()
448
.setResultCallback(new ResultCallback<
DataItemResult
>() {
450
public void onResult(
DataItemResult
dataItemResult
) {
451
if (!
dataItemResult
.getStatus().isSuccess()) {
453
+
dataItemResult
.getStatus().getStatusCode())
[
all
...]
/developers/build/prebuilts/gradle/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/
WearableMainActivity.java
420
.setResultCallback(new ResultCallback<DataApi.
DataItemResult
>() {
422
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
423
if (!
dataItemResult
.getStatus().isSuccess()) {
425
+ "status: " +
dataItemResult
.getStatus()
/developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/
WearableMainActivity.java
420
.setResultCallback(new ResultCallback<DataApi.
DataItemResult
>() {
422
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
423
if (!
dataItemResult
.getStatus().isSuccess()) {
425
+ "status: " +
dataItemResult
.getStatus()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
WearableMainActivity.java
420
.setResultCallback(new ResultCallback<DataApi.
DataItemResult
>() {
422
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
423
if (!
dataItemResult
.getStatus().isSuccess()) {
425
+ "status: " +
dataItemResult
.getStatus()
/developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
MainActivity.java
489
private class ResetDataItemCallback implements ResultCallback<DataApi.
DataItemResult
> {
492
public void onResult(DataApi.
DataItemResult
dataItemResult
) {
493
if (
dataItemResult
.getStatus().isSuccess()) {
495
DataMapItem.fromDataItem(
dataItemResult
.getDataItem()));
513
Log.e(TAG, "Failed to reset data item " +
dataItemResult
.getDataItem().getUri());
Completed in 792 milliseconds
1
2