Home
last modified time | relevance | path

Searched refs:itemHolders (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtoneLoader.kt69 val itemHolders: MutableList<ItemHolder<Uri?>> = ArrayList(itemCount) in loadInBackground() constant
72 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()
DRingtonePickerActivity.kt243 itemHolders: List<ItemHolder<Uri?>> in <lambda>()
246 mRingtoneAdapter.setItems(itemHolders) in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/
DItemAdapter.kt132 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()
DAlarmClockFragment.kt239 val itemHolders: MutableList<AlarmItemHolder> = ArrayList(data.count) in onLoadFinished() constant
249 itemHolders.add(itemHolder) in onLoadFinished()
252 setAdapterItems(itemHolders, SystemClock.elapsedRealtime()) in onLoadFinished()