Searched refs:mItemGroup (Results 1 - 3 of 3) sorted by relevance

/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DItemAdapterTest.java46 private ItemGroup mItemGroup = new ItemGroup(); field in class:ItemAdapterTest
56 mItemGroup.addChild(item);
62 ItemAdapter adapter = new ItemAdapter(mItemGroup);
80 ItemAdapter adapter = new ItemAdapter(mItemGroup);
82 assertSame("Root item hierarchy should be mItemGroup", mItemGroup, root);
87 ItemAdapter adapter = new ItemAdapter(mItemGroup);
95 mItemGroup.removeChild(mItems[1]);
98 mItemGroup.addChild(mItems[1]);
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/
H A DItemGroupTest.java46 private ItemGroup mItemGroup; field in class:ItemGroupTest
54 mItemGroup = new ItemGroup();
55 mItemGroup.registerObserver(mObserver);
60 mItemGroup.addChild(CHILD_1);
61 mItemGroup.addChild(CHILD_2);
63 assertSame("Item at position 0 should be child1", CHILD_1, mItemGroup.getItemAt(0));
64 assertSame("Item at position 1 should be child2", CHILD_2, mItemGroup.getItemAt(1));
65 assertEquals("Should have 2 children", 2, mItemGroup.getCount());
68 inOrder.verify(mObserver).onItemRangeInserted(eq(mItemGroup), eq(0), eq(1));
69 inOrder.verify(mObserver).onItemRangeInserted(eq(mItemGroup), e
[all...]
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/
H A DRecyclerItemAdapterTest.java53 private ItemGroup mItemGroup = new ItemGroup(); field in class:RecyclerItemAdapterTest
65 mItemGroup.addChild(item);
71 RecyclerItemAdapter adapter = new RecyclerItemAdapter(mItemGroup);
82 RecyclerItemAdapter adapter = new RecyclerItemAdapter(mItemGroup);
84 assertSame("Root item hierarchy should be mItemGroup", mItemGroup, root);
111 RecyclerItemAdapter adapter = new RecyclerItemAdapter(mItemGroup);
118 mItemGroup.removeChild(mItems[1]);
121 mItemGroup.addChild(mItems[1]);
127 RecyclerItemAdapter adapter = new RecyclerItemAdapter(mItemGroup);
[all...]

Completed in 55 milliseconds