Searched refs:checkedItem (Results 1 – 6 of 6) sorted by relevance
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AlertDialog.java | 688 public Builder setSingleChoiceItems(int itemsId, int checkedItem, in setSingleChoiceItems() argument 692 P.mCheckedItem = checkedItem; in setSingleChoiceItems() 716 public Builder setSingleChoiceItems(Cursor cursor, int checkedItem, String labelColumn, in setSingleChoiceItems() argument 720 P.mCheckedItem = checkedItem; in setSingleChoiceItems() 743 public Builder setSingleChoiceItems(CharSequence[] items, int checkedItem, in setSingleChoiceItems() argument 747 P.mCheckedItem = checkedItem; in setSingleChoiceItems() 769 public Builder setSingleChoiceItems(ListAdapter adapter, int checkedItem, in setSingleChoiceItems() argument 773 P.mCheckedItem = checkedItem; in setSingleChoiceItems()
|
D | AlertController.java | 461 final int checkedItem = mCheckedItem; in setupView() local 462 if (checkedItem > -1) { in setupView() 463 listView.setItemChecked(checkedItem, true); in setupView() 464 listView.setSelection(checkedItem); in setupView()
|
/frameworks/support/design/src/android/support/design/internal/ |
D | NavigationMenuPresenter.java | 457 public void setCheckedItem(MenuItemImpl checkedItem) { in setCheckedItem() argument 458 if (mCheckedItem == checkedItem || !checkedItem.isCheckable()) { in setCheckedItem() 464 mCheckedItem = checkedItem; in setCheckedItem() 465 checkedItem.setChecked(true); in setCheckedItem() 477 int checkedItem = state.getInt(STATE_CHECKED_ITEM, 0); in restoreInstanceState() local 478 if (checkedItem != 0) { in restoreInstanceState() 482 if (menuItem != null && menuItem.getItemId() == checkedItem) { in restoreInstanceState()
|
/frameworks/base/core/java/android/app/ |
D | AlertDialog.java | 885 public Builder setSingleChoiceItems(@ArrayRes int itemsId, int checkedItem, in setSingleChoiceItems() argument 889 P.mCheckedItem = checkedItem; in setSingleChoiceItems() 910 public Builder setSingleChoiceItems(Cursor cursor, int checkedItem, String labelColumn, in setSingleChoiceItems() argument 914 P.mCheckedItem = checkedItem; in setSingleChoiceItems() 934 …public Builder setSingleChoiceItems(CharSequence[] items, int checkedItem, final OnClickListener l… in setSingleChoiceItems() argument 937 P.mCheckedItem = checkedItem; in setSingleChoiceItems() 956 …public Builder setSingleChoiceItems(ListAdapter adapter, int checkedItem, final OnClickListener li… in setSingleChoiceItems() argument 959 P.mCheckedItem = checkedItem; in setSingleChoiceItems()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AlertController.java | 872 final int checkedItem = mCheckedItem; in setBackground() local 873 if (checkedItem > -1) { in setBackground() 874 listView.setItemChecked(checkedItem, true); in setBackground() 875 listView.setSelection(checkedItem); in setBackground()
|
/frameworks/base/services/core/java/com/android/server/ |
D | InputMethodManagerService.java | 3035 int checkedItem = 0; in showInputMethodMenu() local 3045 checkedItem = i; in showInputMethodMenu() 3097 com.android.internal.R.layout.input_method_switch_item, imList, checkedItem); in showInputMethodMenu() 3120 mDialogBuilder.setSingleChoiceItems(adapter, checkedItem, choiceListener); in showInputMethodMenu() 3150 List<ImeSubtypeListItem> itemsList, int checkedItem) { in ImeSubtypeListAdapter() argument 3155 mCheckedItem = checkedItem; in ImeSubtypeListAdapter()
|