Home
last modified time | relevance | path

Searched refs:ItemHierarchy (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItemHierarchy.java27 public interface ItemHierarchy { interface
41 void onChanged(ItemHierarchy itemHierarchy); in onChanged()
48 void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeChanged()
51 void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeInserted()
55 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount); in onItemRangeMoved()
58 void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeRemoved()
87 ItemHierarchy findItemById(int id); in findItemById()
DItemGroup.java27 implements ItemInflater.ItemParent, ItemHierarchy.Observer {
75 private final List<ItemHierarchy> children = new ArrayList<>();
115 public void addChild(ItemHierarchy child) { in addChild()
132 public boolean removeChild(ItemHierarchy child) { in removeChild()
156 for (ItemHierarchy item : children) { in clear()
173 ItemHierarchy item = children.get(itemIndex); in getItemAt()
179 public void onChanged(ItemHierarchy hierarchy) { in onChanged()
189 private int getChildPosition(ItemHierarchy child) { in getChildPosition()
217 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged()
228 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted()
[all …]
DItemAdapter.java30 public class ItemAdapter extends BaseAdapter implements ItemHierarchy.Observer {
32 private final ItemHierarchy itemHierarchy;
35 public ItemAdapter(ItemHierarchy hierarchy) { in ItemAdapter()
87 public void onChanged(ItemHierarchy hierarchy) { in onChanged()
93 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged()
98 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted()
104 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved()
109 public void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeRemoved()
118 public ItemHierarchy findItemById(int id) { in findItemById()
122 public ItemHierarchy getRootItemHierarchy() { in getRootItemHierarchy()
DItemInflater.java22 public class ItemInflater extends ReflectionInflater<ItemHierarchy> {
25 void addChild(ItemHierarchy child); in addChild()
34 protected void onAddChildItem(ItemHierarchy parent, ItemHierarchy child) { in onAddChildItem()
DButtonBarItem.java106 public void addChild(ItemHierarchy child) { in addChild()
115 public ItemHierarchy findItemById(int id) { in findItemById()
120 final ItemHierarchy item = button.findItemById(id); in findItemById()
DAbstractItem.java47 public ItemHierarchy findItemById(int id) { in findItemById()
DAbstractItemHierarchy.java27 public abstract class AbstractItemHierarchy implements ItemHierarchy {
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java37 implements ItemHierarchy.Observer {
59 private final ItemHierarchy itemHierarchy;
62 public RecyclerItemAdapter(ItemHierarchy hierarchy) { in RecyclerItemAdapter()
163 public void onChanged(ItemHierarchy hierarchy) { in onChanged()
168 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged()
173 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted()
179 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved()
196 public void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeRemoved()
205 public ItemHierarchy findItemById(int id) { in findItemById()
210 public ItemHierarchy getRootItemHierarchy() { in getRootItemHierarchy()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemInflaterTest.java27 import com.android.setupwizardlib.items.ItemHierarchy;
48 ItemHierarchy item = inflater.inflate(R.xml.test_items); in testInflate()
DItemAdapterTest.java30 import com.android.setupwizardlib.items.ItemHierarchy;
77 ItemHierarchy root = adapter.getRootItemHierarchy(); in testGetRootItemHierarchy()
DButtonBarItemTest.java32 import com.android.setupwizardlib.items.ItemHierarchy;
116 ItemHierarchy invalidChild = new Item(); in testAddInvalidChild()
DItemTest.java41 import com.android.setupwizardlib.items.ItemHierarchy.Observer;
/frameworks/opt/setupwizard/library/
Dproguard.flags6 -keep public class * extends com.android.setupwizardlib.items.ItemHierarchy {
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/template/
DRecyclerMixin.java35 import com.android.setupwizardlib.items.ItemHierarchy;
106 final ItemHierarchy inflated = new ItemInflater(context).inflate(entries); in parseAttributes()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/
DRecyclerItemAdapterTest.java81 ItemHierarchy root = adapter.getRootItemHierarchy(); in testGetRootItemHierarchy()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/
DItemGroupTest.java45 @Mock private ItemHierarchy.Observer observer;