Home
last modified time | relevance | path

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

/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
DHomeListenerService.java91 private void deleteDataItem(DataItem dataItem) { in deleteDataItem() argument
93 Log.v(TAG, "onDataItemDeleted:DataItem=" + dataItem.getUri()); in deleteDataItem()
95 Integer notificationId = sNotificationIdByDataItemUri.remove(dataItem.getUri()); in deleteDataItem()
104 private void updateNotificationForDataItem(DataItem dataItem) { in updateNotificationForDataItem() argument
105 DataMapItem mapDataItem = DataMapItem.fromDataItem(dataItem); in updateNotificationForDataItem()
126 String deleteAction = "action_delete" + dataItem.getUri().toString() + sNotificationId; in updateNotificationForDataItem()
128 deleteOperation.setData(dataItem.getUri()); in updateNotificationForDataItem()
167 sNotificationIdByDataItemUri.put(dataItem.getUri(), sNotificationId++); in updateNotificationForDataItem()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizListenerService.java95 DataItem dataItem = event.getDataItem(); in onDataChanged() local
96 DataMap dataMap = DataMapItem.fromDataItem(dataItem).getDataMap(); in onDataChanged()
109 deleteOperation.setData(dataItem.getUri()); in onDataChanged()
136 updateOperation.setData(dataItem.getUri()); in onDataChanged()
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DHomeListenerService.java89 private void cancelNotificationForDataItem(DataItem dataItem) { in cancelNotificationForDataItem() argument
91 Log.v(TAG, "onDataItemDeleted:DataItem=" + dataItem.getUri()); in cancelNotificationForDataItem()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DMainActivity.java218 for (final DataItem dataItem : dataItemList) { in deleteDataItems()
219 final Uri dataItemUri = dataItem.getUri(); in deleteDataItems()
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DMainActivity.java475 for (final DataItem dataItem : dataItemList) { in resetDataItems()
476 final Uri dataItemUri = dataItem.getUri(); in resetDataItems()
533 for (final DataItem dataItem : result) { in newQuiz()
534 dataItemUriList.add(dataItem.getUri()); in newQuiz()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceService.java577 DataItem dataItem = dataEvent.getDataItem();
578 if (!dataItem.getUri().getPath().equals(
583 DataMapItem dataMapItem = DataMapItem.fromDataItem(dataItem);