Home
last modified time | relevance | path

Searched refs:checkedItem (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertDialog.java688 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()
DAlertController.java461 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/
DNavigationMenuPresenter.java457 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/
DAlertDialog.java885 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/
DAlertController.java872 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/
DInputMethodManagerService.java3035 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()