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.java82 final List<ItemAdapter.ItemHolder<Uri>> itemHolders = new ArrayList<>(itemCount); in loadInBackground() local
85 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()
DRingtonePickerActivity.java303 List<ItemAdapter.ItemHolder<Uri>> itemHolders) { in onLoadFinished() argument
305 mRingtoneAdapter.setItems(itemHolders); in onLoadFinished()
/packages/apps/DeskClock/src/com/android/deskclock/
DItemAdapter.java148 public ItemAdapter setItems(List<T> itemHolders) { in setItems() argument
150 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()
DAlarmClockFragment.java276 final List<AlarmItemHolder> itemHolders = new ArrayList<>(data.getCount()); in onLoadFinished() local
283 itemHolders.add(itemHolder); in onLoadFinished()
285 setAdapterItems(itemHolders, SystemClock.elapsedRealtime()); in onLoadFinished()