Searched refs:listView (Results 1 – 6 of 6) sorted by relevance
34 private ListView listView; field in ShadowListViewTest44 listView = new ListView(context); in setUp()57 listView.addHeaderView(view0); in addHeaderView_ShouldRecordHeaders()58 listView.addHeaderView(view1); in addHeaderView_ShouldRecordHeaders()59 listView.addHeaderView(view2, null, false); in addHeaderView_ShouldRecordHeaders()60 listView.addHeaderView(view3, null, false); in addHeaderView_ShouldRecordHeaders()61 listView.setAdapter(new ShadowCountingAdapter(2)); in addHeaderView_ShouldRecordHeaders()62 assertThat(listView.getHeaderViewsCount()).isEqualTo(4); in addHeaderView_ShouldRecordHeaders()63 assertThat(shadowOf(listView).getHeaderViews().get(0)).isSameAs(view0); in addHeaderView_ShouldRecordHeaders()64 assertThat(shadowOf(listView).getHeaderViews().get(1)).isSameAs(view1); in addHeaderView_ShouldRecordHeaders()[all …]
454 ListView listView = view.findViewById(R.id.list_view_with_enum_scrollbar); in testConverterAcceptsEnumOrdinal() local455 assertThat(listView).isInstanceOf(ListView.class); in testConverterAcceptsEnumOrdinal()
40 @Nullable private final ListView listView; field in ListViewScrollHandlingDelegate43 @NonNull RequireScrollMixin requireScrollMixin, @Nullable ListView listView) { in ListViewScrollHandlingDelegate() argument45 this.listView = listView; in ListViewScrollHandlingDelegate()50 if (listView != null) { in startListening()51 listView.setOnScrollListener(this); in startListening()53 final ListAdapter adapter = listView.getAdapter(); in startListening()54 if (listView.getLastVisiblePosition() < adapter.getCount()) { in startListening()64 if (listView != null) { in pageScrollDown()65 final int height = listView.getHeight(); in pageScrollDown()66 listView.smoothScrollBy(height, SCROLL_DURATION); in pageScrollDown()
45 @Nullable private ListView listView; field in ListMixin91 if (listView == null) { in getListViewInternal()94 listView = (ListView) list; in getListViewInternal()97 return listView; in getListViewInternal()118 final ListView listView = getListViewInternal(); in getAdapter() local119 if (listView != null) { in getAdapter()120 final ListAdapter adapter = listView.getAdapter(); in getAdapter()131 final ListView listView = getListViewInternal(); in setAdapter() local132 if (listView != null) { in setAdapter()133 listView.setAdapter(adapter); in setAdapter()[all …]
84 ConfigList* listView() in listView() function146 ConfigList* listView() const in listView() function
121 list = listView(); in updateMenu()238 } else if (listView()->updateAll) in testUpdateMenu()249 ConfigList* list = listView(); in init()399 if (this == item->listView()) in findConfigItem()