Searched refs:itemHolders (Results 1 – 4 of 4) sorted by relevance
82 final List<ItemAdapter.ItemHolder<Uri>> itemHolders = new ArrayList<>(itemCount); in loadInBackground() local85 itemHolders.add(new HeaderHolder(R.string.your_sounds)); in loadInBackground()89 itemHolders.add(new CustomRingtoneHolder(ringtone)); in loadInBackground()93 itemHolders.add(new AddCustomRingtoneHolder()); in loadInBackground()96 itemHolders.add(new HeaderHolder(R.string.device_sounds)); in loadInBackground()99 itemHolders.add(new SystemRingtoneHolder(RINGTONE_SILENT, null)); in loadInBackground()102 itemHolders.add(new SystemRingtoneHolder(mDefaultRingtoneUri, mDefaultRingtoneTitle)); in loadInBackground()107 itemHolders.add(new SystemRingtoneHolder(ringtoneUri, null)); in loadInBackground()110 return itemHolders; in loadInBackground()
303 List<ItemAdapter.ItemHolder<Uri>> itemHolders) { in onLoadFinished() argument305 mRingtoneAdapter.setItems(itemHolders); in onLoadFinished()
148 public ItemAdapter setItems(List<T> itemHolders) { in setItems() argument150 if (oldItemHolders != itemHolders) { in setItems()158 if (oldItemHolders != null && itemHolders != null && hasStableIds()) { in setItems()163 for (ItemHolder newItemHolder : itemHolders) { in setItems()180 if (itemHolders != null) { in setItems()182 for (ItemHolder newItemHolder : itemHolders) { in setItems()188 mItemHolders = itemHolders; in setItems()
276 final List<AlarmItemHolder> itemHolders = new ArrayList<>(data.getCount()); in onLoadFinished() local283 itemHolders.add(itemHolder); in onLoadFinished()285 setAdapterItems(itemHolders, SystemClock.elapsedRealtime()); in onLoadFinished()