Home
last modified time | relevance | path

Searched defs:pref (Results 1 – 25 of 120) sorted by relevance

12345

/packages/apps/Camera/src/com/android/camera/ui/
DMoreSettingPopup.java50 public void onSettingChanged(ListPreference pref); in onSettingChanged()
51 public void onPreferenceClicked(ListPreference pref); in onPreferenceClicked()
66 private int getSettingLayoutId(ListPreference pref) { in getSettingLayoutId()
74 private boolean isOnOffPreference(ListPreference pref) { in isOnOffPreference()
124 ListPreference pref = group.findPreference(keys[i]); in initialize() local
145 ListPreference pref = mListItem.get(j); in setPreferenceEnabled() local
153 public void onSettingChanged(ListPreference pref) { in onSettingChanged()
166 ListPreference pref = mListItem.get(j); in overrideSettings() local
186 ListPreference pref = mListItem.get(position); in onItemClick() local
195 ListPreference pref = mListItem.get(i); in reloadPreference() local
/packages/apps/Browser/src/com/android/browser/preferences/
DAccessibilityPreferencesFragment.java79 void updateMinFontSummary(Preference pref, int minFontSize) { in updateMinFontSummary()
84 void updateTextZoomSummary(Preference pref, int textZoom) { in updateTextZoomSummary()
88 void updateDoubleTapZoomSummary(Preference pref, int doubleTapZoom) { in updateDoubleTapZoomSummary()
92 void updateInvertedContrastSummary(Preference pref, int contrast) { in updateInvertedContrastSummary()
97 public boolean onPreferenceChange(Preference pref, Object objValue) { in onPreferenceChange()
DGeneralPreferencesFragment.java74 ListPreference pref = (ListPreference) findPreference(PREF_HOMEPAGE_PICKER); in onCreate() local
82 public boolean onPreferenceChange(Preference pref, Object objValue) { in onPreferenceChange()
117 void promptForHomepage(final ListPreference pref) { in promptForHomepage()
/packages/apps/Camera/src/com/android/camera/
DPhotoController.java123 ListPreference pref = mPreferenceGroup.findPreference(CameraSettings.KEY_CAMERA_ID); in setCameraId() local
137 public void onListPrefChanged(ListPreference pref) { in onListPrefChanged()
176 private static boolean notSame(ListPreference pref, String key, String value) { in notSame()
181 ListPreference pref = mPreferenceGroup.findPreference(key); in setPreference() local
189 public void onSettingChanged(ListPreference pref) { in onSettingChanged()
203 public void onPreferenceClicked(ListPreference pref) { in onPreferenceClicked()
DPieController.java65 public void onSettingChanged(ListPreference pref) { in onSettingChanged()
72 ListPreference pref = mPreferenceGroup.findPreference(CameraSettings.KEY_CAMERA_ID); in setCameraId() local
88 final IconListPreference pref = in addItem() local
141 private void reloadPreference(IconListPreference pref) { in reloadPreference()
177 private void override(IconListPreference pref, final String ... keyvalues) { in override()
DCameraSettings.java299 ListPreference pref, List<String> supported) { in filterUnsupportedOptions()
318 ListPreference pref) { in filterSimilarPictureSize()
327 private void resetIfInvalid(ListPreference pref) { in resetIfInvalid()
343 public static void upgradeLocalPreferences(SharedPreferences pref) { in upgradeLocalPreferences()
362 public static void upgradeGlobalPreferences(SharedPreferences pref) { in upgradeGlobalPreferences()
367 private static void upgradeOldVersion(SharedPreferences pref) { in upgradeOldVersion()
413 private static void upgradeCameraId(SharedPreferences pref) { in upgradeCameraId()
427 public static int readPreferredCameraId(SharedPreferences pref) { in readPreferredCameraId()
431 public static void writePreferredCameraId(SharedPreferences pref, in writePreferredCameraId()
450 public static int readEffectType(SharedPreferences pref) { in readEffectType()
[all …]
DRecordLocationPreference.java47 SharedPreferences pref, ContentResolver resolver) { in get()
53 public static boolean isSet(SharedPreferences pref) { in isSet()
DVideoController.java101 ListPreference pref = mPreferenceGroup.findPreference(CameraSettings.KEY_CAMERA_ID); in setCameraId() local
125 public void onListPrefChanged(ListPreference pref) { in onListPrefChanged()
161 public void onPreferenceClicked(ListPreference pref) { in onPreferenceClicked()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DDebugSettingsFragment.java71 final Preference pref = new DictDumpPreference(getActivity(), dictName); in onCreate() local
111 public boolean onPreferenceClick(final Preference pref) { in onPreferenceClick()
169 final SeekBarDialogPreference pref = (SeekBarDialogPreference)findPreference( in setupKeyLongpressTimeoutSettings() local
208 final SeekBarDialogPreference pref = (SeekBarDialogPreference)findPreference(prefKey); in setupKeyPreviewAnimationScale() local
260 final SeekBarDialogPreference pref = (SeekBarDialogPreference)findPreference(prefKey); in setupKeyPreviewAnimationDuration() local
DThemeSettingsFragment.java47 static void updateKeyboardThemeSummary(final Preference pref) { in updateKeyboardThemeSummary()
71 final KeyboardThemePreference pref = new KeyboardThemePreference( in onCreate() local
84 final KeyboardThemePreference pref = (KeyboardThemePreference)preference; in onRadioButtonClicked() local
108 final KeyboardThemePreference pref = (KeyboardThemePreference)preference; in updateSelected() local
/packages/apps/Settings/src/com/android/settings/inputmethod/
DSpellCheckersSettings.java76 final SpellCheckerPreference pref = new SpellCheckerPreference(context, sci, this); in populatePreferenceScreen() local
118 final SpellCheckerPreference pref = (SpellCheckerPreference)preference; in updatePreferenceScreen() local
138 public boolean onPreferenceClick(final Preference pref) { in onPreferenceClick()
147 public void onRadioButtonClicked(final SpellCheckerPreference pref) { in onRadioButtonClicked()
205 private void showSecurityWarnDialog(final SpellCheckerPreference pref) { in showSecurityWarnDialog()
DInputMethodAndLanguageSettings.java325 final SwitchPreference pref = (SwitchPreference) preference; in onPreferenceTreeClick() local
395 final InputMethodPreference pref = new InputMethodPreference( in updateInputMethodPreferenceViews() local
408 final InputMethodPreference pref = mInputMethodPreferenceList.get(i); in updateInputMethodPreferenceViews() local
425 public void onSaveInputMethodPreference(final InputMethodPreference pref) { in onSaveInputMethodPreference()
526 final PreferenceScreen pref = new PreferenceScreen(getActivity(), null); in updateHardKeyboards() local
546 final Preference pref = mHardKeyboardCategory.getPreference(i); in updateHardKeyboards() local
555 final Preference pref = mHardKeyboardPreferenceList.get(i); in updateHardKeyboards() local
599 SwitchPreference pref = (SwitchPreference) in updateGameControllers() local
DInputMethodAndSubtypeUtil.java173 final Preference pref = context.findPreference(imiId); in saveInputMethodSubtypeList() local
295 final Preference pref = context.findPreference(imiId); in loadInputMethodSubtypeList() local
320 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in setSubtypesPreferenceEnabled() local
349 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in updateSubtypesPreferenceChecked() local
358 static void removeUnnecessaryNonPersistentPreference(final Preference pref) { in removeUnnecessaryNonPersistentPreference()
/packages/services/Telephony/src/com/android/phone/settings/
DPhoneAccountSettingsFragment.java171 public boolean onPreferenceChange(Preference pref, Object objValue) { in onPreferenceChange()
191 public boolean onPreferenceClick(Preference pref) { in onPreferenceClick()
220 public boolean onAccountSelected(AccountSelectionPreference pref, PhoneAccountHandle account) { in onAccountSelected()
237 public void onAccountSelectionDialogShow(AccountSelectionPreference pref) { in onAccountSelectionDialogShow()
250 public void onAccountChanged(AccountSelectionPreference pref) { in onAccountChanged()
DAccountSelectionPreference.java40 boolean onAccountSelected(AccountSelectionPreference pref, PhoneAccountHandle account); in onAccountSelected()
41 void onAccountSelectionDialogShow(AccountSelectionPreference pref); in onAccountSelectionDialogShow()
42 void onAccountChanged(AccountSelectionPreference pref); in onAccountChanged()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DOtherSettingsPopup.java59 private int getSettingLayoutId(ListPreference pref) { in getSettingLayoutId()
99 ListPreference pref = group.findPreference(keys[i]); in initialize() local
126 ListPreference pref = (ListPreference) mListItem.get(j); in overrideSettings() local
148 ListPreference pref = (ListPreference) mListItem.get(i); in reloadPreference() local
DIndicatorControl.java92 IconListPreference pref = in addControls() local
95 addIndicator(getContext(), pref); in addControls() local
108 ListPreference pref = mPreferenceGroup.findPreference( in initializeCameraPicker() local
123 public IndicatorButton addIndicator(Context context, IconListPreference pref) { in addIndicator()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DCommonPreferences.java29 public static void enable(final SharedPreferences pref, final String id) { in enable()
35 public static void disable(final SharedPreferences pref, final String id) { in disable()
/packages/apps/Settings/src/com/android/settings/quicklaunch/
DQuickLaunchSettings.java171 private void showClearDialog(ShortcutPreference pref) { in showClearDialog()
210 Preference pref = (Preference) getPreferenceScreen().getRootAdapter().getItem(position); in onItemLongClick() local
246 ShortcutPreference pref = mShortcutToPreference.get(shortcut); in getOrCreatePreference() local
256 ShortcutPreference pref = new ShortcutPreference(getActivity(), shortcut); in createPreference() local
305 ShortcutPreference pref = getOrCreatePreference(shortcut); in refreshShortcuts() local
344 ShortcutPreference pref = mShortcutToPreference.get(shortcut); in refreshShortcuts() local
/packages/services/Telecomm/src/com/android/server/telecom/
DRespondViaSmsSettings.java72 EditTextPreference pref; in onCreate() local
107 EditTextPreference pref = (EditTextPreference) preference; in onPreferenceChange() local
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipEditor.java301 EditTextPreference pref = (EditTextPreference) key.preference; in isEditTextEmpty() local
312 EditTextPreference pref = (EditTextPreference) p; in validateAndSetResult() local
407 public boolean onPreferenceChange(Preference pref, Object newValue) { in onPreferenceChange()
435 private PreferenceKey getPreferenceKey(Preference pref) { in getPreferenceKey()
483 ListPreference pref = (ListPreference) PreferenceKey.SendKeepAlive.preference; in isAlwaysSendKeepAlive() local
488 CheckBoxPreference pref = (CheckBoxPreference) key.preference; in setCheckBox() local
492 private void setupPreference(Preference pref) { in setupPreference()
549 Preference pref = group.getPreference(i); in loadAdvancedPreferences() local
/packages/apps/DeskClock/src/com/android/deskclock/
DScreensaverSettingsActivity.java49 public boolean onPreferenceChange(Preference pref, Object newValue) { in onPreferenceChange()
65 Preference pref = findPreference(KEY_NIGHT_MODE); in refresh() local
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java253 ListPreference pref, List<String> supported) { in filterUnsupportedOptions()
271 private void resetIfInvalid(ListPreference pref) { in resetIfInvalid()
287 public static void upgradeLocalPreferences(SharedPreferences pref) { in upgradeLocalPreferences()
306 public static void upgradeGlobalPreferences(SharedPreferences pref) { in upgradeGlobalPreferences()
352 public static int readPreferredCameraId(SharedPreferences pref) { in readPreferredCameraId()
356 public static void writePreferredCameraId(SharedPreferences pref, in writePreferredCameraId()
375 public static int readEffectType(SharedPreferences pref) { in readEffectType()
388 public static Object readEffectParameter(SharedPreferences pref) { in readEffectParameter()
/packages/apps/MusicFX/src/com/android/musicfx/
DCompatibility.java66 SharedPreferences pref = getSharedPreferences("musicfx", MODE_PRIVATE); in onCreate() local
152 SharedPreferences pref = getSharedPreferences("musicfx", MODE_PRIVATE); in pickDefaultControlPanel() local
209 SharedPreferences pref = getSharedPreferences("musicfx", MODE_PRIVATE); in setDefault() local
/packages/apps/Protips/src/com/android/protips/
DProtipWidget.java73 SharedPreferences pref = context.getSharedPreferences(PREFS_NAME, 0); in setup() local
125 SharedPreferences.Editor pref = context.getSharedPreferences(PREFS_NAME, 0).edit(); in onReceiveAsync() local
138 SharedPreferences.Editor pref = context.getSharedPreferences(PREFS_NAME, 0).edit(); in onReceiveAsync() local

12345