Lines Matching refs:preset
227 for (short preset = 0; preset < mEQNumPresets; preset++) { in initEffectsPreferences()
228 mEQPresetNames[preset] = equalizerEffect.getPresetName(preset); in initEffectsPreferences()
229 equalizerEffect.usePreset(preset); in initEffectsPreferences()
231 mEQPresetOpenSLESBandLevel[preset][band] = equalizerEffect in initEffectsPreferences()
257 for (short preset = 0; preset < mEQNumPresets; preset++) { in initEffectsPreferences()
259 mEQPresetNames[preset] = prefs.getString( in initEffectsPreferences()
260 Key.eq_preset_name.toString() + preset, in initEffectsPreferences()
261 EQUALIZER_PRESET_NAME_DEFAULT + preset); in initEffectsPreferences()
262 mEQPresetOpenSLESBandLevel[preset] = Arrays.copyOf( in initEffectsPreferences()
305 for (short preset = 0; preset < mEQNumPresets; preset++) { in initEffectsPreferences()
306 … editor.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()
309 + band, mEQPresetOpenSLESBandLevel[preset][band]); in initEffectsPreferences()
607 final short preset = (short) value; in setParameterInt() local
613 if (preset < numPresets) { in setParameterInt()
615 equalizerEffect.usePreset(preset); in setParameterInt()
625 if (preset == numPresets) { in setParameterInt()
700 final short preset = (short) value; in setParameterInt() local
714 if (preset < numPresets) { in setParameterInt()
717 Key.eq_preset_opensl_es_band_level.toString() + preset + "_" in setParameterInt()
718 + band, eQPresetOpenSLESBandLevelDefault[preset][band]); in setParameterInt()
719 } else if (preset == numPresets) { in setParameterInt()
1126 for (short preset = 0; preset < mEQNumPresets; preset++) { in openSession()
1127 mEQPresetNames[preset] = equalizerEffect.getPresetName(preset); in openSession()
1128 editor.putString(Key.eq_preset_name.toString() + preset, in openSession()
1129 mEQPresetNames[preset]); in openSession()
1208 for (short preset = 0; preset < eQNumPresets; preset++) { in openSession()
1209 str = str + eQPresetNames[preset] + "; "; in openSession()