Home
last modified time | relevance | path

Searched refs:itemHierarchy (Results 1 – 4 of 4) sorted by relevance

/external/setupdesign/main/src/com/google/android/setupdesign/items/
DItemAdapter.java32 private final ItemHierarchy itemHierarchy; field in ItemAdapter
36 itemHierarchy = hierarchy; in ItemAdapter()
37 itemHierarchy.registerObserver(this); in ItemAdapter()
43 return itemHierarchy.getCount(); in getCount()
48 return itemHierarchy.getItemAt(position); in getItem()
93 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged() argument
94 onChanged(itemHierarchy); in onItemRangeChanged()
98 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted() argument
99 onChanged(itemHierarchy); in onItemRangeInserted()
104 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
[all …]
DItemGroup.java217 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged() argument
219 final int childPosition = getChildPosition(itemHierarchy); in onItemRangeChanged()
223 Log.e(TAG, "Unexpected child change " + itemHierarchy); in onItemRangeChanged()
228 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted() argument
230 final int childPosition = getChildPosition(itemHierarchy); in onItemRangeInserted()
234 Log.e(TAG, "Unexpected child insert " + itemHierarchy); in onItemRangeInserted()
240 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
242 final int childPosition = getChildPosition(itemHierarchy); in onItemRangeMoved()
246 Log.e(TAG, "Unexpected child move " + itemHierarchy); in onItemRangeMoved()
251 public void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeRemoved() argument
[all …]
DRecyclerItemAdapter.java62 private final ItemHierarchy itemHierarchy; field in RecyclerItemAdapter
72 itemHierarchy = hierarchy; in RecyclerItemAdapter()
73 itemHierarchy.registerObserver(this); in RecyclerItemAdapter()
82 return itemHierarchy.getItemAt(position); in getItem()
98 return itemHierarchy.getCount(); in getItemCount()
185 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged() argument
190 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted() argument
196 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
213 public void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeRemoved() argument
223 return itemHierarchy.findItemById(id); in findItemById()
[all …]
DItemHierarchy.java42 void onChanged(ItemHierarchy itemHierarchy); in onChanged() argument
49 void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeChanged() argument
52 void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeInserted() argument
56 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount); in onItemRangeMoved() argument
59 void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeRemoved() argument