Searched refs:convertComplicationType (Results 1 – 2 of 2) sorted by relevance
27 import static com.android.systemui.complication.ComplicationUtils.convertComplicationType;53 assertThat(convertComplicationType(DreamBackend.COMPLICATION_TYPE_TIME)) in testConvertComplicationType()55 assertThat(convertComplicationType(DreamBackend.COMPLICATION_TYPE_DATE)) in testConvertComplicationType()57 assertThat(convertComplicationType(DreamBackend.COMPLICATION_TYPE_WEATHER)) in testConvertComplicationType()59 assertThat(convertComplicationType(DreamBackend.COMPLICATION_TYPE_AIR_QUALITY)) in testConvertComplicationType()61 assertThat(convertComplicationType(DreamBackend.COMPLICATION_TYPE_CAST_INFO)) in testConvertComplicationType()63 assertThat(convertComplicationType(DreamBackend.COMPLICATION_TYPE_HOME_CONTROLS)) in testConvertComplicationType()65 assertThat(convertComplicationType(DreamBackend.COMPLICATION_TYPE_SMARTSPACE)) in testConvertComplicationType()67 assertThat(convertComplicationType(DreamBackend.COMPLICATION_TYPE_MEDIA_ENTRY)) in testConvertComplicationType()
42 public static int convertComplicationType(@DreamBackend.ComplicationType int type) { in convertComplicationType() method in ComplicationUtils71 return types.stream().mapToInt(ComplicationUtils::convertComplicationType).reduce( in convertComplicationTypes()