/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ItemAdapter.kt | 27 import com.android.deskclock.ItemAdapter.ItemViewHolder 35 class ItemAdapter<T : ItemHolder<*>> : RecyclerView.Adapter<ItemViewHolder<T>>() { 64 override fun onItemClicked(viewHolder: ItemViewHolder<*>, id: Int) { in onItemClicked() 78 private val mFactoriesByViewType: SparseArray<ItemViewHolder.Factory> = SparseArray() 110 factory: ItemViewHolder.Factory, in withViewTypes() 239 override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ItemViewHolder<T> { in onCreateViewHolder() 242 return factory.createViewHolder(parent, viewType) as ItemViewHolder<T> in onCreateViewHolder() 247 override fun onBindViewHolder(viewHolder: ItemViewHolder<T>, position: Int) { in onBindViewHolder() 254 override fun onViewRecycled(viewHolder: ItemViewHolder<T>) { in onViewRecycled() 362 open class ItemViewHolder<T : ItemHolder<*>>(itemView: View) class in com.android.deskclock.ItemAdapter [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | HeaderViewHolder.kt | 24 import com.android.deskclock.ItemAdapter.ItemViewHolder 28 : ItemViewHolder<HeaderHolder>(itemView) { 37 : ItemViewHolder.Factory { 38 override fun createViewHolder(parent: ViewGroup, viewType: Int): ItemViewHolder<*> { in createViewHolder()
|
D | AddCustomRingtoneViewHolder.kt | 25 import com.android.deskclock.ItemAdapter.ItemViewHolder 29 : ItemViewHolder<AddCustomRingtoneHolder>(itemView), View.OnClickListener { 48 : ItemViewHolder.Factory { 49 override fun createViewHolder(parent: ViewGroup, viewType: Int): ItemViewHolder<*> { in createViewHolder()
|
D | RingtoneViewHolder.kt | 32 import com.android.deskclock.ItemAdapter.ItemViewHolder 38 : ItemViewHolder<RingtoneHolder>(itemView), View.OnClickListener, OnCreateContextMenuListener { 102 : ItemViewHolder.Factory { 103 override fun createViewHolder(parent: ViewGroup, viewType: Int): ItemViewHolder<*> { in createViewHolder()
|
D | RingtonePickerActivity.kt | 53 import com.android.deskclock.ItemAdapter.ItemViewHolder in <lambda>() 131 val ringtoneFactory: ItemViewHolder.Factory = RingtoneViewHolder.Factory(inflater) in <lambda>() 132 val headerFactory: ItemViewHolder.Factory = HeaderViewHolder.Factory(inflater) in <lambda>() 133 val addNewFactory: ItemViewHolder.Factory = AddCustomRingtoneViewHolder.Factory(inflater) in <lambda>() 418 override fun onItemClicked(viewHolder: ItemViewHolder<*>, id: Int) { in <lambda>()
|
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/ |
D | MDTest.java | 152 private final class MenuAdapter extends RecyclerView.Adapter<ItemViewHolder> { 160 public ItemViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 162 return new ItemViewHolder(view); in onCreateViewHolder() 166 public void onBindViewHolder(ItemViewHolder holder, int position) { in onBindViewHolder() 177 private final class ItemViewHolder extends RecyclerView.ViewHolder { class in MDTest 180 ItemViewHolder(View itemView) { in ItemViewHolder() method in MDTest.ItemViewHolder
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/key/ |
D | InjectKeyTestFragment.java | 179 private final class KeysAdapter extends RecyclerView.Adapter<ItemViewHolder> { 187 public ItemViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 189 return new ItemViewHolder(view); in onCreateViewHolder() 193 public void onBindViewHolder(ItemViewHolder holder, int position) { in onBindViewHolder() 204 private final class ItemViewHolder extends RecyclerView.ViewHolder { class in InjectKeyTestFragment 207 ItemViewHolder(View itemView) { in ItemViewHolder() method in InjectKeyTestFragment.ItemViewHolder
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | BaseTimeZoneAdapter.java | 89 return new ItemViewHolder(view, mOnListItemClickListener); in onCreateViewHolder() 100 } else if (holder instanceof ItemViewHolder) { in onBindViewHolder() 101 ItemViewHolder<T> itemViewHolder = (ItemViewHolder<T>) holder; in onBindViewHolder() 187 public static class ItemViewHolder<T extends BaseTimeZoneAdapter.AdapterItem> class in BaseTimeZoneAdapter 198 public ItemViewHolder(View itemView, OnListItemClickListener<T> onListItemClickListener) { in ItemViewHolder() method in BaseTimeZoneAdapter.ItemViewHolder
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/ |
D | ItemViewHolder.java | 35 public final class ItemViewHolder extends ViewHolderBase { class 40 public ItemViewHolder( in ItemViewHolder() method in ItemViewHolder
|
D | ChooserGridAdapter.java | 245 return new ItemViewHolder( in onCreateViewHolder() 251 return new ItemViewHolder( in onCreateViewHolder() 306 bindItemViewHolder(position, (ItemViewHolder) holder); in onBindViewHolder() 455 void bindItemViewHolder(int position, ItemViewHolder holder) { in bindItemViewHolder()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/ |
D | RegionSearchPickerTest.java | 33 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.ItemViewHolder; 89 ItemViewHolder viewHolder = (ItemViewHolder) adapter.onCreateViewHolder( in clickItemView_duringRegionSearch_shouldNotCrash()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | AlarmItemViewHolder.kt | 26 import com.android.deskclock.ItemAdapter.ItemViewHolder in <lambda>() 38 : ItemViewHolder<AlarmItemHolder>(itemView), OnAnimateChangeListener { in <lambda>()
|
D | CollapsedAlarmViewHolder.kt | 32 import com.android.deskclock.ItemAdapter.ItemViewHolder in <lambda>() 244 class Factory(private val layoutInflater: LayoutInflater) : ItemViewHolder.Factory { in <lambda>() 245 override fun createViewHolder(parent: ViewGroup, viewType: Int): ItemViewHolder<*> { in <lambda>()
|
D | ExpandedAlarmViewHolder.kt | 43 import com.android.deskclock.ItemAdapter.ItemViewHolder in <lambda>() 486 class Factory(context: Context) : ItemViewHolder.Factory { in <lambda>() 491 override fun createViewHolder(parent: ViewGroup, viewType: Int): ItemViewHolder<*> { in <lambda>()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | KitchenSinkActivity.java | 648 private final class MenuAdapter extends RecyclerView.Adapter<ItemViewHolder> { 657 public ItemViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 659 return new ItemViewHolder(view); in onCreateViewHolder() 663 public void onBindViewHolder(ItemViewHolder holder, int position) { in onBindViewHolder() 674 private final class ItemViewHolder extends RecyclerView.ViewHolder { class in KitchenSinkActivity 677 ItemViewHolder(View itemView) { in ItemViewHolder() method in KitchenSinkActivity.ItemViewHolder
|