Home
last modified time | relevance | path

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

12345678

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java277 mAlertReminder.setOnPreferenceChangeListener((p, newVal) -> { in onCreatePreferences()
334 mMasterToggle.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
343 mAreaUpdateInfoCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
346 mExtremeCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
349 mPublicSafetyMessagesChannelCheckBox.setOnPreferenceChangeListener( in onCreatePreferences()
353 mEmergencyAlertsCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
356 mSevereCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
364 mAmberCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
367 mTestCheckBox.setOnPreferenceChangeListener(startConfigServiceListener); in onCreatePreferences()
370 mStateLocalTestCheckBox.setOnPreferenceChangeListener( in onCreatePreferences()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DEnhancedCallBlockingFragment.java54 setOnPreferenceChangeListener(SystemContract.ENHANCED_SETTING_KEY_BLOCK_UNREGISTERED); in onCreate()
55 setOnPreferenceChangeListener(SystemContract.ENHANCED_SETTING_KEY_BLOCK_PRIVATE); in onCreate()
56 setOnPreferenceChangeListener(SystemContract.ENHANCED_SETTING_KEY_BLOCK_PAYPHONE); in onCreate()
57 setOnPreferenceChangeListener(SystemContract.ENHANCED_SETTING_KEY_BLOCK_UNKNOWN); in onCreate()
102 private void setOnPreferenceChangeListener(String key) { in setOnPreferenceChangeListener() method in EnhancedCallBlockingFragment
105 pref.setOnPreferenceChangeListener(this); in setOnPreferenceChangeListener()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSettingsActivity.kt218 it.setOnPreferenceChangeListener(this) in loadTimeZoneList()
227 it.setOnPreferenceChangeListener(this) in refresh()
233 it.setOnPreferenceChangeListener(this) in refresh()
239 it.setOnPreferenceChangeListener(this) in refresh()
243 clockSecondsPref?.setOnPreferenceChangeListener(this) in refresh()
248 autoHomeClockPref.setOnPreferenceChangeListener(this) in refresh()
270 it.setOnPreferenceChangeListener(this) in refresh()
282 preference.setOnPreferenceChangeListener(this) in refreshListPreference()
DSettingsActivity.java258 homeTimezonePref.setOnPreferenceChangeListener(this); in loadTimeZoneList()
266 autoSilencePref.setOnPreferenceChangeListener(this); in refresh()
271 clockStylePref.setOnPreferenceChangeListener(this); in refresh()
276 volumeButtonsPref.setOnPreferenceChangeListener(this); in refresh()
279 clockSecondsPref.setOnPreferenceChangeListener(this); in refresh()
284 autoHomeClockPref.setOnPreferenceChangeListener(this); in refresh()
306 weekStartPref.setOnPreferenceChangeListener(this); in refresh()
315 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/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/Calendar/src/com/android/calendar/
DGeneralPreferences.java250 mUseHomeTZ.setOnPreferenceChangeListener(listener); in setPreferenceListeners()
251 mHomeTZ.setOnPreferenceChangeListener(listener); in setPreferenceListeners()
252 mWeekStart.setOnPreferenceChangeListener(listener); in setPreferenceListeners()
253 mDefaultReminder.setOnPreferenceChangeListener(listener); in setPreferenceListeners()
254 mHideDeclined.setOnPreferenceChangeListener(listener); in setPreferenceListeners()
255 mVibrate.setOnPreferenceChangeListener(listener); in setPreferenceListeners()
/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/apps/Settings/src/com/android/settings/widget/
DMasterSwitchController.java42 mPreference.setOnPreferenceChangeListener(this); in startListening()
47 mPreference.setOnPreferenceChangeListener(null); in stopListening()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMasterSwitchController.java42 mPreference.setOnPreferenceChangeListener(this); in startListening()
47 mPreference.setOnPreferenceChangeListener(null); in stopListening()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DDaydreamFragment.java109 activeDreamPref.setOnPreferenceChangeListener(this); in onCreatePreferences()
113 dreamTimePref.setOnPreferenceChangeListener(this); in onCreatePreferences()
117 sleepTimePref.setOnPreferenceChangeListener(this); in onCreatePreferences()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionPreference.java246 setOnPreferenceChangeListener((pref, newValue) -> in updateUi()
252 setOnPreferenceChangeListener((pref, newValue) -> in updateUi()
257 setOnPreferenceChangeListener((pref, newValue) -> in updateUi()
284 setOnPreferenceChangeListener((pref, newValue) -> in updateUi()
DAdjustUserSensitiveFragment.java132 mGlobalUserSensitiveSwitch.setOnPreferenceChangeListener((p, newValue) -> { in onCreate()
138 mAssistantRecordAudioIsUserSensitiveSwitch.setOnPreferenceChangeListener((p, newValue) -> { in onCreate()
198 pref.setOnPreferenceChangeListener( in updatePerPackageOverrideSwitches()
/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/Settings/src/com/android/settings/accessibility/
DCaptionPropertiesFragment.java284 mSwitch.setOnPreferenceChangeListener(this); in installUpdateListeners()
285 mTypeface.setOnPreferenceChangeListener(this); in installUpdateListeners()
286 mFontSize.setOnPreferenceChangeListener(this); in installUpdateListeners()
287 mLocale.setOnPreferenceChangeListener(this); in installUpdateListeners()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiMasterSwitchPreferenceControllerTest.java121 verify(mPreference).setOnPreferenceChangeListener(any(OnPreferenceChangeListener.class)); in onStart_shouldRegisterPreferenceChangeListener()
131 verify(mPreference).setOnPreferenceChangeListener(null); in onStop_shouldRegisterPreferenceChangeListener()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java331 defaultLanguagePreference.setOnPreferenceChangeListener((preference, newValue) -> { in initDefaultLanguagePreference()
377 speechRatePreference.setOnPreferenceChangeListener((preference, newValue) -> { in initSpeechRatePreference()
399 pitchPreference.setOnPreferenceChangeListener((preference, newValue) -> { in initVoicePitchPreference()
/packages/apps/Settings/src/com/android/settings/notification/
DSettingPref.java89 p.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in init()
99 p.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in init()
DZenModeEventRuleSettings.java131 mCalendar.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in onCreateInternal()
156 mReply.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in onCreateInternal()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DSettingPref.java89 p.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in init()
99 p.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in init()
/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/TvSettings/Settings/src/com/android/tv/settings/system/
DCaptionFragment.java95 mCaptionsLanguagePref.setOnPreferenceChangeListener(this); in onCreatePreferences()
98 mCaptionsTextSizePref.setOnPreferenceChangeListener(this); in onCreatePreferences()
DDateTimeFragment.java107 autoDateTimePref.setOnPreferenceChangeListener(this); in onCreatePreferences()
116 mTime24Pref.setOnPreferenceChangeListener(this); in onCreatePreferences()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DCaptionPropertiesFragment.java334 mTypeface.setOnPreferenceChangeListener(this); in installUpdateListeners()
335 mFontSize.setOnPreferenceChangeListener(this); in installUpdateListeners()
336 mLocale.setOnPreferenceChangeListener(this); in installUpdateListeners()

12345678