Home
last modified time | relevance | path

Searched refs:RingtoneHolder (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DeskClock/tests/src/com/android/deskclock/ringtone/
DRingtonePickerActivityTest.java91 final RingtoneHolder silentHolder = (RingtoneHolder) itemsIter.next(); in validateDefaultState_TimerRingtonePicker()
95 final RingtoneHolder defaultHolder = (RingtoneHolder) itemsIter.next(); in validateDefaultState_TimerRingtonePicker()
129 final RingtoneHolder silentHolder = (RingtoneHolder) itemsIter.next(); in validateDefaultState_AlarmRingtonePicker()
133 final RingtoneHolder defaultHolder = (RingtoneHolder) itemsIter.next(); in validateDefaultState_AlarmRingtonePicker()
173 final RingtoneHolder silentHolder = (RingtoneHolder) itemsIter.next(); in validateDefaultState_TimerRingtonePicker_WithCustomRingtones()
177 final RingtoneHolder defaultHolder = (RingtoneHolder) itemsIter.next(); in validateDefaultState_TimerRingtonePicker_WithCustomRingtones()
226 final RingtoneHolder silentHolder = (RingtoneHolder) itemsIter.next(); in validateDefaultState_AlarmRingtonePicker_WithCustomRingtones()
230 final RingtoneHolder defaultHolder = (RingtoneHolder) itemsIter.next(); in validateDefaultState_AlarmRingtonePicker_WithCustomRingtones()
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtonePickerActivity.kt290 val toRemove = items!![mIndexOfRingtoneToRemove] as RingtoneHolder in <lambda>()
300 private fun getRingtoneHolder(uri: Uri?): RingtoneHolder? { in <lambda>()
302 if (itemHolder is RingtoneHolder) { in <lambda>()
313 internal val selectedRingtoneHolder: RingtoneHolder? in <lambda>()
321 private fun startPlayingRingtone(ringtone: RingtoneHolder) { in <lambda>()
339 private fun stopPlayingRingtone(ringtone: RingtoneHolder?, deselect: Boolean) { in <lambda>()
429 val newSelection = viewHolder.itemHolder as RingtoneHolder in <lambda>()
449 (viewHolder.itemHolder as RingtoneHolder).uri, false) in <lambda>()
DRingtoneViewHolder.kt38 : ItemViewHolder<RingtoneHolder>(itemView), View.OnClickListener, OnCreateContextMenuListener {
48 override fun onBindItemView(itemHolder: RingtoneHolder) { in onBindItemView()
DSystemRingtoneHolder.kt21 internal class SystemRingtoneHolder(uri: Uri, name: String?) : RingtoneHolder(uri, name) {
DCustomRingtoneHolder.kt22 : RingtoneHolder(ringtone.uri, ringtone.title, ringtone.hasPermissions()) {
DRingtoneHolder.kt26 internal abstract class RingtoneHolder @JvmOverloads constructor( class