Home
last modified time | relevance | path

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

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/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 …]
DItemHierarchy.java41 void onChanged(ItemHierarchy itemHierarchy); in onChanged() argument
48 void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeChanged() argument
51 void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeInserted() argument
55 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount); in onItemRangeMoved() argument
58 void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeRemoved() argument
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java59 private final ItemHierarchy itemHierarchy; field in RecyclerItemAdapter
63 itemHierarchy = hierarchy; in RecyclerItemAdapter()
64 itemHierarchy.registerObserver(this); in RecyclerItemAdapter()
73 return itemHierarchy.getItemAt(position); in getItem()
89 return itemHierarchy.getCount(); in getItemCount()
168 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged() argument
173 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted() argument
179 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
196 public void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeRemoved() argument
206 return itemHierarchy.findItemById(id); in findItemById()
[all …]