Lines Matching refs:band
221 for (short band = 0; band < mEQNumBands; band++) { in initEffectsPreferences()
222 mEQCenterFreq[band] = equalizerEffect.getCenterFreq(band); in initEffectsPreferences()
230 for (short band = 0; band < mEQNumBands; band++) { in initEffectsPreferences()
231 mEQPresetOpenSLESBandLevel[preset][band] = equalizerEffect in initEffectsPreferences()
232 .getBandLevel(band); in initEffectsPreferences()
283 for (short band = 0; band < mEQNumBands; band++) { in initEffectsPreferences()
287 bandLevel[band] = mEQPresetOpenSLESBandLevel[eQPreset][band]; in initEffectsPreferences()
290 bandLevel[band] = eQPresetCIExtremeBandLevel[band]; in initEffectsPreferences()
293 bandLevel[band] = (short) prefs.getInt( in initEffectsPreferences()
294 Key.eq_preset_user_band_level.toString() + band, in initEffectsPreferences()
295 eQPresetUserBandLevelDefault[band]); 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()
301 eQPresetCIExtremeBandLevel[band]); in initEffectsPreferences()
302 editor.putInt(Key.eq_preset_user_band_level_default.toString() + band, in initEffectsPreferences()
303 eQPresetUserBandLevelDefault[band]); in initEffectsPreferences()
307 for (short band = 0; band < mEQNumBands; band++) { in initEffectsPreferences()
309 + band, mEQPresetOpenSLESBandLevel[preset][band]); in initEffectsPreferences()
396 for (short band = 0; band < len; band++) { in setParameterBoolean()
397 final int level = bandLevels[band]; in setParameterBoolean()
399 audioSession, Key.eq_band_level, level, band); in setParameterBoolean()
593 final short band = (short) arg1; in setParameterInt() local
594 strKey = strKey + band; in setParameterInt()
597 equalizerEffect.setBandLevel(band, (short) value); in setParameterInt()
598 value = equalizerEffect.getBandLevel(band); in setParameterInt()
600 editor.putInt(Key.eq_preset_user_band_level.toString() + band, value); in setParameterInt()
623 for (short band = 0; band < numBands; band++) { in setParameterInt()
628 Key.eq_preset_ci_extreme_band_level.toString() + band, in setParameterInt()
629 eQPresetCIExtremeBandLevelDefault[band]); in setParameterInt()
633 Key.eq_preset_user_band_level.toString() + band, in setParameterInt()
634 eQPresetUserBandLevelDefault[band]); in setParameterInt()
636 equalizerEffect.setBandLevel(band, bandLevel); in setParameterInt()
641 for (short band = 0; band < numBands; band++) { in setParameterInt()
642 final short level = equalizerEffect.getBandLevel(band); in setParameterInt()
643 editor.putInt(Key.eq_band_level.toString() + band, level); in setParameterInt()
656 final short band = (short) arg1; in setParameterInt() local
657 strKey = strKey + band; in setParameterInt()
693 final short band = (short) arg1; in setParameterInt() local
694 strKey = strKey + band; in setParameterInt()
696 editor.putInt(Key.eq_preset_user_band_level.toString() + band, value); in setParameterInt()
712 for (short band = 0; band < numBands; band++) { in setParameterInt()
718 + band, eQPresetOpenSLESBandLevelDefault[preset][band]); in setParameterInt()
722 Key.eq_preset_ci_extreme_band_level.toString() + band, in setParameterInt()
723 eQPresetCIExtremeBandLevelDefault[band]); in setParameterInt()
727 Key.eq_preset_user_band_level.toString() + band, in setParameterInt()
728 eQPresetUserBandLevelDefault[band]); in setParameterInt()
730 editor.putInt(Key.eq_band_level.toString() + band, bandLevel); in setParameterInt()
742 final short band = (short) arg1; in setParameterInt() local
743 strKey = strKey + band; in setParameterInt()
1150 for (short band = 0; band < mEQNumBands; band++) { in openSession()
1154 level = eQPresetCIExtremeBandLevel[band]; in openSession()
1158 Key.eq_preset_user_band_level.toString() + band, in openSession()
1159 eQPresetUserBandLevelDefault[band]); in openSession()
1161 equalizerEffect.setBandLevel(band, level); in openSession()
1167 for (short band = 0; band < mEQNumBands; band++) { in openSession()
1168 mEQCenterFreq[band] = equalizerEffect.getCenterFreq(band); in openSession()
1169 bandLevel[band] = equalizerEffect.getBandLevel(band); 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()
1174 eQPresetCIExtremeBandLevel[band]); in openSession()
1175 editor.putInt(Key.eq_preset_user_band_level_default.toString() + band, in openSession()
1176 eQPresetUserBandLevelDefault[band]); in openSession()
1198 for (short band = 0; band < eQNumBands; band++) { in openSession()
1199 str = str + bandLevel[band] + "; "; in openSession()
1203 for (short band = 0; band < eQNumBands; band++) { in openSession()
1204 str = str + eQCenterFreq[band] + "; "; in openSession()