Searched refs:ComplicationId (Results 1 – 9 of 9) sorted by relevance
23 public class ComplicationId { class30 ComplicationId getNextId() { in getNextId()31 return new ComplicationId(mNextId++); in getNextId()37 private ComplicationId(int id) { in ComplicationId() method in ComplicationId
30 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()
28 private final ComplicationId mId;38 public ComplicationViewModel(Complication complication, ComplicationId id, in ComplicationViewModel()48 public ComplicationId getId() { in getId()
60 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()
582 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()
74 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()
74 public final ComplicationId id;81 private static ComplicationId.Factory sFactory = new ComplicationId.Factory();
75 ComplicationId mComplicationId;
19 import com.android.systemui.complication.ComplicationId;39 @BindsInstance ComplicationId id); in create()