Searched refs:itemHolder (Results 1 – 9 of 9) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ItemAdapter.kt | 42 override fun onItemChanged(itemHolder: ItemHolder<*>) { in onItemChanged() 43 mOnItemChangedListener?.onItemChanged(itemHolder) in onItemChanged() 44 val position = items!!.indexOf(itemHolder) in onItemChanged() 50 override fun onItemChanged(itemHolder: ItemHolder<*>, payload: Any) { in onItemChanged() 51 mOnItemChangedListener?.onItemChanged(itemHolder, payload) in onItemChanged() 52 val position = items!!.indexOf(itemHolder) in onItemChanged() 186 fun addItem(position: Int, itemHolder: T): ItemAdapter<T> { in addItem() 188 itemHolder.addOnItemChangedListener(mItemChangedNotifier) in addItem() 190 items!!.add(variablePosition, itemHolder) in addItem() 203 fun removeItem(itemHolder: T): ItemAdapter<T> { in removeItem() [all …]
|
D | AlarmClockFragment.kt | 248 val itemHolder = AlarmItemHolder(alarm, alarmInstance, mAlarmTimeClickHandler) in onLoadFinished() constant 249 itemHolders.add(itemHolder) in onLoadFinished() 370 fun removeItem(itemHolder: AlarmItemHolder) { in removeItem() 371 mItemAdapter.removeItem(itemHolder) in removeItem()
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtoneViewHolder.kt | 48 override fun onBindItemView(itemHolder: RingtoneHolder) { in onBindItemView() 49 mNameView.text = itemHolder.name in onBindItemView() 50 val opaque = itemHolder.isSelected || !itemHolder.hasPermissions() in onBindItemView() 57 if (!itemHolder.hasPermissions()) { in onBindItemView() 65 } else if (itemHolder.item == Utils.RINGTONE_SILENT) { in onBindItemView() 67 } else if (itemHolder.isPlaying) { in onBindItemView() 74 mSelectedView.visibility = if (itemHolder.isSelected) View.VISIBLE else View.GONE in onBindItemView() 76 val bgColorId = if (itemHolder.isSelected) R.color.white_08p else R.color.transparent in onBindItemView() 85 if (itemHolder!!.hasPermissions()) { in onClick()
|
D | RingtonePickerActivity.kt | 301 for (itemHolder in mRingtoneAdapter.items!!) { in <lambda>() method 302 if (itemHolder is RingtoneHolder) { in <lambda>() 303 if (itemHolder.uri == uri) { in <lambda>() 304 return itemHolder in <lambda>() 429 val newSelection = viewHolder.itemHolder as RingtoneHolder in <lambda>() 449 (viewHolder.itemHolder as RingtoneHolder).uri, false) in <lambda>()
|
D | HeaderViewHolder.kt | 32 override fun onBindItemView(itemHolder: HeaderHolder) { in onBindItemView() 33 mItemHeader.setText(itemHolder.textResId) in onBindItemView()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | CollapsedAlarmViewHolder.kt | 54 itemHolder?.expand() in <lambda>() 58 itemHolder?.expand() in <lambda>() 62 itemHolder?.expand() in <lambda>() 66 itemHolder!!.alarmTimeClickHandler.onClockClicked(itemHolder!!.item) in <lambda>() 68 itemHolder?.expand() in <lambda>() 74 override fun onBindItemView(itemHolder: AlarmItemHolder) { in <lambda>() 75 super.onBindItemView(itemHolder) in <lambda>() 76 val alarm = itemHolder.item in <lambda>() 77 val alarmInstance = itemHolder.alarmInstance in <lambda>()
|
D | ExpandedAlarmViewHolder.kt | 98 itemHolder?.collapse() in <lambda>() 102 itemHolder?.collapse() in <lambda>() 106 alarmTimeClickHandler.onClockClicked(itemHolder!!.item) in <lambda>() 110 alarmTimeClickHandler.onEditLabelClicked(itemHolder!!.item) in <lambda>() 114 alarmTimeClickHandler.setAlarmVibrationEnabled(itemHolder!!.item, in <lambda>() 119 alarmTimeClickHandler.onRingtoneClicked(context, itemHolder!!.item) in <lambda>() 123 alarmTimeClickHandler.onDeleteClicked(itemHolder!!) in <lambda>() 129 alarmTimeClickHandler.setAlarmRepeatEnabled(itemHolder!!.item, checked) in <lambda>() 130 itemHolder?.notifyItemChanged(ANIMATE_REPEAT_DAYS) in <lambda>() 136 alarmTimeClickHandler.setDayOfWeekEnabled(itemHolder!!.item, isChecked, i) in <lambda>() [all …]
|
D | AlarmItemViewHolder.kt | 47 val alarmInstance = itemHolder!!.alarmInstance in <lambda>() 49 itemHolder!!.alarmTimeClickHandler.dismissAlarmInstance(alarmInstance) in <lambda>() 53 itemHolder!!.alarmTimeClickHandler.setAlarmEnabled(itemHolder!!.item, checked) in <lambda>() 57 override fun onBindItemView(itemHolder: AlarmItemHolder) { in <lambda>() 58 val alarm = itemHolder.item in <lambda>()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmTimeClickHandler.kt | 140 fun onDeleteClicked(itemHolder: AlarmItemHolder) { in onDeleteClicked() 142 (mFragment as AlarmClockFragment).removeItem(itemHolder) in onDeleteClicked() 144 val alarm = itemHolder.item in onDeleteClicked()
|