Lines Matching defs:mListView
29 private ListView mListView;
40 mListView = getActivity().getListView();
45 assertEquals(0, mListView.getSelectedItemPosition());
46 assertTrue(mListView.getChildAt(0).isSelected());
47 assertEquals(mListView.getListPaddingTop(), mListView.getSelectedView().getTop());
52 final View next = mListView.getChildAt(1);
54 final int secondPosition = mListView.getSelectedView().getBottom();
60 assertEquals(1, mListView.getSelectedItemPosition());
72 assertEquals(0, mListView.getSelectedItemPosition());
77 final int lastOnScreenItemIndex = mListView.getChildCount() - 1;
78 final View lastItem = mListView.getChildAt(lastOnScreenItemIndex);
80 lastItem.getBottom() > mListView.getBottom());
81 assertEquals(mListView.getListPaddingTop(), mListView.getSelectedView().getTop());
87 assertEquals(lastOnScreenItemIndex, mListView.getSelectedItemPosition());
90 mListView.getSelectedView().getBottom());
95 assertEquals(mListView.getSelectedView(), mListView.getChildAt(mListView.getChildCount() - 2));
98 final TextView view = (TextView) mListView.getChildAt(mListView.getChildCount() - 1);
108 int numItemsOnScreen = mListView.getChildCount();
116 assertEquals(1, mListView.getSelectedItemPosition());
118 mListView.getVerticalFadingEdgeLength() + mListView.getListPaddingTop(),
119 mListView.getSelectedView().getTop());
126 assertEquals(0, mListView.getSelectedItemPosition());
131 final int lastItemPosition = mListView.getAdapter().getCount() - 1;
135 assertEquals(lastItemPosition, mListView.getSelectedItemPosition());
138 assertEquals(lastItemPosition, mListView.getSelectedItemPosition());
143 final int lastItemPosition = mListView.getAdapter().getCount() - 1;
147 assertEquals(lastItemPosition, mListView.getSelectedItemPosition());
150 mListView.getHeight() - mListView.getListPaddingBottom(),
151 mListView.getSelectedView().getBottom());
158 return mListView.getHeight() - (mListView.getVerticalFadingEdgeLength() + mListView.getListPaddingBottom());