Searched refs:itemHolders (Results 1 – 4 of 4) 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()
243 itemHolders: List<ItemHolder<Uri?>> in <lambda>()246 mRingtoneAdapter.setItems(itemHolders) in <lambda>()
132 fun setItems(itemHolders: List<T>?): ItemAdapter<T> { in setItems()134 if (oldItemHolders !== itemHolders) { in setItems()142 if (oldItemHolders != null && itemHolders != null && hasStableIds()) { in setItems()147 for (newItemHolder in itemHolders) { in setItems()163 if (itemHolders != null) { in setItems()165 for (newItemHolder in itemHolders) { in setItems()171 items = itemHolders?.toMutableList() in setItems()
239 val itemHolders: MutableList<AlarmItemHolder> = ArrayList(data.count) in onLoadFinished() constant249 itemHolders.add(itemHolder) in onLoadFinished()252 setAdapterItems(itemHolders, SystemClock.elapsedRealtime()) in onLoadFinished()