Home
last modified time | relevance | path

Searched refs:setOnPreferenceChangeListener (Results 1 – 25 of 153) sorted by relevance

1234567

/packages/services/Telecomm/src/com/android/server/telecom/settings/
DEnhancedCallBlockingFragment.java60 setOnPreferenceChangeListener( in onCreate()
62 setOnPreferenceChangeListener(BlockedNumbersManager.ENHANCED_SETTING_KEY_BLOCK_PRIVATE); in onCreate()
63 setOnPreferenceChangeListener(BlockedNumbersManager.ENHANCED_SETTING_KEY_BLOCK_PAYPHONE); in onCreate()
64 setOnPreferenceChangeListener(BlockedNumbersManager.ENHANCED_SETTING_KEY_BLOCK_UNKNOWN); in onCreate()
65 setOnPreferenceChangeListener(BlockedNumbersManager.ENHANCED_SETTING_KEY_BLOCK_UNAVAILABLE); in onCreate()
119 private void setOnPreferenceChangeListener(String key) { in setOnPreferenceChangeListener() method in EnhancedCallBlockingFragment
122 pref.setOnPreferenceChangeListener(this); in setOnPreferenceChangeListener()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDownloadsDeletionPreferenceGroup.java60 setOnPreferenceChangeListener(this); in init()
93 setOnPreferenceChangeListener(null); in onPreferenceChange()
95 setOnPreferenceChangeListener(this); in onPreferenceChange()
107 p.setOnPreferenceChangeListener(null); in onPreferenceChange()
110 p.setOnPreferenceChangeListener(this); in onPreferenceChange()
173 filePreference.setOnPreferenceChangeListener(this); in updateFiles()
DAppDeletionPreferenceGroup.java48 setOnPreferenceChangeListener(this); in AppDeletionPreferenceGroup()
70 preference.setOnPreferenceChangeListener(this); in onAppRebuild()
114 p.setOnPreferenceChangeListener(null); in onPreferenceChange()
117 p.setOnPreferenceChangeListener(this); in onPreferenceChange()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSettingsActivity.kt216 it.setOnPreferenceChangeListener(this) in loadTimeZoneList()
225 it.setOnPreferenceChangeListener(this) in refresh()
231 it.setOnPreferenceChangeListener(this) in refresh()
237 it.setOnPreferenceChangeListener(this) in refresh()
241 clockSecondsPref?.setOnPreferenceChangeListener(this) in refresh()
246 autoHomeClockPref.setOnPreferenceChangeListener(this) in refresh()
268 it.setOnPreferenceChangeListener(this) in refresh()
280 preference.setOnPreferenceChangeListener(this) in refreshListPreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DCaptionCustomFragment.java89 mFontFamilyPref.setOnPreferenceChangeListener(this); in onCreatePreferences()
94 mTextColorPref.setOnPreferenceChangeListener(this); in onCreatePreferences()
97 mTextOpacityPref.setOnPreferenceChangeListener(this); in onCreatePreferences()
99 mEdgeTypePref.setOnPreferenceChangeListener(this); in onCreatePreferences()
104 mEdgeColorPref.setOnPreferenceChangeListener(this); in onCreatePreferences()
111 mBackgroundColorPref.setOnPreferenceChangeListener(this); in onCreatePreferences()
114 mBackgroundOpacityPref.setOnPreferenceChangeListener(this); in onCreatePreferences()
121 mWindowColorPref.setOnPreferenceChangeListener(this); in onCreatePreferences()
124 mWindowOpacityPref.setOnPreferenceChangeListener(this); in onCreatePreferences()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java495 mMasterToggle.setOnPreferenceChangeListener(mainSwitchListener); in onCreatePreferences()
506 mAreaUpdateInfoCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
509 mExtremeCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
512 mPublicSafetyMessagesChannelCheckBox.setOnPreferenceChangeListener( in onCreatePreferences()
516 mPublicSafetyMessagesChannelFullScreenCheckBox.setOnPreferenceChangeListener( in onCreatePreferences()
520 mEmergencyAlertsCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
523 mSevereCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
531 mAmberCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
534 mTestCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
537 mExerciseTestCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.kt158 mUseHomeTZ?.setOnPreferenceChangeListener(listener) in setPreferenceListeners()
159 mHomeTZ?.setOnPreferenceChangeListener(listener) in setPreferenceListeners()
160 mWeekStart?.setOnPreferenceChangeListener(listener) in setPreferenceListeners()
161 mDefaultReminder?.setOnPreferenceChangeListener(listener) in setPreferenceListeners()
162 mHideDeclined?.setOnPreferenceChangeListener(listener) in setPreferenceListeners()
163 mVibrate?.setOnPreferenceChangeListener(listener) in setPreferenceListeners()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DPhysicalKeyboardFragment.java210 Objects.requireNonNull(mShowVirtualKeyboardSwitch).setOnPreferenceChangeListener( in onResume()
212 Objects.requireNonNull(mAccessibilityBounceKeys).setOnPreferenceChangeListener( in onResume()
214 Objects.requireNonNull(mAccessibilitySlowKeys).setOnPreferenceChangeListener( in onResume()
216 Objects.requireNonNull(mAccessibilityStickyKeys).setOnPreferenceChangeListener( in onResume()
226 Objects.requireNonNull(mShowVirtualKeyboardSwitch).setOnPreferenceChangeListener(null); in onPause()
227 Objects.requireNonNull(mAccessibilityBounceKeys).setOnPreferenceChangeListener(null); in onPause()
228 Objects.requireNonNull(mAccessibilitySlowKeys).setOnPreferenceChangeListener(null); in onPause()
229 Objects.requireNonNull(mAccessibilityStickyKeys).setOnPreferenceChangeListener(null); in onPause()
/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java117 mWindowAnimationsPref.setOnPreferenceChangeListener(this); in onCreate()
119 mTransitionAnimationsPref.setOnPreferenceChangeListener(this); in onCreate()
123 mFontSizePref.setOnPreferenceChangeListener(this); in onCreate()
125 mEndButtonPref.setOnPreferenceChangeListener(this); in onCreate()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/
DHealthSwitchPreference.kt55 override fun setOnPreferenceChangeListener( in <lambda>() method
66 super.setOnPreferenceChangeListener(loggingClickListener) in <lambda>()
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/
DMDNHandlerHeaderFragment.java49 slot0EditText.setOnPreferenceChangeListener(this); in onCreatePreferences()
55 slot1EditText.setOnPreferenceChangeListener(this); in onCreatePreferences()
/packages/apps/Settings/src/com/android/settings/widget/
DGenericSwitchController.java57 mPreference.setOnPreferenceChangeListener(this); in startListening()
62 mPreference.setOnPreferenceChangeListener(null); in stopListening()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionPreference.java200 setOnPreferenceChangeListener((pref, newValue) -> in updateUi()
207 setOnPreferenceChangeListener((pref, newValue) -> in updateUi()
213 setOnPreferenceChangeListener((pref, newValue) -> in updateUi()
241 setOnPreferenceChangeListener((pref, newValue) -> in updateUi()
/packages/apps/Settings/src/com/android/settings/notification/
DSettingPref.java89 p.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in init()
99 p.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in init()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiPrimarySwitchPreferenceControllerTest.java132 verify(mPreference).setOnPreferenceChangeListener(any(OnPreferenceChangeListener.class)); in onStart_shouldRegisterPreferenceChangeListener()
142 verify(mPreference).setOnPreferenceChangeListener(null); in onStop_shouldRegisterPreferenceChangeListener()
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DVoicemailSettingsFragment.java151 transcribeVoicemailPreference.setOnPreferenceChangeListener(this); in showTranscriptionEnabledPreference()
186 donateTranscribedVoicemailPreference.setOnPreferenceChangeListener(this); in showTranscriptionDonationEnabledPreferences()
216 voicemailAutoArchivePreference.setOnPreferenceChangeListener(this); in setupAutoArchivePreference()
223 visualVoicemailPreference.setOnPreferenceChangeListener(this); in setupVisualVoicemailPreference()
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/
DAssistedDialingSettingFragment.java85 countryChooserPref.setOnPreferenceChangeListener(this::updateListSummary); in onCreate()
86 switchPref.setOnPreferenceChangeListener(this::logIfUserDisabledFeature); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DDaltonizerSaturationSeekbarPreferenceControllerTest.java126 verify(mPreference).setOnPreferenceChangeListener(eq(mController)); in displayPreference_enabled_visible()
139 verify(mPreference, never()).setOnPreferenceChangeListener(any()); in displayPreference_disabled_notVisible()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/config/
DConfigPreference.java156 itemList.setOnPreferenceChangeListener(new ConfigListItemChangeListener(i)); in initPreferences()
169 check.setOnPreferenceChangeListener(new CheckBoxItemChangeListener(i)); in initPreferences()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java366 defaultLanguagePreference.setOnPreferenceChangeListener((preference, newValue) -> { in initDefaultLanguagePreference()
412 speechRatePreference.setOnPreferenceChangeListener((preference, newValue) -> { in initSpeechRatePreference()
434 pitchPreference.setOnPreferenceChangeListener((preference, newValue) -> { in initVoicePitchPreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DCaptionFragment.java98 mCaptionsLanguagePref.setOnPreferenceChangeListener(this); in onCreatePreferences()
101 mCaptionsTextSizePref.setOnPreferenceChangeListener(this); in onCreatePreferences()
DDateTimeFragment.java113 autoDateTimePref.setOnPreferenceChangeListener(this); in onCreatePreferences()
124 mTime24Pref.setOnPreferenceChangeListener(this); in onCreatePreferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DEnergySaverFragment.java81 mSleepTimePref.setOnPreferenceChangeListener(this); in onCreatePreferences()
89 mAttentiveTimePref.setOnPreferenceChangeListener(this); in onCreatePreferences()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DAdditionalAccessFragment.kt181 historicReadPref.setOnPreferenceChangeListener { _, newValue -> in <lambda>()
195 backgroundReadPref.setOnPreferenceChangeListener { _, newValue -> in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DAdditionalPermissionsFragment.kt168 switchPreference.setOnPreferenceChangeListener { _, newValue -> in <lambda>()
191 switchPreference.setOnPreferenceChangeListener { _, newValue -> in <lambda>()

1234567