Home
last modified time | relevance | path

Searched refs:listView (Results 1 – 8 of 8) sorted by relevance

/appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/
DAlertDialogCursorTest.kt130 val listView = alertDialog!!.listView in <lambda>() constant
131 Assert.assertNotNull("List view is shown", listView) in <lambda>()
132 val listAdapter = listView.adapter in <lambda>()
192 val listView = alertDialog!!.listView in <lambda>() constant
193 Assert.assertNotNull("List view is shown", listView) in <lambda>()
194 val listAdapter = listView.adapter in <lambda>()
266 val listView = alertDialog!!.listView in <lambda>() constant
267 Assert.assertNotNull("List view is shown", listView) in <lambda>()
268 val listAdapter = listView.adapter in <lambda>()
331 val listView = alertDialog!!.listView in <lambda>() constant
[all …]
DAlertDialogTest.java452 final ListView listView = mAlertDialog.getListView(); in verifySimpleItemsContent() local
453 assertNotNull("List view is shown", listView); in verifySimpleItemsContent()
455 final ListAdapter listAdapter = listView.getAdapter(); in verifySimpleItemsContent()
533 final ListView listView = mAlertDialog.getListView(); in verifyMultiChoiceItemsState() local
534 assertNotNull("List view is shown", listView); in verifyMultiChoiceItemsState()
536 final ListAdapter listAdapter = listView.getAdapter(); in verifyMultiChoiceItemsState()
563 final ListView listView = mAlertDialog.getListView(); in verifyMultiChoiceItemsContent() local
564 assertNotNull("List view is shown", listView); in verifyMultiChoiceItemsContent()
566 final ListAdapter listAdapter = listView.getAdapter(); in verifyMultiChoiceItemsContent()
657 final ListView listView = mAlertDialog.getListView(); in verifySingleChoiceItemsState() local
[all …]
/appcompat/appcompat/src/androidTest/java/androidx/appcompat/widget/
DMenuPopupWindowTest.java77 MenuPopupWindow.MenuDropDownListView listView = in testMenuDropDownListViewKeyEvent_HeaderViewListAdapter() local
79 listView.setAdapter(adapter); in testMenuDropDownListViewKeyEvent_HeaderViewListAdapter()
80 listView.setSelection(0); in testMenuDropDownListViewKeyEvent_HeaderViewListAdapter()
83 listView.onKeyDown(mRetreatEvent.getKeyCode(), mRetreatEvent); in testMenuDropDownListViewKeyEvent_HeaderViewListAdapter()
DPopupMenuTest.java633 private void emulateHoverOverVisibleItems(Instrumentation instrumentation, ListView listView) {
634 final int childCount = listView.getChildCount();
636 View itemView = listView.getChildAt(i);
643 assertEquals(listView.getFirstVisiblePosition() + i,
644 listView.getSelectedItemPosition());
/appcompat/appcompat/src/main/java/androidx/appcompat/app/
DAlertController.java548 final ListView listView = mListView; in setupView() local
549 if (listView != null && mAdapter != null) { in setupView()
550 listView.setAdapter(mAdapter); in setupView()
553 listView.setItemChecked(checkedItem, true); in setupView()
554 listView.setSelection(checkedItem); in setupView()
923 void onPrepareListView(ListView listView); in onPrepareListView() argument
990 final RecycleListView listView = in createListView() local
1004 listView.setItemChecked(position, true); in createListView()
1026 listView.setItemChecked(cursor.getPosition(), in createListView()
1057 mOnPrepareListViewListener.onPrepareListView(listView); in createListView()
[all …]
/appcompat/appcompat/src/main/java/androidx/appcompat/view/menu/
DCascadingMenuPopup.java489 final ListView listView = popupWindow.getListView(); in showMenu() local
490 listView.setOnKeyListener(this); in showMenu()
495 R.layout.abc_popup_menu_header_item_layout, listView, false); in showMenu()
499 listView.addHeaderView(titleItemView, null, false); in showMenu()
546 final ListView listView = parentInfo.getListView(); in findParentViewForSubmenu() local
547 final ListAdapter listAdapter = listView.getAdapter(); in findParentViewForSubmenu()
574 final int ownerViewPosition = ownerPosition - listView.getFirstVisiblePosition(); in findParentViewForSubmenu()
575 if (ownerViewPosition < 0 || ownerViewPosition >= listView.getChildCount()) { in findParentViewForSubmenu()
580 return listView.getChildAt(ownerViewPosition); in findParentViewForSubmenu()
DStandardMenuPopup.java182 final ListView listView = mPopup.getListView(); in tryShow() local
183 listView.setOnKeyListener(this); in tryShow()
188 R.layout.abc_popup_menu_header_item_layout, listView, false); in tryShow()
194 listView.addHeaderView(titleItemView, null, false); in tryShow()
/appcompat/appcompat/src/main/java/androidx/appcompat/widget/
DAppCompatSpinner.java888 final ListView listView = mPopup.getListView(); in show() local
889 listView.setTextDirection(textDirection); in show()
890 listView.setTextAlignment(textAlignment); in show()
1034 final ListView listView = getListView(); in show() local
1035 listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in show()
1036 listView.setTextDirection(textDirection); in show()
1037 listView.setTextAlignment(textAlignment); in show()