Searched refs:RingtoneHolder (Results 1 – 6 of 6) sorted by relevance
91 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()
290 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>()
38 : ItemViewHolder<RingtoneHolder>(itemView), View.OnClickListener, OnCreateContextMenuListener {48 override fun onBindItemView(itemHolder: RingtoneHolder) { in onBindItemView()
21 internal class SystemRingtoneHolder(uri: Uri, name: String?) : RingtoneHolder(uri, name) {
22 : RingtoneHolder(ringtone.uri, ringtone.title, ringtone.hasPermissions()) {
26 internal abstract class RingtoneHolder @JvmOverloads constructor( class