Searched refs:listView (Results 1 – 5 of 5) sorted by relevance
40 private ListView listView; field in ListViewTest48 listView = new ListView(null); in setUp()53 listView.setAdapter(new CountingAdapter(1)); in testSetSelection_ShouldFireOnItemSelectedListener()56 listView.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in testSetSelection_ShouldFireOnItemSelectedListener()67 listView.setSelection(0); in testSetSelection_ShouldFireOnItemSelectedListener()74 listView.setAdapter(new CountingAdapter(1)); in addHeaderView_ShouldThrowIfAdapterIsAlreadySet()76 listView.addHeaderView(new View(null)); in addHeaderView_ShouldThrowIfAdapterIsAlreadySet()83 listView.addHeaderView(new View(null), null, false); in addHeaderView_ShouldThrowIfAdapterIsAlreadySet()100 listView.addHeaderView(view0); in addHeaderView_ShouldRecordHeaders()101 listView.addHeaderView(view1); in addHeaderView_ShouldRecordHeaders()[all …]
49 final ListView listView = new ListView(null); in shouldSetAdapterOnListView() local50 listActivity.setContentView(listView); in shouldSetAdapterOnListView()52 assertThat(listView.getAdapter(), sameInstance(adapter)); in shouldSetAdapterOnListView()
22 private ListView listView; field in ShadowListActivity27 if (listView == null) { in getListView()28 if ((listView = findListView(getContentView())) == null) { in getListView()32 return listView; in getListView()36 listView = view; in setListView()73 ListView listView = findListView(viewGroup.getChildAt(i)); in findListView() local74 if (listView != null) { in findListView()75 return listView; in findListView()
44 private ListView listView; field in ShadowAlertDialog138 if (listView == null) { in getListView()139 listView = new ListView(context); in getListView()140 listView.setOnItemClickListener(new AdapterView.OnItemClickListener() { in getListView()155 return listView; in getListView()
META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...