Searched refs:RingtoneViewHolder (Results 1 – 5 of 5) sorted by relevance
/packages/apps/DeskClock/tests/src/com/android/deskclock/ringtone/ |
D | RingtonePickerActivityTest.java | 93 assertEquals(RingtoneViewHolder.VIEW_TYPE_SYSTEM_SOUND, silentHolder.getItemViewType()); in validateDefaultState_TimerRingtonePicker() 96 assertEquals(RingtoneViewHolder.VIEW_TYPE_SYSTEM_SOUND, defaultHolder.getItemViewType()); in validateDefaultState_TimerRingtonePicker() 131 assertEquals(RingtoneViewHolder.VIEW_TYPE_SYSTEM_SOUND, silentHolder.getItemViewType()); in validateDefaultState_AlarmRingtonePicker() 134 assertEquals(RingtoneViewHolder.VIEW_TYPE_SYSTEM_SOUND, defaultHolder.getItemViewType()); in validateDefaultState_AlarmRingtonePicker() 163 assertEquals(RingtoneViewHolder.VIEW_TYPE_CUSTOM_SOUND, in validateDefaultState_TimerRingtonePicker_WithCustomRingtones() 175 assertEquals(RingtoneViewHolder.VIEW_TYPE_SYSTEM_SOUND, silentHolder.getItemViewType()); in validateDefaultState_TimerRingtonePicker_WithCustomRingtones() 178 assertEquals(RingtoneViewHolder.VIEW_TYPE_SYSTEM_SOUND, defaultHolder.getItemViewType()); in validateDefaultState_TimerRingtonePicker_WithCustomRingtones() 216 assertEquals(RingtoneViewHolder.VIEW_TYPE_CUSTOM_SOUND, in validateDefaultState_AlarmRingtonePicker_WithCustomRingtones() 228 assertEquals(RingtoneViewHolder.VIEW_TYPE_SYSTEM_SOUND, silentHolder.getItemViewType()); in validateDefaultState_AlarmRingtonePicker_WithCustomRingtones() 231 assertEquals(RingtoneViewHolder.VIEW_TYPE_SYSTEM_SOUND, defaultHolder.getItemViewType()); in validateDefaultState_AlarmRingtonePicker_WithCustomRingtones()
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtonePickerActivity.kt | 131 val ringtoneFactory: ItemViewHolder.Factory = RingtoneViewHolder.Factory(inflater) in <lambda>() 139 .withViewTypes(ringtoneFactory, listener, RingtoneViewHolder.VIEW_TYPE_SYSTEM_SOUND) in <lambda>() 140 .withViewTypes(ringtoneFactory, listener, RingtoneViewHolder.VIEW_TYPE_CUSTOM_SOUND) in <lambda>() 427 RingtoneViewHolder.CLICK_NORMAL -> { in <lambda>() 444 RingtoneViewHolder.CLICK_LONG_PRESS -> { in <lambda>() 447 RingtoneViewHolder.CLICK_NO_PERMISSIONS -> { in <lambda>()
|
D | RingtoneViewHolder.kt | 37 internal class RingtoneViewHolder private constructor(itemView: View) class 105 return RingtoneViewHolder(itemView) in createViewHolder()
|
D | SystemRingtoneHolder.kt | 23 return RingtoneViewHolder.VIEW_TYPE_SYSTEM_SOUND in getItemViewType()
|
D | CustomRingtoneHolder.kt | 25 return RingtoneViewHolder.VIEW_TYPE_CUSTOM_SOUND in getItemViewType()
|