Searched refs:itemHolders (Results 1 – 7 of 7) sorted by relevance
69 val itemHolders: MutableList<ItemHolder<Uri>> = ArrayList(itemCount) in loadInBackground() constant72 itemHolders.add(HeaderHolder(R.string.your_sounds)) in loadInBackground()76 itemHolders.add(CustomRingtoneHolder(ringtone)) in loadInBackground()80 itemHolders.add(AddCustomRingtoneHolder()) in loadInBackground()83 itemHolders.add(HeaderHolder(R.string.device_sounds)) in loadInBackground()86 itemHolders.add(SystemRingtoneHolder(Utils.RINGTONE_SILENT, null)) in loadInBackground()89 itemHolders.add(SystemRingtoneHolder(mDefaultRingtoneUri, mDefaultRingtoneTitle)) in loadInBackground()94 itemHolders.add(SystemRingtoneHolder(ringtoneUri, null)) in loadInBackground()97 return itemHolders in loadInBackground()
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()
242 itemHolders: List<ItemHolder<Uri>> in <lambda>()245 mRingtoneAdapter.setItems(itemHolders) in <lambda>()
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()
239 val itemHolders: MutableList<AlarmItemHolder> = ArrayList(data.count) in onLoadFinished() constant249 itemHolders.add(itemHolder) in onLoadFinished()252 setAdapterItems(itemHolders, SystemClock.elapsedRealtime()) in onLoadFinished()