Home
last modified time | relevance | path

Searched refs:selectedKey (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/defaultapps/
DDefaultAppPickerFragment.java57 final String selectedKey = selected.getKey(); in onRadioButtonClicked() local
58 final CharSequence confirmationMessage = getConfirmationMessage(getCandidate(selectedKey)); in onRadioButtonClicked()
64 newConfirmationDialogFragment(selectedKey, confirmationMessage); in onRadioButtonClicked()
70 protected void onRadioButtonConfirmed(String selectedKey) { in onRadioButtonConfirmed() argument
75 selectedKey, in onRadioButtonConfirmed() local
77 super.onRadioButtonConfirmed(selectedKey); in onRadioButtonConfirmed()
93 protected ConfirmationDialogFragment newConfirmationDialogFragment(String selectedKey, in newConfirmationDialogFragment() argument
96 fragment.init(this, selectedKey, confirmationMessage); in newConfirmationDialogFragment()
DDefaultAutofillPicker.java86 protected ConfirmationDialogFragment newConfirmationDialogFragment(String selectedKey, in newConfirmationDialogFragment() argument
90 fragment.init(this, selectedKey, confirmationMessage); in newConfirmationDialogFragment()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultAppPickerFragment.java57 final String selectedKey = selected.getKey(); in onRadioButtonClicked() local
58 final CharSequence confirmationMessage = getConfirmationMessage(getCandidate(selectedKey)); in onRadioButtonClicked()
64 newConfirmationDialogFragment(selectedKey, confirmationMessage); in onRadioButtonClicked()
70 protected void onRadioButtonConfirmed(String selectedKey) { in onRadioButtonConfirmed() argument
75 selectedKey, in onRadioButtonConfirmed() local
77 super.onRadioButtonConfirmed(selectedKey); in onRadioButtonConfirmed()
93 protected ConfirmationDialogFragment newConfirmationDialogFragment(String selectedKey, in newConfirmationDialogFragment() argument
96 fragment.init(this, selectedKey, confirmationMessage); in newConfirmationDialogFragment()
DDefaultAutofillPicker.java86 protected ConfirmationDialogFragment newConfirmationDialogFragment(String selectedKey, in newConfirmationDialogFragment() argument
90 fragment.init(this, selectedKey, confirmationMessage); in newConfirmationDialogFragment()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DRadioButtonPickerFragment.java113 final String selectedKey = selected.getKey(); in onRadioButtonClicked() local
114 onRadioButtonConfirmed(selectedKey); in onRadioButtonClicked()
141 protected void onRadioButtonConfirmed(String selectedKey) { in onRadioButtonConfirmed() argument
142 final boolean success = setDefaultKey(selectedKey); in onRadioButtonConfirmed()
144 updateCheckedState(selectedKey); in onRadioButtonConfirmed()
221 public void updateCheckedState(String selectedKey) { in updateCheckedState() argument
229 final boolean newCheckedState = TextUtils.equals(pref.getKey(), selectedKey); in updateCheckedState()
231 radioPref.setChecked(TextUtils.equals(pref.getKey(), selectedKey)); in updateCheckedState() local
/packages/apps/Settings/src/com/android/settings/widget/
DRadioButtonPickerFragment.java113 final String selectedKey = selected.getKey(); in onRadioButtonClicked() local
114 onRadioButtonConfirmed(selectedKey); in onRadioButtonClicked()
141 protected void onRadioButtonConfirmed(String selectedKey) { in onRadioButtonConfirmed() argument
142 final boolean success = setDefaultKey(selectedKey); in onRadioButtonConfirmed()
144 updateCheckedState(selectedKey); in onRadioButtonConfirmed()
221 public void updateCheckedState(String selectedKey) { in updateCheckedState() argument
229 final boolean newCheckedState = TextUtils.equals(pref.getKey(), selectedKey); in updateCheckedState()
231 radioPref.setChecked(TextUtils.equals(pref.getKey(), selectedKey)); in updateCheckedState() local
/packages/apps/Settings/src/com/android/settings/network/
DNetworkScorerPicker.java122 final String selectedKey = selected.getKey(); in onRadioButtonClicked() local
123 final boolean success = setActiveScorer(selectedKey); in onRadioButtonClicked()
125 updateCheckedState(selectedKey); in onRadioButtonClicked()
129 private void updateCheckedState(String selectedKey) { in updateCheckedState() argument
136 radioPref.setChecked(TextUtils.equals(pref.getKey(), selectedKey)); in updateCheckedState() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DNetworkScorerPicker.java122 final String selectedKey = selected.getKey(); in onRadioButtonClicked() local
123 final boolean success = setActiveScorer(selectedKey); in onRadioButtonClicked()
125 updateCheckedState(selectedKey); in onRadioButtonClicked()
129 private void updateCheckedState(String selectedKey) { in updateCheckedState() argument
136 radioPref.setChecked(TextUtils.equals(pref.getKey(), selectedKey)); in updateCheckedState() local
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAppsPickerBasePreferenceController.java114 String selectedKey = preference.getKey(); in onPreferenceClick() local
115 if (TextUtils.equals(selectedKey, getCurrentDefaultKey())) { in onPreferenceClick()
119 CharSequence message = getConfirmationMessage(mDefaultAppInfoMap.get(selectedKey)); in onPreferenceClick()
126 .addArgumentString(DIALOG_KEY_ARG, selectedKey) in onPreferenceClick()
130 setCurrentDefault(selectedKey); in onPreferenceClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DShortcutServicePickerFragment.java125 final String selectedKey = selected.getKey(); in onRadioButtonClicked() local
127 if (TextUtils.isEmpty(selectedKey)) { in onRadioButtonClicked()
130 final ComponentName selectedComponent = ComponentName.unflattenFromString(selectedKey); in onRadioButtonClicked()
134 onRadioButtonConfirmed(selectedKey); in onRadioButtonClicked()
138 ConfirmationDialogFragment.newInstance(this, selectedKey) in onRadioButtonClicked()
/packages/apps/Settings/src/com/android/settings/accessibility/
DShortcutServicePickerFragment.java123 final String selectedKey = selected.getKey(); in onRadioButtonClicked() local
125 if (TextUtils.isEmpty(selectedKey)) { in onRadioButtonClicked()
128 final ComponentName selectedComponent = ComponentName.unflattenFromString(selectedKey); in onRadioButtonClicked()
132 onRadioButtonConfirmed(selectedKey); in onRadioButtonClicked()
136 ConfirmationDialogFragment.newInstance(this, selectedKey) in onRadioButtonClicked()