• Home
  • Raw
  • Download

Lines Matching refs:prefs

159         final SharedPreferences prefs = context.getSharedPreferences(packageName,  in initEffectsPreferences()  local
161 final SharedPreferences.Editor editor = prefs.edit(); in initEffectsPreferences()
167 final boolean isGlobalEnabled = prefs.getBoolean(Key.global_enabled.toString(), in initEffectsPreferences()
173 final boolean isVIEnabled = prefs.getBoolean(Key.virt_enabled.toString(), in initEffectsPreferences()
176 final int vIStrength = prefs.getInt(Key.virt_strength.toString(), in initEffectsPreferences()
199 final boolean isBBEnabled = prefs.getBoolean(Key.bb_enabled.toString(), in initEffectsPreferences()
201 final int bBStrength = prefs.getInt(Key.bb_strength.toString(), in initEffectsPreferences()
259 mEQPresetNames[preset] = prefs.getString( in initEffectsPreferences()
279 final short eQPreset = (short) prefs.getInt(Key.eq_current_preset.toString(), in initEffectsPreferences()
293 bandLevel[band] = (short) prefs.getInt( in initEffectsPreferences()
313 final boolean isEQEnabled = prefs.getBoolean(Key.eq_enabled.toString(), in initEffectsPreferences()
318 final boolean isEnabledPR = prefs.getBoolean(Key.pr_enabled.toString(), in initEffectsPreferences()
320 final short presetPR = (short) prefs.getInt(Key.pr_current_preset.toString(), in initEffectsPreferences()
359 final SharedPreferences prefs = context.getSharedPreferences(packageName, in setParameterBoolean() local
372 virtualizerEffect.setEnabled(prefs.getBoolean( in setParameterBoolean()
375 final int vIStrength = prefs.getInt(Key.virt_strength.toString(), in setParameterBoolean()
382 bassBoostEffect.setEnabled(prefs.getBoolean(Key.bb_enabled.toString(), in setParameterBoolean()
384 final int bBStrength = prefs.getInt(Key.bb_strength.toString(), in setParameterBoolean()
391 equalizerEffect.setEnabled(prefs.getBoolean(Key.eq_enabled.toString(), in setParameterBoolean()
450 final boolean isGlobalEnabled = prefs.getBoolean(Key.global_enabled.toString(), in setParameterBoolean()
508 final SharedPreferences.Editor editor = prefs.edit(); in setParameterBoolean()
529 final SharedPreferences prefs = context.getSharedPreferences(packageName, in getParameterBoolean() local
534 value = prefs.getBoolean(key.toString(), value); in getParameterBoolean()
560 final SharedPreferences prefs = context.getSharedPreferences(packageName, in setParameterInt() local
562 final SharedPreferences.Editor editor = prefs.edit(); in setParameterInt()
608 final int numBands = prefs.getInt(Key.eq_num_bands.toString(), in setParameterInt()
610 final int numPresets = prefs.getInt(Key.eq_num_presets.toString(), in setParameterInt()
627 bandLevel = (short) prefs.getInt( in setParameterInt()
632 bandLevel = (short) prefs.getInt( in setParameterInt()
701 final int numBands = prefs.getInt(Key.eq_num_bands.toString(), in setParameterInt()
703 final int numPresets = prefs.getInt(Key.eq_num_presets.toString(), in setParameterInt()
716 bandLevel = (short) prefs.getInt( in setParameterInt()
721 bandLevel = (short) prefs.getInt( in setParameterInt()
726 bandLevel = (short) prefs.getInt( in setParameterInt()
795 final SharedPreferences prefs = context.getSharedPreferences(packageName, in getParameterInt() local
797 value = prefs.getInt(key, value); in getParameterInt()
868 final SharedPreferences prefs = context.getSharedPreferences(packageName, in getParameterIntArray() local
888 final int numBands = prefs.getInt(Key.eq_num_bands.toString(), 0); in getParameterIntArray()
898 intArray[i] = prefs.getInt(key.toString() + i, 0); in getParameterIntArray()
922 final SharedPreferences prefs = context.getSharedPreferences(packageName, in getParameterString() local
926 value = prefs.getString(key, value); in getParameterString()
980 final SharedPreferences prefs = context.getSharedPreferences(packageName, in openSession() local
982 final SharedPreferences.Editor editor = prefs.edit(); in openSession()
984 final boolean isGlobalEnabled = prefs.getBoolean(Key.global_enabled.toString(), in openSession()
1029 final boolean isEnabled = prefs.getBoolean(Key.virt_enabled.toString(), in openSession()
1033 final int strength = prefs.getInt(Key.virt_strength.toString(), defaultstrength); in openSession()
1075 final boolean isEnabled = prefs.getBoolean(Key.bb_enabled.toString(), in openSession()
1077 final int strength = prefs.getInt(Key.bb_strength.toString(), in openSession()
1143 eQPreset = (short) prefs in openSession()
1157 level = (short) prefs.getInt( in openSession()
1185 final boolean isEnabled = prefs.getBoolean(Key.eq_enabled.toString(), in openSession()