Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleWatchFaceService.java62 public static final int[] COMPLICATION_IDS = {LEFT_DIAL_COMPLICATION, RIGHT_DIAL_COMPLICATION}; field in ComplicationSimpleWatchFaceService
201 mActiveComplicationDataSparseArray = new SparseArray<>(COMPLICATION_IDS.length); in initializeComplication()
209 setActiveComplications(COMPLICATION_IDS); in initializeComplication()
314 for (int i = 0; i < COMPLICATION_IDS.length; i++) { in getTappedComplicationId()
315 complicationData = mActiveComplicationDataSparseArray.get(COMPLICATION_IDS[i]); in getTappedComplicationId()
324 switch (COMPLICATION_IDS[i]) { in getTappedComplicationId()
348 return COMPLICATION_IDS[i]; in getTappedComplicationId()
549 for (int i = 0; i < COMPLICATION_IDS.length; i++) { in drawComplications()
551 complicationData = mActiveComplicationDataSparseArray.get(COMPLICATION_IDS[i]); in drawComplications()
583 if (COMPLICATION_IDS[i] == LEFT_DIAL_COMPLICATION) { in drawComplications()
DComplicationSimpleConfigActivity.java93 int[] complicationIds = ComplicationSimpleWatchFaceService.COMPLICATION_IDS; in getComplicationItems()