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.java54 ComplicationData complicationData = null; in onComplicationUpdate() local
58 complicationData = new ComplicationData.Builder(ComplicationData.TYPE_RANGED_VALUE) in onComplicationUpdate()
66 complicationData = new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT) in onComplicationUpdate()
71 complicationData = new ComplicationData.Builder(ComplicationData.TYPE_LONG_TEXT) in onComplicationUpdate()
82 if (complicationData != null) { in onComplicationUpdate()
83 complicationManager.updateComplicationData(complicationId, complicationData); in onComplicationUpdate()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleWatchFaceService.java286 int complicationId, ComplicationData complicationData) { in onComplicationDataUpdate() argument
290 mActiveComplicationDataSparseArray.put(complicationId, complicationData); in onComplicationDataUpdate()
311 ComplicationData complicationData; in getTappedComplicationId() local
315 complicationData = mActiveComplicationDataSparseArray.get(COMPLICATION_IDS[i]); in getTappedComplicationId()
317 if ((complicationData != null) in getTappedComplicationId()
318 && (complicationData.isActive(currentTimeMillis)) in getTappedComplicationId()
319 && (complicationData.getType() != ComplicationData.TYPE_NOT_CONFIGURED) in getTappedComplicationId()
320 && (complicationData.getType() != ComplicationData.TYPE_EMPTY)) { in getTappedComplicationId()
365 ComplicationData complicationData = in onComplicationTap() local
368 if ((complicationData != null) && (complicationData.getTapAction() != null)) { in onComplicationTap()
[all …]