Lines Matching refs:editor

161         final SharedPreferences.Editor editor = prefs.edit();  in initEffectsPreferences()  local
169 editor.putBoolean(Key.global_enabled.toString(), isGlobalEnabled); in initEffectsPreferences()
179 editor.putBoolean(Key.virt_enabled.toString(), isVIEnabled); in initEffectsPreferences()
180 editor.putInt(Key.virt_strength.toString(), vIStrength); in initEffectsPreferences()
187 editor.putBoolean(Key.virt_strength_supported.toString(), in initEffectsPreferences()
203 editor.putBoolean(Key.bb_enabled.toString(), isBBEnabled); in initEffectsPreferences()
204 editor.putInt(Key.bb_strength.toString(), bBStrength); in initEffectsPreferences()
268 editor.putInt(Key.eq_level_range.toString() + 0, mEQBandLevelRange[0]); in initEffectsPreferences()
269 editor.putInt(Key.eq_level_range.toString() + 1, mEQBandLevelRange[1]); in initEffectsPreferences()
270 editor.putInt(Key.eq_num_bands.toString(), mEQNumBands); in initEffectsPreferences()
271 editor.putInt(Key.eq_num_presets.toString(), mEQNumPresets); in initEffectsPreferences()
281 editor.putInt(Key.eq_current_preset.toString(), eQPreset); in initEffectsPreferences()
297 editor.putInt(Key.eq_band_level.toString() + band, bandLevel[band]); in initEffectsPreferences()
299 editor.putInt(Key.eq_center_freq.toString() + band, mEQCenterFreq[band]); in initEffectsPreferences()
300 editor.putInt(Key.eq_preset_ci_extreme_band_level.toString() + band, in initEffectsPreferences()
302 editor.putInt(Key.eq_preset_user_band_level_default.toString() + band, in initEffectsPreferences()
306editor.putString(Key.eq_preset_name.toString() + preset, mEQPresetNames[preset]); in initEffectsPreferences()
308 editor.putInt(Key.eq_preset_opensl_es_band_level.toString() + preset + "_" in initEffectsPreferences()
315 editor.putBoolean(Key.eq_enabled.toString(), isEQEnabled); in initEffectsPreferences()
322 editor.putBoolean(Key.pr_enabled.toString(), isEnabledPR); in initEffectsPreferences()
323 editor.putInt(Key.pr_current_preset.toString(), presetPR); in initEffectsPreferences()
325 editor.commit(); in initEffectsPreferences()
508 final SharedPreferences.Editor editor = prefs.edit(); in setParameterBoolean() local
509 editor.putBoolean(key.toString(), enabled); in setParameterBoolean()
510 editor.commit(); in setParameterBoolean()
562 final SharedPreferences.Editor editor = prefs.edit(); in setParameterInt() local
600 editor.putInt(Key.eq_preset_user_band_level.toString() + band, value); in setParameterInt()
643 editor.putInt(Key.eq_band_level.toString() + band, level); in setParameterInt()
696 editor.putInt(Key.eq_preset_user_band_level.toString() + band, value); in setParameterInt()
730 editor.putInt(Key.eq_band_level.toString() + band, bandLevel); in setParameterInt()
756 editor.putInt(strKey, value); in setParameterInt()
757 editor.apply(); in setParameterInt()
982 final SharedPreferences.Editor editor = prefs.edit(); in openSession() local
986 editor.putBoolean(Key.global_enabled.toString(), isGlobalEnabled); in openSession()
1015 editor.commit(); in openSession()
1052 editor.putBoolean(Key.virt_enabled.toString(), isEnabled); in openSession()
1053 editor.putInt(Key.virt_strength.toString(), settings.strength); in openSession()
1063 editor.apply(); in openSession()
1098 editor.putBoolean(Key.bb_enabled.toString(), isEnabled); in openSession()
1099 editor.putInt(Key.bb_strength.toString(), settings.strength); in openSession()
1128 editor.putString(Key.eq_preset_name.toString() + preset, in openSession()
1132 editor.putInt(Key.eq_level_range.toString() + 0, mEQBandLevelRange[0]); in openSession()
1133 editor.putInt(Key.eq_level_range.toString() + 1, mEQBandLevelRange[1]); in openSession()
1134 editor.putInt(Key.eq_num_bands.toString(), mEQNumBands); in openSession()
1135 editor.putInt(Key.eq_num_presets.toString(), mEQNumPresets); in openSession()
1164 editor.putInt(Key.eq_current_preset.toString(), eQPreset); in openSession()
1171 editor.putInt(Key.eq_band_level.toString() + band, bandLevel[band]); in openSession()
1172 editor.putInt(Key.eq_center_freq.toString() + band, mEQCenterFreq[band]); in openSession()
1173 editor.putInt(Key.eq_preset_ci_extreme_band_level.toString() + band, in openSession()
1175 editor.putInt(Key.eq_preset_user_band_level_default.toString() + band, in openSession()
1187 editor.putBoolean(Key.eq_enabled.toString(), isEnabled); in openSession()
1258 editor.commit(); in openSession()