Lines Matching refs:editor

168         final SharedPreferences.Editor editor = prefs.edit();  in initEffectsPreferences()  local
188 editor.putBoolean(Key.global_enabled.toString(), isGlobalEnabled); in initEffectsPreferences()
198 editor.putBoolean(Key.virt_enabled.toString(), isVIEnabled); in initEffectsPreferences()
199 editor.putInt(Key.virt_strength.toString(), vIStrength); in initEffectsPreferences()
206 editor.putBoolean(Key.virt_strength_supported.toString(), in initEffectsPreferences()
222 editor.putBoolean(Key.bb_enabled.toString(), isBBEnabled); in initEffectsPreferences()
223 editor.putInt(Key.bb_strength.toString(), bBStrength); in initEffectsPreferences()
287 editor.putInt(Key.eq_level_range.toString() + 0, mEQBandLevelRange[0]); in initEffectsPreferences()
288 editor.putInt(Key.eq_level_range.toString() + 1, mEQBandLevelRange[1]); in initEffectsPreferences()
289 editor.putInt(Key.eq_num_bands.toString(), mEQNumBands); in initEffectsPreferences()
290 editor.putInt(Key.eq_num_presets.toString(), mEQNumPresets); in initEffectsPreferences()
300 editor.putInt(Key.eq_current_preset.toString(), eQPreset); in initEffectsPreferences()
316 editor.putInt(Key.eq_band_level.toString() + band, bandLevel[band]); in initEffectsPreferences()
318 editor.putInt(Key.eq_center_freq.toString() + band, mEQCenterFreq[band]); in initEffectsPreferences()
319 editor.putInt(Key.eq_preset_ci_extreme_band_level.toString() + band, in initEffectsPreferences()
321 editor.putInt(Key.eq_preset_user_band_level_default.toString() + band, in initEffectsPreferences()
325editor.putString(Key.eq_preset_name.toString() + preset, mEQPresetNames[preset]); in initEffectsPreferences()
327 editor.putInt(Key.eq_preset_opensl_es_band_level.toString() + preset + "_" in initEffectsPreferences()
334 editor.putBoolean(Key.eq_enabled.toString(), isEQEnabled); in initEffectsPreferences()
341 editor.putBoolean(Key.pr_enabled.toString(), isEnabledPR); in initEffectsPreferences()
342 editor.putInt(Key.pr_current_preset.toString(), presetPR); in initEffectsPreferences()
344 editor.commit(); in initEffectsPreferences()
530 final SharedPreferences.Editor editor = prefs.edit(); in setParameterBoolean() local
531 editor.putBoolean(key.toString(), enabled); in setParameterBoolean()
532 editor.commit(); in setParameterBoolean()
580 final SharedPreferences.Editor editor = prefs.edit(); in setParameterInt() local
620 editor.putInt(Key.eq_preset_user_band_level.toString() + band, value); in setParameterInt()
663 editor.putInt(Key.eq_band_level.toString() + band, level); in setParameterInt()
717 editor.putInt(Key.eq_preset_user_band_level.toString() + band, value); in setParameterInt()
751 editor.putInt(Key.eq_band_level.toString() + band, bandLevel); in setParameterInt()
777 editor.putInt(strKey, value); in setParameterInt()
778 editor.apply(); in setParameterInt()
983 final SharedPreferences.Editor editor = prefs.edit(); in openSession() local
1005 editor.putBoolean(Key.global_enabled.toString(), isGlobalEnabled); in openSession()
1044 editor.putBoolean(Key.virt_enabled.toString(), isEnabled); in openSession()
1045 editor.putInt(Key.virt_strength.toString(), settings.strength); in openSession()
1055 editor.apply(); in openSession()
1090 editor.putBoolean(Key.bb_enabled.toString(), isEnabled); in openSession()
1091 editor.putInt(Key.bb_strength.toString(), settings.strength); in openSession()
1120 editor.putString(Key.eq_preset_name.toString() + preset, in openSession()
1124 editor.putInt(Key.eq_level_range.toString() + 0, mEQBandLevelRange[0]); in openSession()
1125 editor.putInt(Key.eq_level_range.toString() + 1, mEQBandLevelRange[1]); in openSession()
1126 editor.putInt(Key.eq_num_bands.toString(), mEQNumBands); in openSession()
1127 editor.putInt(Key.eq_num_presets.toString(), mEQNumPresets); in openSession()
1156 editor.putInt(Key.eq_current_preset.toString(), eQPreset); in openSession()
1163 editor.putInt(Key.eq_band_level.toString() + band, bandLevel[band]); in openSession()
1164 editor.putInt(Key.eq_center_freq.toString() + band, mEQCenterFreq[band]); in openSession()
1165 editor.putInt(Key.eq_preset_ci_extreme_band_level.toString() + band, in openSession()
1167 editor.putInt(Key.eq_preset_user_band_level_default.toString() + band, in openSession()
1179 editor.putBoolean(Key.eq_enabled.toString(), isEnabled); in openSession()
1250 editor.commit(); in openSession()