Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
H A DComplicationUtilsTest.java27 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
H A DComplicationUtils.java42 public static int convertComplicationType(@DreamBackend.ComplicationType int type) { in convertComplicationType() method in ComplicationUtils
71 return types.stream().mapToInt(ComplicationUtils::convertComplicationType).reduce( in convertComplicationTypes()