Home
last modified time | relevance | path

Searched refs:ComplicationId (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DComplicationId.java23 public class ComplicationId { class
30 ComplicationId getNextId() { in getNextId()
31 return new ComplicationId(mNextId++); in getNextId()
37 private ComplicationId(int id) { in ComplicationId() method in ComplicationId
DComplicationViewModelTransformer.java30 private final ComplicationId.Factory mComplicationIdFactory = new ComplicationId.Factory();
31 private final HashMap<Complication, ComplicationId> mComplicationIdMapping = new HashMap<>();
44 final ComplicationId id = getComplicationId(complication); in getViewModel()
49 private ComplicationId getComplicationId(Complication complication) { in getComplicationId()
DComplicationViewModel.java28 private final ComplicationId mId;
38 public ComplicationViewModel(Complication complication, ComplicationId id, in ComplicationViewModel()
48 public ComplicationId getId() { in getId()
DComplicationHostViewController.java60 private final HashMap<ComplicationId, Complication.ViewHolder> mComplications = new HashMap<>();
115 final Collection<ComplicationId> ids = complications.stream() in updateComplications()
119 final Collection<ComplicationId> removedComplicationIds = in updateComplications()
138 final ComplicationId id = complication.getId(); in updateComplications()
DComplicationLayoutEngine.java582 private final HashMap<ComplicationId, ViewEntry> mEntries = new HashMap<>();
669 public void addComplication(ComplicationId id, View view, in addComplication()
697 public boolean removeComplication(ComplicationId id) { in removeComplication()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DComplicationViewModelTransformerTest.java74 ArgumentCaptor<ComplicationId> idCaptor = ArgumentCaptor.forClass(ComplicationId.class); in testStableIds()
78 final ComplicationId firstId = idCaptor.getValue(); in testStableIds()
84 final ComplicationId secondId = idCaptor.getValue(); in testStableIds()
100 ArgumentCaptor<ComplicationId> idCaptor = ArgumentCaptor.forClass(ComplicationId.class); in testUniqueIds()
104 final ComplicationId firstId = idCaptor.getValue(); in testUniqueIds()
110 final ComplicationId secondId = idCaptor.getValue(); in testUniqueIds()
DComplicationLayoutEngineTest.java74 public final ComplicationId id;
81 private static ComplicationId.Factory sFactory = new ComplicationId.Factory();
DComplicationHostViewControllerTest.java75 ComplicationId mComplicationId;
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/
DComplicationViewModelComponent.java19 import com.android.systemui.complication.ComplicationId;
39 @BindsInstance ComplicationId id); in create()