Searched refs:speedDialUiItems (Results 1 – 3 of 3) sorted by relevance
84 private List<SpeedDialUiItem> speedDialUiItems; field in SpeedDialAdapter149 ((FavoritesViewHolder) holder).bind(context, speedDialUiItems.get(position - 2)); in onBindViewHolder()157 ((SuggestionViewHolder) holder).bind(context, speedDialUiItems.get(position - 3)); in onBindViewHolder()172 speedDialUiItems = new ArrayList<>(); in setSpeedDialUiItems()173 speedDialUiItems.addAll(immutableSpeedDialUiItems); in setSpeedDialUiItems()174 speedDialUiItems.sort( in setSpeedDialUiItems()186 if (speedDialUiItems.isEmpty()) { in updatePositionToRowTypeMap()194 for (int i = 0; i < speedDialUiItems.size(); i++) { in updatePositionToRowTypeMap()195 if (speedDialUiItems.get(i).isStarred()) { in updatePositionToRowTypeMap()202 if (!speedDialUiItems.get(speedDialUiItems.size() - 1).isStarred()) { in updatePositionToRowTypeMap()[all …]
273 private void onSpeedDialUiItemListLoaded(ImmutableList<SpeedDialUiItem> speedDialUiItems) { in onSpeedDialUiItemListLoaded() argument279 .insertDuoChannels(getContext(), speedDialUiItems)); in onSpeedDialUiItemListLoaded() local652 void updateAdapter(ImmutableList<SpeedDialUiItem> speedDialUiItems) { in updateAdapter() argument653 onSpeedDialUiItemListLoaded(speedDialUiItems); in updateAdapter()
242 List<SpeedDialUiItem> speedDialUiItems = new ArrayList<>(); in loadSpeedDialUiItemsInternal() local279 speedDialUiItems.add(contact); in loadSpeedDialUiItemsInternal()288 if (speedDialUiItems.stream().noneMatch(c -> c.contactId() == contact.contactId())) { in loadSpeedDialUiItemsInternal()292 speedDialUiItems.add(contact); in loadSpeedDialUiItemsInternal()306 return speedDialUiItemsWithUpdatedIds(speedDialUiItems, insertedEntriesToIdsMap); in loadSpeedDialUiItemsInternal()330 List<SpeedDialUiItem> speedDialUiItems, in speedDialUiItemsWithUpdatedIds()334 return ImmutableList.copyOf(speedDialUiItems); in speedDialUiItemsWithUpdatedIds()338 for (SpeedDialUiItem speedDialUiItem : speedDialUiItems) { in speedDialUiItemsWithUpdatedIds()565 public void updatePinnedPosition(List<SpeedDialUiItem> speedDialUiItems) { in updatePinnedPosition() argument567 if (speedDialUiItems == null || speedDialUiItems.isEmpty()) { in updatePinnedPosition()[all …]