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()
269 editor.putInt(Key.eq_level_range.toString() + 0, mEQBandLevelRange[0]); in initEffectsPreferences()
270 editor.putInt(Key.eq_level_range.toString() + 1, mEQBandLevelRange[1]); in initEffectsPreferences()
271 editor.putInt(Key.eq_num_bands.toString(), mEQNumBands); in initEffectsPreferences()
272 editor.putInt(Key.eq_num_presets.toString(), mEQNumPresets); in initEffectsPreferences()
282 editor.putInt(Key.eq_current_preset.toString(), eQPreset); in initEffectsPreferences()
298 editor.putInt(Key.eq_band_level.toString() + band, bandLevel[band]); in initEffectsPreferences()
300 editor.putInt(Key.eq_center_freq.toString() + band, mEQCenterFreq[band]); in initEffectsPreferences()
301 editor.putInt(Key.eq_preset_ci_extreme_band_level.toString() + band, in initEffectsPreferences()
303 editor.putInt(Key.eq_preset_user_band_level_default.toString() + band, in initEffectsPreferences()
307editor.putString(Key.eq_preset_name.toString() + preset, mEQPresetNames[preset]); in initEffectsPreferences()
309 editor.putInt(Key.eq_preset_opensl_es_band_level.toString() + preset + "_" in initEffectsPreferences()
316 editor.putBoolean(Key.eq_enabled.toString(), isEQEnabled); in initEffectsPreferences()
323 editor.putBoolean(Key.pr_enabled.toString(), isEnabledPR); in initEffectsPreferences()
324 editor.putInt(Key.pr_current_preset.toString(), presetPR); in initEffectsPreferences()
326 editor.commit(); in initEffectsPreferences()
509 final SharedPreferences.Editor editor = prefs.edit(); in setParameterBoolean() local
510 editor.putBoolean(key.toString(), enabled); in setParameterBoolean()
511 editor.commit(); in setParameterBoolean()
563 final SharedPreferences.Editor editor = prefs.edit(); in setParameterInt() local
601 editor.putInt(Key.eq_preset_user_band_level.toString() + band, value); in setParameterInt()
644 editor.putInt(Key.eq_band_level.toString() + band, level); in setParameterInt()
697 editor.putInt(Key.eq_preset_user_band_level.toString() + band, value); in setParameterInt()
731 editor.putInt(Key.eq_band_level.toString() + band, bandLevel); in setParameterInt()
757 editor.putInt(strKey, value); in setParameterInt()
758 editor.apply(); in setParameterInt()
983 final SharedPreferences.Editor editor = prefs.edit(); in openSession() local
987 editor.putBoolean(Key.global_enabled.toString(), isGlobalEnabled); in openSession()
1016 editor.commit(); in openSession()
1053 editor.putBoolean(Key.virt_enabled.toString(), isEnabled); in openSession()
1054 editor.putInt(Key.virt_strength.toString(), settings.strength); in openSession()
1064 editor.apply(); in openSession()
1099 editor.putBoolean(Key.bb_enabled.toString(), isEnabled); in openSession()
1100 editor.putInt(Key.bb_strength.toString(), settings.strength); in openSession()
1129 editor.putString(Key.eq_preset_name.toString() + preset, in openSession()
1133 editor.putInt(Key.eq_level_range.toString() + 0, mEQBandLevelRange[0]); in openSession()
1134 editor.putInt(Key.eq_level_range.toString() + 1, mEQBandLevelRange[1]); in openSession()
1135 editor.putInt(Key.eq_num_bands.toString(), mEQNumBands); in openSession()
1136 editor.putInt(Key.eq_num_presets.toString(), mEQNumPresets); in openSession()
1165 editor.putInt(Key.eq_current_preset.toString(), eQPreset); in openSession()
1172 editor.putInt(Key.eq_band_level.toString() + band, bandLevel[band]); in openSession()
1173 editor.putInt(Key.eq_center_freq.toString() + band, mEQCenterFreq[band]); in openSession()
1174 editor.putInt(Key.eq_preset_ci_extreme_band_level.toString() + band, in openSession()
1176 editor.putInt(Key.eq_preset_user_band_level_default.toString() + band, in openSession()
1188 editor.putBoolean(Key.eq_enabled.toString(), isEnabled); in openSession()
1259 editor.commit(); in openSession()