Home
last modified time | relevance | path

Searched refs:prefKey (Results 1 – 10 of 10) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSubScreenFragment.java38 static void setPreferenceEnabled(final String prefKey, final boolean enabled, in setPreferenceEnabled() argument
40 final Preference preference = screen.findPreference(prefKey); in setPreferenceEnabled()
46 static void removePreference(final String prefKey, final PreferenceScreen screen) { in removePreference() argument
47 final Preference preference = screen.findPreference(prefKey); in removePreference()
53 static void updateListPreferenceSummaryToCurrentValue(final String prefKey, in updateListPreferenceSummaryToCurrentValue() argument
57 final ListPreference listPreference = (ListPreference)screen.findPreference(prefKey); in updateListPreferenceSummaryToCurrentValue()
66 final void setPreferenceEnabled(final String prefKey, final boolean enabled) {
67 setPreferenceEnabled(prefKey, enabled, getPreferenceScreen());
70 final void removePreference(final String prefKey) {
71 removePreference(prefKey, getPreferenceScreen());
[all …]
DDebugSettingsFragment.java205 private void setupKeyPreviewAnimationScale(final String prefKey, final float defaultValue) { in setupKeyPreviewAnimationScale() argument
208 final SeekBarDialogPreference pref = (SeekBarDialogPreference)findPreference(prefKey); in setupKeyPreviewAnimationScale()
257 private void setupKeyPreviewAnimationDuration(final String prefKey, final int defaultValue) { in setupKeyPreviewAnimationDuration() argument
260 final SeekBarDialogPreference pref = (SeekBarDialogPreference)findPreference(prefKey); in setupKeyPreviewAnimationDuration()
DSettings.java344 final String prefKey, final float defaultValue) { in readKeyPreviewAnimationScale() argument
345 final float fraction = prefs.getFloat(prefKey, UNDEFINED_PREFERENCE_VALUE_FLOAT); in readKeyPreviewAnimationScale()
350 final String prefKey, final int defaultValue) { in readKeyPreviewAnimationDuration() argument
351 final int milliseconds = prefs.getInt(prefKey, UNDEFINED_PREFERENCE_VALUE_INT); in readKeyPreviewAnimationDuration()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardThemeTests.java62 private void setKeyboardThemePreference(final String prefKey, final int themeId) { in setKeyboardThemePreference() argument
66 mPrefs.edit().putString(prefKey, themeIdString).apply(); in setKeyboardThemePreference()
71 mPrefs.edit().remove(prefKey).apply(); in setKeyboardThemePreference()
76 mPrefs.edit().putString(prefKey, ILLEGAL_THEME_ID_STRING).apply(); in setKeyboardThemePreference()
93 final String prefKey = KeyboardTheme.getPreferenceKey(sdkVersion); in assertKeyboardThemePreference() local
94 setKeyboardThemePreference(prefKey, previousThemeId); in assertKeyboardThemePreference()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardTheme.java157 final String prefKey = getPreferenceKey(sdkVersion); in saveKeyboardThemeId() local
158 prefs.edit().putString(prefKey, themeIdString).apply(); in saveKeyboardThemeId()
/packages/apps/Camera/src/com/android/camera/
DPieController.java87 public void addItem(String prefKey, float center, float sweep) { in addItem() argument
89 (IconListPreference) mPreferenceGroup.findPreference(prefKey); in addItem()
/packages/apps/Camera2/src/com/android/camera/settings/
DCameraSettingsActivity.java70 String prefKey = getIntent().getStringExtra(PREF_SCREEN_EXTRA); in onCreate() local
73 bundle.putString(PREF_SCREEN_EXTRA, prefKey); in onCreate()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettings.java589 private void updateFeatureSummary(String prefKey, Preference pref) { in updateFeatureSummary() argument
590 final boolean enabled = Settings.Secure.getInt(getContentResolver(), prefKey, 0) == 1; in updateFeatureSummary()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java755 private void updateAllEntries(String prefKey, boolean checked) { in updateAllEntries() argument
759 if (prefKey.equals(pref.getKey())) { in updateAllEntries()
/packages/apps/Settings/src/com/android/settings/
DDevelopmentSettings.java372 private ListPreference addListPreference(String prefKey) { in addListPreference() argument
373 ListPreference pref = (ListPreference) findPreference(prefKey); in addListPreference()