Lines Matching defs:mListView
27 private ListView mListView;
37 mListView = getActivity().getListView();
38 mListUtil = new ListUtil(mListView, getInstrumentation());
43 assertEquals("list item count", 5, mListView.getCount());
44 assertEquals("list visible child count", 3, mListView.getChildCount());
45 int firstTwoHeight = mListView.getChildAt(0).getHeight() + mListView.getChildAt(1).getHeight();
47 firstTwoHeight <= mListView.getVerticalFadingEdgeLength());
49 firstTwoHeight <= mListView.getMaxScrollAmount());
61 assertEquals("selected item position", 2, mListView.getSelectedItemPosition());
63 mListView.getSelectedView().getTop() < mListUtil.getListTop());
65 mListView.getSelectedView().getBottom() > mListUtil.getListBottom());
67 1, mListView.getChildCount());
78 assertEquals("number of list children", 1, mListView.getChildCount());
83 3, mListView.getChildCount());
84 assertEquals("new view position", 3, mListView.getChildAt(1).getId());
85 assertEquals("new view position", 4, mListView.getChildAt(2).getId());
88 mListView.getChildAt(2).getBottom() >= mListUtil.getListBottom());
103 assertEquals("selected item position", 2, mListView.getSelectedItemPosition());
105 mListView.getSelectedView().getTop() <= mListUtil.getListTop());
107 mListView.getSelectedView().getBottom() > mListUtil.getListBottom());
109 1, mListView.getChildCount());
122 assertEquals("number of list children", 1, mListView.getChildCount());
127 3, mListView.getChildCount());
128 assertEquals("new view position", 0, mListView.getChildAt(0).getId());
129 assertEquals("new view position", 1, mListView.getChildAt(1).getId());
132 mListView.getChildAt(0).getTop() <= mListUtil.getListTop());