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.java729 public Builder setSingleChoiceItems(@ArrayRes int itemsId, int checkedItem, in setSingleChoiceItems() argument
733 P.mCheckedItem = checkedItem; in setSingleChoiceItems()
754 public Builder setSingleChoiceItems(Cursor cursor, int checkedItem, String labelColumn, in setSingleChoiceItems() argument
758 P.mCheckedItem = checkedItem; in setSingleChoiceItems()
778 …public Builder setSingleChoiceItems(CharSequence[] items, int checkedItem, final OnClickListener l… in setSingleChoiceItems() argument
781 P.mCheckedItem = checkedItem; in setSingleChoiceItems()
800 …public Builder setSingleChoiceItems(ListAdapter adapter, int checkedItem, final OnClickListener li… in setSingleChoiceItems() argument
803 P.mCheckedItem = checkedItem; in setSingleChoiceItems()
DAlertController.java505 final int checkedItem = mCheckedItem; in setupView() local
506 if (checkedItem > -1) { in setupView()
507 listView.setItemChecked(checkedItem, true); in setupView()
508 listView.setSelection(checkedItem); in setupView()
/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/support/design/src/android/support/design/internal/
DNavigationMenuPresenter.java528 public void setCheckedItem(MenuItemImpl checkedItem) { in setCheckedItem() argument
529 if (mCheckedItem == checkedItem || !checkedItem.isCheckable()) { in setCheckedItem()
535 mCheckedItem = checkedItem; in setCheckedItem()
536 checkedItem.setChecked(true); in setCheckedItem()
562 int checkedItem = state.getInt(STATE_CHECKED_ITEM, 0); in restoreInstanceState() local
563 if (checkedItem != 0) { in restoreInstanceState()
568 if (menuItem != null && menuItem.getItemId() == checkedItem) { in restoreInstanceState()
/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.java3194 int checkedItem = 0; in showInputMethodMenu() local
3204 checkedItem = i; in showInputMethodMenu()
3255 com.android.internal.R.layout.input_method_switch_item, imList, checkedItem); in showInputMethodMenu()
3278 mDialogBuilder.setSingleChoiceItems(adapter, checkedItem, choiceListener); in showInputMethodMenu()
3298 List<ImeSubtypeListItem> itemsList, int checkedItem) { in ImeSubtypeListAdapter() argument
3303 mCheckedItem = checkedItem; in ImeSubtypeListAdapter()