Searched refs:byteArrayToShort (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/media/java/android/media/audiofx/ |
D | EnvironmentalReverb.java | 165 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 …]
|
D | AudioEffect.java | 739 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
|
D | Equalizer.java | 416 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()
|
D | BassBoost.java | 186 v = byteArrayToShort(value, 0); in onParameterChange()
|
D | PresetReverb.java | 202 v = byteArrayToShort(value, 0); in onParameterChange()
|
D | Virtualizer.java | 527 v = byteArrayToShort(value, 0); in onParameterChange()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | VirtualizerTest.java | 201 short v = byteArrayToShort(value, 0); in onParameterChange() 212 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() method in VirtualizerTest.EffectListner
|
D | BassBoostTest.java | 204 short v = byteArrayToShort(value, 0); in onParameterChange() 215 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() method in BassBoostTest.EffectListner
|
D | PresetReverbTest.java | 241 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() method in PresetReverbTest.EffectListner
|
D | EqualizerTest.java | 347 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() method in EqualizerTest.EffectListner
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioEffectTest.java | 1512 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
|