Home
last modified time | relevance | path

Searched refs:byteArrayToShort (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java165 return byteArrayToShort(param); in getRoomLevel()
194 return byteArrayToShort(param); in getRoomHFLevel()
250 return byteArrayToShort(param); in getDecayHFRatio()
279 return byteArrayToShort(param); in getReflectionsLevel()
336 return byteArrayToShort(param); in getReverbLevel()
393 return byteArrayToShort(param); in getDiffusion()
426 return byteArrayToShort(param); in getDensity()
471 v = (int)byteArrayToShort(value, 0); in onParameterChange()
624 settings.roomLevel = byteArrayToShort(param, 0); in getProperties()
625 settings.roomHFLevel = byteArrayToShort(param, 2); in getProperties()
[all …]
DAudioEffect.java739 value[0] = byteArrayToShort(v); in getParameter()
741 value[1] = byteArrayToShort(v, 2); in getParameter()
807 value[0] = byteArrayToShort(v); in getParameter()
809 value[1] = byteArrayToShort(v, 2); in getParameter()
1319 public static short byteArrayToShort(byte[] valueBuf) { in byteArrayToShort() method in AudioEffect
1320 return byteArrayToShort(valueBuf, 0); in byteArrayToShort()
1326 public static short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() method in AudioEffect
DEqualizer.java416 v = (int)byteArrayToShort(value, 0);; in onParameterChange()
527 settings.curPreset = byteArrayToShort(param, 0); in getProperties()
528 settings.numBands = byteArrayToShort(param, 2); in getProperties()
531 settings.bandLevels[i] = byteArrayToShort(param, 4 + 2*i); in getProperties()
DBassBoost.java186 v = byteArrayToShort(value, 0); in onParameterChange()
DPresetReverb.java202 v = byteArrayToShort(value, 0); in onParameterChange()
DVirtualizer.java527 v = byteArrayToShort(value, 0); in onParameterChange()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVirtualizerTest.java201 short v = byteArrayToShort(value, 0); in onParameterChange()
212 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() method in VirtualizerTest.EffectListner
DBassBoostTest.java204 short v = byteArrayToShort(value, 0); in onParameterChange()
215 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() method in BassBoostTest.EffectListner
DPresetReverbTest.java241 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() method in PresetReverbTest.EffectListner
DEqualizerTest.java347 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() method in EqualizerTest.EffectListner
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java1512 protected short byteArrayToShort(byte[] valueBuf) { in byteArrayToShort() method in MediaAudioEffectTest
1513 return byteArrayToShort(valueBuf, 0); in byteArrayToShort()
1516 protected short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() method in MediaAudioEffectTest