Home
last modified time | relevance | path

Searched refs:preferenceScreen (Results 1 – 25 of 52) sorted by relevance

123

/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.java158 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onCreate() local
159 mAlert = (CheckBoxPreference) preferenceScreen.findPreference(KEY_ALERTS); in onCreate()
160 mVibrate = (CheckBoxPreference) preferenceScreen.findPreference(KEY_ALERTS_VIBRATE); in onCreate()
163 PreferenceCategory mAlertGroup = (PreferenceCategory) preferenceScreen in onCreate()
168 mRingtone = (RingtonePreference) preferenceScreen.findPreference(KEY_ALERTS_RINGTONE); in onCreate()
173 final Editor editor = preferenceScreen.getEditor(); in onCreate()
179 mPopup = (CheckBoxPreference) preferenceScreen.findPreference(KEY_ALERTS_POPUP); in onCreate()
180 mUseHomeTZ = (CheckBoxPreference) preferenceScreen.findPreference(KEY_HOME_TZ_ENABLED); in onCreate()
181 mHideDeclined = (CheckBoxPreference) preferenceScreen.findPreference(KEY_HIDE_DECLINED); in onCreate()
182 mWeekStart = (ListPreference) preferenceScreen.findPreference(KEY_WEEK_START_DAY); in onCreate()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiAPITest.java73 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onCreatePreferences() local
75 mWifiDisconnect = (Preference) preferenceScreen.findPreference(KEY_DISCONNECT); in onCreatePreferences()
78 mWifiDisableNetwork = (Preference) preferenceScreen.findPreference(KEY_DISABLE_NETWORK); in onCreatePreferences()
81 mWifiEnableNetwork = (Preference) preferenceScreen.findPreference(KEY_ENABLE_NETWORK); in onCreatePreferences()
91 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument
92 super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick()
DSavedAccessPointsWifiSettings.java94 PreferenceScreen preferenceScreen = getPreferenceScreen(); in initPreferences() local
108 preferenceScreen.removeAll(); in initPreferences()
115 preferenceScreen.addPreference(preference); in initPreferences()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSettings.java241 final PreferenceScreen preferenceScreen = (PreferenceScreen) findPreference(KEY_ACCOUNT); in updateUi() local
245 updateProfileUi(userInfo, false /* no category needed */, preferenceScreen); in updateUi()
251 updateProfileUi(profiles.get(i), addCategory, preferenceScreen); in updateUi() local
261 if (!profileData.preferenceGroup.equals(preferenceScreen)) { in updateUi()
262 preferenceScreen.addPreference(profileData.preferenceGroup); in updateUi()
331 PreferenceScreen preferenceScreen = getPreferenceScreen(); in cleanUpPreferences() local
332 if (preferenceScreen != null) { in cleanUpPreferences()
333 preferenceScreen.removeAll(); in cleanUpPreferences()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSettings.java289 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in updateContent() local
294 preferenceScreen.removeAll(); in updateContent()
295 preferenceScreen.setOrderingAsAdded(true); in updateContent()
315 preferenceScreen.removePreference(mPairedDevicesCategory); in updateContent()
341 preferenceScreen.addPreference(mMyDevicePreference); in updateContent()
371 setDeviceListGroup(preferenceScreen); in updateContent()
DDeviceListPreferenceFragment.java139 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, in onPreferenceTreeClick() argument
154 return super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java255 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in update() local
256 preferenceScreen.removeAll(); in update()
263 preferenceScreen.addPreference(createRoutePreference(route)); in update()
274 preferenceScreen.addPreference(new UnpairedWifiDisplayPreference( in update()
281 buildCertificationMenu(preferenceScreen); in update()
311 private void buildCertificationMenu(final PreferenceScreen preferenceScreen) { in buildCertificationMenu() argument
319 preferenceScreen.addPreference(mCertCategory); in buildCertificationMenu()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java300 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onActivityCreated() local
301 preferenceScreen.removeAll(); in onActivityCreated()
302 preferenceScreen.setOrderingAsAdded(true); in onActivityCreated()
307 preferenceScreen.addPreference(mThisDevicePref); in onActivityCreated()
311 preferenceScreen.addPreference(mPeersGroup); in onActivityCreated()
315 preferenceScreen.addPreference(mPersistentGroup); in onActivityCreated()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSpellCheckerSettingsFragment.java48 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onActivityCreated() local
49 preferenceScreen.setTitle(ApplicationUtils.getActivityTitleResId( in onActivityCreated()
51 TwoStatePreferenceHelper.replaceCheckBoxPreferencesBySwitchPreferences(preferenceScreen); in onActivityCreated()
/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java119 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument
193 PreferenceScreen preferenceScreen = getPreferenceScreen(); in onResume() local
194 if (preferenceScreen != null) { in onResume()
195 preferenceScreen.removeAll(); in onResume()
/packages/services/Telecomm/src/com/android/server/telecom/
DRespondViaSmsSettings.java62 PreferenceScreen preferenceScreen = getPreferenceScreen(); in onResume() local
63 if (preferenceScreen != null) { in onResume()
64 preferenceScreen.removeAll(); in onResume()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettingsFragment.java51 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onCreate() local
52 preferenceScreen.setTitle( in onCreate()
56 preferenceScreen.removePreference(accountsPreference); in onCreate()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndSubtypeUtil.java314 final PreferenceScreen preferenceScreen = context.getPreferenceScreen(); in setSubtypesPreferenceEnabled() local
320 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in setSubtypesPreferenceEnabled()
333 final PreferenceScreen preferenceScreen = context.getPreferenceScreen(); in updateSubtypesPreferenceChecked() local
349 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in updateSubtypesPreferenceChecked()
DKeyboardLayoutPickerFragment.java99 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, in onPreferenceTreeClick() argument
116 return super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleFeaturePreferenceFragment.java54 PreferenceScreen preferenceScreen = getPreferenceManager().createPreferenceScreen( in onCreate() local
56 setPreferenceScreen(preferenceScreen); in onCreate()
84 preferenceScreen.addPreference(mSummaryPreference); in onCreate()
/packages/apps/Settings/src/com/android/settings/backup/
DToggleBackupSettingFragment.java58 PreferenceScreen preferenceScreen = getPreferenceManager().createPreferenceScreen( in onCreate() local
60 setPreferenceScreen(preferenceScreen); in onCreate()
71 preferenceScreen.addPreference(mSummaryPreference); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DWifiCallingSettings.java237 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in updateButtonWfcMode() local
239 preferenceScreen.addPreference(mButtonWfcMode); in updateButtonWfcMode()
241 preferenceScreen.removePreference(mButtonWfcMode); in updateButtonWfcMode()
DApplicationSettings.java104 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument
110 return super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java804 PreferenceScreen preferenceScreen = getPreferenceScreen(); in updateUserList() local
805 preferenceScreen.removeAll(); in updateUserList()
814 preferenceScreen.addPreference(mUserListCategory); in updateUserList()
817 groupToAddUsers = preferenceScreen; in updateUserList()
828 preferenceScreen.addPreference(mAddUser); in updateUserList()
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailSettingsActivity.java233 PreferenceScreen preferenceScreen = getPreferenceScreen(); in onResume() local
234 if (preferenceScreen != null) { in onResume()
235 preferenceScreen.removeAll(); in onResume()
315 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument
/packages/apps/Camera2/src/com/android/camera/settings/
DCameraSettingsActivity.java235 private void setPreferenceScreenIntent(final PreferenceScreen preferenceScreen) { in setPreferenceScreenIntent() argument
237 intent.putExtra(PREF_SCREEN_EXTRA, preferenceScreen.getKey()); in setPreferenceScreenIntent()
238 preferenceScreen.setIntent(intent); in setPreferenceScreenIntent()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DPermissionsFrameFragment.java134 protected RecyclerView.Adapter<?> onCreateAdapter(PreferenceScreen preferenceScreen) { in onCreateAdapter() argument
135 final RecyclerView.Adapter<?> adapter = super.onCreateAdapter(preferenceScreen); in onCreateAdapter()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsUi.java105 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument
113 return super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPublicVolumeSettings.java197 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference pref) { in onPreferenceTreeClick() argument
215 return super.onPreferenceTreeClick(preferenceScreen, pref); in onPreferenceTreeClick()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApplicationSettingsActivity.java150 public boolean onPreferenceTreeClick (PreferenceScreen preferenceScreen, in onPreferenceTreeClick() argument
156 return super.onPreferenceTreeClick(preferenceScreen, preference); in onPreferenceTreeClick()

123