Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/provider/
DRandomNumberProviderService.java74 ComplicationData complicationData = null; in onComplicationUpdate() local
78 complicationData = new ComplicationData.Builder(ComplicationData.TYPE_RANGED_VALUE) in onComplicationUpdate()
87 complicationData = new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT) in onComplicationUpdate()
93 complicationData = new ComplicationData.Builder(ComplicationData.TYPE_LONG_TEXT) in onComplicationUpdate()
105 if (complicationData != null) { in onComplicationUpdate()
106 complicationManager.updateComplicationData(complicationId, complicationData); in onComplicationUpdate()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleWatchFaceService.java288 int complicationId, ComplicationData complicationData) { in onComplicationDataUpdate() argument
292 mActiveComplicationDataSparseArray.put(complicationId, complicationData); in onComplicationDataUpdate()
313 ComplicationData complicationData; in getTappedComplicationId() local
317 complicationData = mActiveComplicationDataSparseArray.get(COMPLICATION_IDS[i]); in getTappedComplicationId()
319 if ((complicationData != null) in getTappedComplicationId()
320 && (complicationData.isActive(currentTimeMillis)) in getTappedComplicationId()
321 && (complicationData.getType() != ComplicationData.TYPE_NOT_CONFIGURED) in getTappedComplicationId()
322 && (complicationData.getType() != ComplicationData.TYPE_EMPTY)) { in getTappedComplicationId()
368 ComplicationData complicationData = in onComplicationTap() local
371 if (complicationData != null) { in onComplicationTap()
[all …]