/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ItemAdapter.java | 45 public void onItemChanged(ItemHolder<?> itemHolder) { 47 mOnItemChangedListener.onItemChanged(itemHolder); 49 final int position = mItemHolders.indexOf(itemHolder); 56 public void onItemChanged(ItemHolder<?> itemHolder, Object payload) { 58 mOnItemChangedListener.onItemChanged(itemHolder, payload); 60 final int position = mItemHolders.indexOf(itemHolder); 203 public ItemAdapter addItem(int position, @NonNull T itemHolder) { in addItem() argument 204 itemHolder.addOnItemChangedListener(mItemChangedNotifier); in addItem() 206 mItemHolders.add(position, itemHolder); in addItem() 219 public ItemAdapter removeItem(@NonNull T itemHolder) { in removeItem() argument [all …]
|
D | AlarmClockFragment.java | 281 final AlarmItemHolder itemHolder = in onLoadFinished() local 283 itemHolders.add(itemHolder); in onLoadFinished() 415 public void removeItem(AlarmItemHolder itemHolder) { in removeItem() argument 416 mItemAdapter.removeItem(itemHolder); in removeItem()
|
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 | RingtoneViewHolder.java | 63 protected void onBindItemView(RingtoneHolder itemHolder) { in onBindItemView() argument 64 mNameView.setText(itemHolder.getName()); in onBindItemView() 65 final boolean opaque = itemHolder.isSelected() || !itemHolder.hasPermissions(); in onBindItemView() 72 if (!itemHolder.hasPermissions()) { in onBindItemView() 80 } else if (itemHolder.item == Utils.RINGTONE_SILENT) { in onBindItemView() 82 } else if (itemHolder.isPlaying()) { in onBindItemView() 89 mSelectedView.setVisibility(itemHolder.isSelected() ? VISIBLE : GONE); in onBindItemView() 91 final int bgColorId = itemHolder.isSelected() ? R.color.white_08p : R.color.transparent; in onBindItemView()
|
D | RingtonePickerActivity.kt | 300 for (itemHolder in mRingtoneAdapter.items) { in <lambda>() method 301 if (itemHolder is RingtoneHolder) { in <lambda>() 302 if (itemHolder.uri == uri) { in <lambda>() 303 return itemHolder in <lambda>() 428 val newSelection = viewHolder.itemHolder as RingtoneHolder in <lambda>() 448 (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()
|
D | HeaderViewHolder.java | 39 protected void onBindItemView(HeaderHolder itemHolder) { in onBindItemView() argument 40 mItemHeader.setText(itemHolder.getTextResId()); in onBindItemView()
|
D | RingtonePickerActivity.java | 365 for (ItemAdapter.ItemHolder<Uri> itemHolder : mRingtoneAdapter.getItems()) { in getRingtoneHolder() 366 if (itemHolder instanceof RingtoneHolder) { in getRingtoneHolder() 367 final RingtoneHolder ringtoneHolder = (RingtoneHolder) itemHolder; in getRingtoneHolder()
|
/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>()
|
D | CollapsedAlarmViewHolder.java | 99 protected void onBindItemView(AlarmItemHolder itemHolder) { in onBindItemView() argument 100 super.onBindItemView(itemHolder); in onBindItemView() 101 final Alarm alarm = itemHolder.item; in onBindItemView() 102 final AlarmInstance alarmInstance = itemHolder.getAlarmInstance(); in onBindItemView()
|
D | AlarmItemViewHolder.java | 84 protected void onBindItemView(final AlarmItemHolder itemHolder) { in onBindItemView() argument 85 final Alarm alarm = itemHolder.item; in onBindItemView()
|
D | ExpandedAlarmViewHolder.java | 192 protected void onBindItemView(final AlarmItemHolder itemHolder) { in onBindItemView() argument 193 super.onBindItemView(itemHolder); in onBindItemView() 195 final Alarm alarm = itemHolder.item; in onBindItemView() 196 final AlarmInstance alarmInstance = itemHolder.getAlarmInstance(); in onBindItemView()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmTimeClickHandler.kt | 141 fun onDeleteClicked(itemHolder: AlarmItemHolder) { in onDeleteClicked() 143 (mFragment as AlarmClockFragment).removeItem(itemHolder) in onDeleteClicked() 145 val alarm = itemHolder.item in onDeleteClicked()
|
D | AlarmTimeClickHandler.java | 148 public void onDeleteClicked(AlarmItemHolder itemHolder) { in onDeleteClicked() argument 150 ((AlarmClockFragment) mFragment).removeItem(itemHolder); in onDeleteClicked() 152 final Alarm alarm = itemHolder.item; in onDeleteClicked()
|