Home
last modified time | relevance | path

Searched refs:Volume (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DGains.h36 static const VolumeCurvePoint sDefaultVolumeCurve[Volume::VOLCNT];
38 static const VolumeCurvePoint sDefaultMediaVolumeCurve[Volume::VOLCNT];
40 static const VolumeCurvePoint sExtMediaSystemVolumeCurve[Volume::VOLCNT];
42 static const VolumeCurvePoint sSpeakerMediaVolumeCurve[Volume::VOLCNT];
43 static const VolumeCurvePoint sSpeakerMediaVolumeCurveDrc[Volume::VOLCNT];
45 static const VolumeCurvePoint sSpeakerSonificationVolumeCurve[Volume::VOLCNT];
46 static const VolumeCurvePoint sSpeakerSonificationVolumeCurveDrc[Volume::VOLCNT];
47 static const VolumeCurvePoint sDefaultSystemVolumeCurve[Volume::VOLCNT];
48 static const VolumeCurvePoint sDefaultSystemVolumeCurveDrc[Volume::VOLCNT];
49 static const VolumeCurvePoint sHeadsetSystemVolumeCurve[Volume::VOLCNT];
[all …]
DVolumeCurve.h89 device = Volume::getDeviceForVolume(device); in getVolumeIndex()
109 device = Volume::getDeviceForVolume(device); in hasVolumeIndexForDevice()
DStreamDescriptor.h43 device = Volume::getDeviceForVolume(device); in hasVolumeIndexForDevice()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DGains.cpp36 Gains::sDefaultVolumeCurve[Volume::VOLCNT] = {
42 Gains::sDefaultMediaVolumeCurve[Volume::VOLCNT] = {
47 Gains::sExtMediaSystemVolumeCurve[Volume::VOLCNT] = {
52 Gains::sSpeakerMediaVolumeCurve[Volume::VOLCNT] = {
57 Gains::sSpeakerMediaVolumeCurveDrc[Volume::VOLCNT] = {
62 Gains::sSpeakerSonificationVolumeCurve[Volume::VOLCNT] = {
67 Gains::sSpeakerSonificationVolumeCurveDrc[Volume::VOLCNT] = {
77 Gains::sDefaultSystemVolumeCurve[Volume::VOLCNT] = {
82 Gains::sDefaultSystemVolumeCurveDrc[Volume::VOLCNT] = {
87 Gains::sHeadsetSystemVolumeCurve[Volume::VOLCNT] = {
[all …]
DStreamDescriptor.cpp48 device = Volume::getDeviceForVolume(device); in getVolumeIndex()
DAudioOutputDescriptor.cpp380 float volume = Volume::DbToAmpl(mCurVolume[stream]); in setVolume()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DMandelbulb.java25 import com.example.android.rs.vr.engine.Volume;
53 public static Volume buildRSVolume(RenderScript rs, in buildRSVolume()
57 Volume v = new Volume(); in buildRSVolume()
DDroid.java25 import com.example.android.rs.vr.engine.Volume;
60 public static Volume buildRSVolume(RenderScript rs, in buildRSVolume()
64 Volume v = new Volume(); in buildRSVolume()
DVolumeLoader.java22 import com.example.android.rs.vr.engine.Volume;
58 public Volume getVolume(RenderScript rs, String name) { in getVolume()
75 Volume v = LoaderDicom.buildRSVolume(rs, new File(baseDir, dir), mListener); in getVolume()
85 Volume v = LoaderRaw.buildRSVolume(rs, new File(baseDir, dir), p, mListener); in getVolume()
DLoaderDicom.java25 import com.example.android.rs.vr.engine.Volume;
266 public static Volume buildVolume(String dirName) { in buildVolume()
270 public static Volume buildVolume(File dir) { in buildVolume()
289 Volume v = new Volume(); in buildVolume()
335 public static Volume buildRSVolume(final RenderScript rs, File dir, in buildRSVolume()
355 final Volume v = new Volume(); in buildRSVolume()
495 public static Volume buildRSVolume2(final RenderScript rs, File dir, in buildRSVolume2()
514 Volume v = new Volume(); in buildRSVolume2()
DLoaderRaw.java25 import com.example.android.rs.vr.engine.Volume;
51 public static Volume buildRSVolume(final RenderScript rs, File dir, Properties prop, in buildRSVolume()
54 Volume v = new Volume(); in buildRSVolume()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Control.c213 LVM_INT16 Volume = 0; /* Required volume in dBs */ in LVDBE_SetVolume() local
225 Volume = VOLUME_MAX; in LVDBE_SetVolume()
229 Volume = pParams->VolumedB; in LVDBE_SetVolume()
237 dBOffset = (LVM_UINT16)(6 + Volume % 6); /* Get the dBs 0-5 */ in LVDBE_SetVolume()
238 dBShifts = (LVM_UINT16)(Volume / -6); /* Get the 6dB shifts */ in LVDBE_SetVolume()
DLVDBE_Init.c246 pInstance->pData->AGCInstance.Volume = pInstance->pData->AGCInstance.Target; in LVDBE_Init()
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Control.c344 LVM_INT16 Volume = 0; /* Required volume in dBs */ in LVM_SetVolume() local
351 Volume = 0; in LVM_SetVolume()
355 Volume = pParams->VC_EffectLevel; in LVM_SetVolume()
359 if(Volume > -60) /* Limit volume loss to PSA Limits*/ in LVM_SetVolume()
360 pInstance->PSA_GainOffset=(LVM_INT16)(-Volume);/* Loss is compensated by Gain*/ in LVM_SetVolume()
374 if(Volume > -pInstance->Headroom) in LVM_SetVolume()
375 Volume = (LVM_INT16)-pInstance->Headroom; in LVM_SetVolume()
383 if (Volume != 0) in LVM_SetVolume()
385 pInstance->VC_VolumedB = Volume; in LVM_SetVolume()
395 dBOffset = (LVM_UINT16)((-Volume) % 6); /* Get the dBs 0-5 */ in LVM_SetVolume()
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrActivity.java39 import com.example.android.rs.vr.engine.Volume;
72 class VrSetupTask extends AsyncTask<String, Integer, Volume> {
94 protected Volume doInBackground(String... names) { in doInBackground()
111 protected void onPostExecute(Volume v) { in onPostExecute()
DVrView.java38 import com.example.android.rs.vr.engine.Volume;
304 public void setVolume(RenderScript rs, Volume v) { in setVolume()
458 class VrBinGridTask extends AsyncTask<Volume, String, Long> {
461 protected Long doInBackground(Volume... v) { in doInBackground()
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DAGC_MIX_VOL_2St1Mon_D32_WRA.c103 LVM_INT32 Vol_Current = pInstance->Volume; /* Actual volume setting */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
191 pInstance->Volume = Vol_Current; /* Actual volume setting */ in AGC_MIX_VOL_2St1Mon_D32_WRA()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DCube.java25 public Cube(Volume v, float delta) { in Cube()
29 public Cube(Volume v, float delta, float[] trim) { in Cube()
DRsBrickedBitMask.java36 Volume mVolume;
DVrState.java30 public Volume mVolume;
DVolume.java28 public class Volume { class
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DAGC.h45 LVM_INT32 Volume; /* The current volume setting */ member
/frameworks/av/services/audiopolicy/common/include/
DVolume.h44 class Volume
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/
DAndroid.mk59 PolicySubsystem-Volume.xml \
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2133 audio_devices_t curDevice = Volume::getDeviceForVolume(desc->device()); in setStreamVolumeIndex()
2154 stream, Volume::getDeviceForVolume(curStreamDevice)); in setStreamVolumeIndex()
2188 device = Volume::getDeviceForVolume(device); in getStreamVolumeIndex()
5217 float volumeDB = mVolumeCurves->volIndexToDb(stream, Volume::getDeviceCategory(device), index); in AudioPolicyManager()
5278 } else if ((Volume::getDeviceForVolume(device) != AUDIO_DEVICE_OUT_SPEAKER) || in AudioPolicyManager()

12