/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtonePickerActivity.java | 46 import com.android.deskclock.ItemAdapter; 47 import com.android.deskclock.ItemAdapter.OnItemClickedListener; 63 import static com.android.deskclock.ItemAdapter.ItemViewHolder.Factory; 79 implements LoaderManager.LoaderCallbacks<List<ItemAdapter.ItemHolder<Uri>>> { 109 private ItemAdapter<ItemAdapter.ItemHolder<Uri>> mRingtoneAdapter; 187 mRingtoneAdapter = new ItemAdapter<>(); in onCreate() 296 public Loader<List<ItemAdapter.ItemHolder<Uri>>> onCreateLoader(int id, Bundle args) { in onCreateLoader() 302 public void onLoadFinished(Loader<List<ItemAdapter.ItemHolder<Uri>>> loader, in onLoadFinished() 303 List<ItemAdapter.ItemHolder<Uri>> itemHolders) { in onLoadFinished() 327 public void onLoaderReset(Loader<List<ItemAdapter.ItemHolder<Uri>>> loader) {} in onLoaderReset() [all …]
|
D | HeaderViewHolder.java | 24 import com.android.deskclock.ItemAdapter; 27 final class HeaderViewHolder extends ItemAdapter.ItemViewHolder<HeaderHolder> { 43 public static class Factory implements ItemAdapter.ItemViewHolder.Factory { 52 public ItemAdapter.ItemViewHolder<?> createViewHolder(ViewGroup parent, int viewType) { in createViewHolder()
|
D | RingtoneLoader.java | 26 import com.android.deskclock.ItemAdapter; 41 class RingtoneLoader extends AsyncTaskLoader<List<ItemAdapter.ItemHolder<Uri>>> { 62 public List<ItemAdapter.ItemHolder<Uri>> loadInBackground() { in loadInBackground() 82 final List<ItemAdapter.ItemHolder<Uri>> itemHolders = new ArrayList<>(itemCount); in loadInBackground()
|
D | RingtoneViewHolder.java | 30 import com.android.deskclock.ItemAdapter; 40 final class RingtoneViewHolder extends ItemAdapter.ItemViewHolder<RingtoneHolder> 115 public static class Factory implements ItemAdapter.ItemViewHolder.Factory { 124 public ItemAdapter.ItemViewHolder<?> createViewHolder(ViewGroup parent, int viewType) { in createViewHolder()
|
D | RingtonePickerActivity.kt | 50 import com.android.deskclock.ItemAdapter in <lambda>() 51 import com.android.deskclock.ItemAdapter.ItemHolder in <lambda>() 52 import com.android.deskclock.ItemAdapter.ItemViewHolder in <lambda>() 53 import com.android.deskclock.ItemAdapter.OnItemClickedListener in <lambda>() 82 private lateinit var mRingtoneAdapter: ItemAdapter<ItemHolder<Uri>> in <lambda>() 134 mRingtoneAdapter = ItemAdapter() in <lambda>()
|
D | AddCustomRingtoneHolder.java | 21 import com.android.deskclock.ItemAdapter; 25 final class AddCustomRingtoneHolder extends ItemAdapter.ItemHolder<Uri> {
|
D | HeaderHolder.java | 22 import com.android.deskclock.ItemAdapter; 26 final class HeaderHolder extends ItemAdapter.ItemHolder<Uri> {
|
D | RingtoneHolder.java | 21 import com.android.deskclock.ItemAdapter; 27 abstract class RingtoneHolder extends ItemAdapter.ItemHolder<Uri> {
|
D | AddCustomRingtoneHolder.kt | 22 import com.android.deskclock.ItemAdapter.ItemHolder
|
D | HeaderHolder.kt | 23 import com.android.deskclock.ItemAdapter.ItemHolder
|
D | RingtoneHolder.kt | 22 import com.android.deskclock.ItemAdapter.ItemHolder
|
D | HeaderViewHolder.kt | 24 import com.android.deskclock.ItemAdapter.ItemViewHolder
|
D | AddCustomRingtoneViewHolder.kt | 25 import com.android.deskclock.ItemAdapter.ItemViewHolder
|
D | AddCustomRingtoneViewHolder.java | 25 import com.android.deskclock.ItemAdapter.ItemViewHolder;
|
D | RingtoneLoader.kt | 26 import com.android.deskclock.ItemAdapter.ItemHolder
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ItemAdapter.java | 35 public class ItemAdapter<T extends ItemAdapter.ItemHolder> class 36 extends RecyclerView.Adapter<ItemAdapter.ItemViewHolder> { 107 public ItemAdapter setHasStableIds() { in setHasStableIds() 122 public ItemAdapter withViewTypes(ItemViewHolder.Factory factory, in withViewTypes() 148 public ItemAdapter setItems(List<T> itemHolders) { in setItems() 203 public ItemAdapter addItem(int position, @NonNull T itemHolder) { in addItem() 219 public ItemAdapter removeItem(@NonNull T itemHolder) { in removeItem() 529 void onItemChanged(ItemAdapter.ItemHolder<?> itemHolder, Object payload); in onItemChanged()
|
D | AlarmClockFragment.java | 89 private ItemAdapter<AlarmItemHolder> mItemAdapter; 138 mItemAdapter = new ItemAdapter<>(); in onCreateView() 144 mItemAdapter.setOnItemChangedListener(new ItemAdapter.OnItemChangedListener() { in onCreateView() 146 public void onItemChanged(ItemAdapter.ItemHolder<?> holder) { in onCreateView() 169 public void onItemChanged(ItemAdapter.ItemHolder<?> holder, Object payload) { in onCreateView()
|
D | AlarmClockFragment.kt | 36 import com.android.deskclock.ItemAdapter.ItemHolder 37 import com.android.deskclock.ItemAdapter.OnItemChangedListener 75 private lateinit var mItemAdapter: ItemAdapter<AlarmItemHolder> 116 mItemAdapter = ItemAdapter() in onCreateView()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SideFragment.java | 62 private ItemAdapter<T> mAdapter; 109 mAdapter = new ItemAdapter(inflater, getItemList()); in onCreateView() 257 private static class ItemAdapter<T extends Item> extends RecyclerView.Adapter<ViewHolder> { class in SideFragment 261 private ItemAdapter(LayoutInflater layoutInflater, List<T> items) { in ItemAdapter() method in SideFragment.ItemAdapter 322 private ItemAdapter mAdapter; 331 public void onBind(ItemAdapter adapter, Item item) { in onBind()
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/ringtone/ |
D | RingtonePickerActivityTest.java | 30 import com.android.deskclock.ItemAdapter; 31 import com.android.deskclock.ItemAdapter.ItemHolder; 56 private ItemAdapter<ItemHolder<Uri>> ringtoneAdapter; 285 ringtoneAdapter = (ItemAdapter<ItemHolder<Uri>>) ringtoneList.getAdapter(); in createRingtonePickerActivity()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | AlarmItemHolder.java | 21 import com.android.deskclock.ItemAdapter; 26 public class AlarmItemHolder extends ItemAdapter.ItemHolder<Alarm> {
|
D | CollapsedAlarmViewHolder.java | 32 import com.android.deskclock.ItemAdapter; 260 public static class Factory implements ItemAdapter.ItemViewHolder.Factory { 268 public ItemAdapter.ItemViewHolder<?> createViewHolder(ViewGroup parent, int viewType) { in createViewHolder()
|
D | AlarmItemViewHolder.java | 26 import com.android.deskclock.ItemAdapter; 36 public abstract class AlarmItemViewHolder extends ItemAdapter.ItemViewHolder<AlarmItemHolder>
|
D | ExpandedAlarmViewHolder.java | 41 import com.android.deskclock.ItemAdapter; 515 public static class Factory implements ItemAdapter.ItemViewHolder.Factory { 526 public ItemAdapter.ItemViewHolder<?> createViewHolder(ViewGroup parent, int viewType) { in createViewHolder()
|
D | AlarmItemHolder.kt | 21 import com.android.deskclock.ItemAdapter.ItemHolder
|