Home
last modified time | relevance | path

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

12

/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/security/
DSecurityFeatureProviderImpl.java60 public void updatePreferences(final Context context, final PreferenceScreen preferenceScreen, in updatePreferences() argument
62 if (preferenceScreen == null) { in updatePreferences()
70 initPreferences(context, preferenceScreen, dashboardCategory); in updatePreferences()
77 updatePreferencesToRunOnWorkerThread(context, preferenceScreen, dashboardCategory); in updatePreferences()
83 static void initPreferences(Context context, PreferenceScreen preferenceScreen, in initPreferences() argument
92 Preference matchingPref = preferenceScreen.findPreference(tile.key); in initPreferences()
128 void updatePreferencesToRunOnWorkerThread(Context context, PreferenceScreen preferenceScreen, in updatePreferencesToRunOnWorkerThread() argument
139 Preference matchingPref = preferenceScreen.findPreference(tile.key); in updatePreferencesToRunOnWorkerThread()
/packages/apps/Settings/src/com/android/settings/
DWifiCallingSettings.java389 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in updateButtonWfcMode() local
393 preferenceScreen.addPreference(mButtonWfcMode); in updateButtonWfcMode()
396 preferenceScreen.removePreference(mButtonWfcMode); in updateButtonWfcMode()
399 preferenceScreen.addPreference(mButtonWfcRoamingMode); in updateButtonWfcMode()
402 preferenceScreen.removePreference(mButtonWfcRoamingMode); in updateButtonWfcMode()
405 preferenceScreen.addPreference(mUpdateAddress); in updateButtonWfcMode()
407 preferenceScreen.removePreference(mUpdateAddress); in updateButtonWfcMode()
410 preferenceScreen.removePreference(mButtonWfcMode); in updateButtonWfcMode()
411 preferenceScreen.removePreference(mButtonWfcRoamingMode); in updateButtonWfcMode()
412 preferenceScreen.removePreference(mUpdateAddress); in updateButtonWfcMode()
DSettingsPreferenceFragment.java311 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
312 if (preferenceScreen != null && !preferenceScreen.isAttached()) { in setPreferenceScreen()
314 preferenceScreen.setShouldUseGeneratedIds(mAnimationAllowed); in setPreferenceScreen()
316 super.setPreferenceScreen(preferenceScreen); in setPreferenceScreen()
317 if (preferenceScreen != null) { in setPreferenceScreen()
319 preferenceScreen.addPreference(mHeader); in setPreferenceScreen()
376 protected RecyclerView.Adapter onCreateAdapter(PreferenceScreen preferenceScreen) { in onCreateAdapter() argument
377 mAdapter = new HighlightablePreferenceGroupAdapter(preferenceScreen); in onCreateAdapter()
DTestingSettings.java35 PreferenceScreen preferenceScreen = (PreferenceScreen) in onCreate() local
37 getPreferenceScreen().removePreference(preferenceScreen); in onCreate()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleFeaturePreferenceFragment.java52 PreferenceScreen preferenceScreen = getPreferenceManager().createPreferenceScreen( in onCreate() local
54 setPreferenceScreen(preferenceScreen); in onCreate()
69 PreferenceScreen preferenceScreen = getPreferenceScreen(); in onViewCreated() local
70 Preference settingsPref = new Preference(preferenceScreen.getContext()); in onViewCreated()
74 preferenceScreen.addPreference(settingsPref); in onViewCreated()
DToggleScreenMagnificationPreferenceFragment.java146 final PreferenceScreen preferenceScreen = getPreferenceManager().getPreferenceScreen(); in onCreate() local
147 preferenceScreen.setOrderingAsAdded(false); in onCreate()
150 preferenceScreen.addPreference(mVideoPreference); in onCreate()
151 preferenceScreen.addPreference(mConfigWarningPreference); in onCreate()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiAPITest.java74 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onCreatePreferences() local
76 mWifiDisconnect = (Preference) preferenceScreen.findPreference(KEY_DISCONNECT); in onCreatePreferences()
79 mWifiDisableNetwork = (Preference) preferenceScreen.findPreference(KEY_DISABLE_NETWORK); in onCreatePreferences()
82 mWifiEnableNetwork = (Preference) preferenceScreen.findPreference(KEY_ENABLE_NETWORK); in onCreatePreferences()
DSavedAccessPointsWifiSettings.java143 PreferenceScreen preferenceScreen = getPreferenceScreen(); in initPreferences() local
149 cacheRemoveAllPrefs(preferenceScreen); in initPreferences()
162 preferenceScreen.addPreference(preference); in initPreferences()
167 removeCachedPrefs(preferenceScreen); in initPreferences()
175 preferenceScreen.addPreference(mAddNetworkPreference); in initPreferences()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java260 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in update() local
261 preferenceScreen.removeAll(); in update()
268 preferenceScreen.addPreference(createRoutePreference(route)); in update()
279 preferenceScreen.addPreference(new UnpairedWifiDisplayPreference( in update()
286 buildCertificationMenu(preferenceScreen); in update()
316 private void buildCertificationMenu(final PreferenceScreen preferenceScreen) { in buildCertificationMenu() argument
324 preferenceScreen.addPreference(mCertCategory); in buildCertificationMenu()
/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/apps/Settings/src/com/android/settings/applications/
DManageDomainUrls.java115 final PreferenceGroup preferenceScreen = getPreferenceScreen(); in onRebuildComplete() local
116 if (preferenceScreen.getPreferenceCount() == 0) { in onRebuildComplete()
121 preferenceScreen.addPreference(webActionCategory); in onRebuildComplete()
155 preferenceScreen.addPreference(mDomainAppList); in onRebuildComplete()
/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/services/Telecomm/src/com/android/server/telecom/
DRespondViaSmsSettings.java63 PreferenceScreen preferenceScreen = getPreferenceScreen(); in onResume() local
64 if (preferenceScreen != null) { in onResume()
65 preferenceScreen.removeAll(); in onResume()
/packages/apps/Settings/src/com/android/settings/backup/
DToggleBackupSettingFragment.java59 PreferenceScreen preferenceScreen = getPreferenceManager().createPreferenceScreen( in onCreate() local
61 setPreferenceScreen(preferenceScreen); in onCreate()
72 preferenceScreen.addPreference(mSummaryPreference); in onCreate()
/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java121 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick() argument
213 PreferenceScreen preferenceScreen = getPreferenceScreen(); in onResume() local
214 if (preferenceScreen != null) { in onResume()
215 preferenceScreen.removeAll(); in onResume()
DMobileDataPreference.java116 public void performClick(PreferenceScreen preferenceScreen) { in performClick() argument
139 super.performClick(preferenceScreen); in performClick()
150 super.performClick(preferenceScreen); in performClick()
DRestrictedSwitchPreference.java95 public void performClick(PreferenceScreen preferenceScreen) { in performClick() argument
100 super.performClick(preferenceScreen); in performClick()
/packages/apps/Dialer/java/com/android/voicemail/impl/settings/
DVoicemailSettingsFragment.java74 PreferenceScreen preferenceScreen = getPreferenceScreen(); in onResume() local
75 if (preferenceScreen != null) { in onResume()
76 preferenceScreen.removeAll(); in onResume()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DPhysicalKeyboardFragment.java148 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onLoadFinishedInternal() local
149 preferenceScreen.removeAll(); in onLoadFinishedInternal()
154 preferenceScreen.addPreference(category); in onLoadFinishedInternal()
177 preferenceScreen.addPreference(mKeyboardAssistanceCategory); in onLoadFinishedInternal()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java163 PreferenceScreen preferenceScreen = getPreferenceScreen(); in onCreatePreferences() local
249 preferenceScreen.removePreference(mEmergencyCheckBox); in onCreatePreferences()
263 preferenceScreen.removePreference(mDevSettingCategory); in onCreatePreferences()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DRestrictedSwitchPreference.java77 public void performClick(PreferenceScreen preferenceScreen) { in performClick() argument
81 super.performClick(preferenceScreen); in performClick()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java848 PreferenceScreen preferenceScreen = getPreferenceScreen(); in updateUserList() local
849 preferenceScreen.removeAll(); in updateUserList()
858 preferenceScreen.addPreference(mUserListCategory); in updateUserList()
861 groupToAddUsers = preferenceScreen; in updateUserList()
873 preferenceScreen.addPreference(mAddUser); in updateUserList()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDeletionHelperSettingsTest.java85 PreferenceScreen preferenceScreen = mock(PreferenceScreen.class); in downloadsNotDeletedInNoThresholdMode() local
86 doReturn(preferenceScreen).when(settings).getPreferenceScreen(); in downloadsNotDeletedInNoThresholdMode()
/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()

12