/packages/apps/Settings/src/com/android/settings/applications/appcompat/ |
D | UserAspectRatioDetails.java | 116 final String selectedKey = selected.getKey(); in onRadioButtonClicked() local 117 if (mSelectedKey.equals(selectedKey)) { in onRadioButtonClicked() 120 final int userAspectRatio = getSelectedUserMinAspectRatio(selectedKey); in onRadioButtonClicked() 127 logActionMetrics(selectedKey, mSelectedKey); in onRadioButtonClicked() 129 mSelectedKey = selectedKey; in onRadioButtonClicked() 169 int getSelectedUserMinAspectRatio(@NonNull String selectedKey) { in getSelectedUserMinAspectRatio() argument 172 return mKeyToAspectRatioMap.getOrDefault(selectedKey, appDefault); in getSelectedUserMinAspectRatio() 247 private void updateAllPreferences(@NonNull String selectedKey) { in updateAllPreferences() argument 249 pref.setChecked(selectedKey.equals(pref.getKey())); in updateAllPreferences() 253 private void logActionMetrics(@NonNull String selectedKey, @NonNull String unselectedKey) { in logActionMetrics() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
D | DefaultAppPickerFragment.java | 57 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()
|
D | DefaultAutofillPicker.java | 86 protected ConfirmationDialogFragment newConfirmationDialogFragment(String selectedKey, in newConfirmationDialogFragment() argument 90 fragment.init(this, selectedKey, confirmationMessage); in newConfirmationDialogFragment()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | RadioButtonPickerFragment.java | 119 final String selectedKey = selected.getKey(); in onRadioButtonClicked() local 120 onRadioButtonConfirmed(selectedKey); in onRadioButtonClicked() 147 protected void onRadioButtonConfirmed(String selectedKey) { in onRadioButtonConfirmed() argument 148 final boolean success = setDefaultKey(selectedKey); in onRadioButtonConfirmed() 150 updateCheckedState(selectedKey); in onRadioButtonConfirmed() 231 public void updateCheckedState(String selectedKey) { in updateCheckedState() argument 240 final boolean newCheckedState = TextUtils.equals(pref.getKey(), selectedKey); in updateCheckedState() 242 radioPref.setChecked(TextUtils.equals(pref.getKey(), selectedKey)); in updateCheckedState() local
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAppsPickerBasePreferenceController.java | 92 String selectedKey = preference.getKey(); in handleGroupItemSelected() local 93 if (TextUtils.equals(selectedKey, getCurrentCheckedKey())) { in handleGroupItemSelected() 97 CharSequence message = getConfirmationMessage(mDefaultAppInfoMap.get(selectedKey)); in handleGroupItemSelected() 104 .addArgumentString(DIALOG_KEY_ARG, selectedKey) in handleGroupItemSelected() 110 setCurrentDefault(selectedKey); in handleGroupItemSelected()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TtsEnginePreferenceFragment.java | 102 protected void onRadioButtonConfirmed(String selectedKey) { in onRadioButtonConfirmed() argument 103 final EngineCandidateInfo info = mEngineMap.get(selectedKey); in onRadioButtonConfirmed() 107 setDefaultKey(selectedKey); in onRadioButtonConfirmed() 111 setDefaultKey(selectedKey); in onRadioButtonConfirmed()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerBackgroundUsageDetail.java | 141 final String selectedKey = selected == null ? null : selected.getKey(); in onRadioButtonClicked() local 142 updateSelectorPreferenceState(mUnrestrictedPreference, selectedKey); in onRadioButtonClicked() 143 updateSelectorPreferenceState(mOptimizePreference, selectedKey); in onRadioButtonClicked() 290 SelectorWithWidgetPreference preference, String selectedKey) { in updateSelectorPreferenceState() argument 291 preference.setChecked(TextUtils.equals(selectedKey, preference.getKey())); in updateSelectorPreferenceState()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ScreenResolutionFragment.java | 233 String selectedKey = selected.getKey(); in onRadioButtonClicked() local 234 int selectedWidth = getWidthForResoluitonKey(selectedKey); in onRadioButtonClicked()
|
/packages/apps/Settings/src/com/android/settings/applications/credentials/ |
D | DefaultCombinedPicker.java | 104 String selectedKey, CharSequence confirmationMessage) { in newConfirmationDialogFragment() argument 107 fragment.init(this, selectedKey, confirmationMessage); in newConfirmationDialogFragment()
|