/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
ListenerParam.java | 39 Volume;
|
AudioParam.java | 4 Volume,
|
Listener.java | 43 private float volume = 1; field in class:Listener 56 volume = source.volume; 64 return volume; 67 public void setVolume(float volume) { 68 this.volume = volume; 70 renderer.updateListenerParam(this, ListenerParam.Volume);
|
AudioNode.java | 67 protected float volume = 1; field in class:AudioNode 406 * @return The volume of this audio node. 411 return volume; 415 * Set the volume of this audio node. 417 * The volume is specified as gain. 1.0 is the default. 419 * @param volume The volume to set. 420 * @throws IllegalArgumentException If volume is negative 422 public void setVolume(float volume) { 423 if (volume < 0f) [all...] |
/system/vold/ |
Volume.cpp | 43 #include "Volume.h" 57 const char *Volume::SECDIR = "/mnt/secure"; 62 const char *Volume::SEC_STGDIR = "/mnt/secure/staging"; 69 const char *Volume::SEC_STG_SECIMGDIR = "/mnt/secure/staging/.android_secure"; 74 const char *Volume::SEC_ASECDIR_EXT = "/mnt/secure/asec"; 79 const char *Volume::SEC_ASECDIR_INT = "/data/app-asec"; 83 const char *Volume::ASECDIR = "/mnt/asec"; 88 const char *Volume::LOOPDIR = "/mnt/obb"; 91 if (state == Volume::State_Init) 93 else if (state == Volume::State_NoMedia [all...] |
Volume.h | 25 class Volume { 65 Volume(VolumeManager *vm, const char *label, const char *mount_point); 66 virtual ~Volume(); 105 typedef android::List<Volume *> VolumeCollection;
|
DirectVolume.cpp | 38 Volume(vm, label, mount_point) { 49 setState(Volume::State_NoMedia); 82 setState(Volume::State_Shared); 86 setState(Volume::State_Idle); 164 setState(Volume::State_Idle); 170 setState(Volume::State_Pending); 173 snprintf(msg, sizeof(msg), "Volume %s %s disk inserted (%d:%d)", 221 if (getState() != Volume::State_Formatting) { 222 setState(Volume::State_Idle); 243 SLOGI("Volume %s disk has changed", getLabel()) [all...] |
VolumeManager.h | 26 #include "Volume.h" 78 int addVolume(Volume *v); 120 Volume* getVolumeForFile(const char *fileName); 129 int cleanupAsec(Volume *v, bool force); 138 Volume *lookupVolume(const char *label);
|
VolumeManager.cpp | 127 int VolumeManager::addVolume(Volume *v) { 135 /* Lookup a volume to handle this device */ 141 SLOGD("Device '%s' event handled by volume %s\n", devpath, (*it)->getLabel()); 171 Volume *v = lookupVolume(label); 194 snprintf(mountPath, mountPathLen, "%s/%s", Volume::LOOPDIR, idHash); 218 snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id); 282 const char *asecDir = isExternal ? Volume::SEC_ASECDIR_EXT : Volume::SEC_ASECDIR_INT; 400 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); 477 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id) [all...] |
Android.mk | 9 Volume.cpp \
|
DirectVolume.h | 22 #include "Volume.h" 28 class DirectVolume : public Volume {
|
CommandListener.cpp | 112 VoldCommand("volume") { 131 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume debug <off/on>", false); 137 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume mount <path>", false); 145 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume unmount <path> [force|force_and_revert]", false); 160 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume format <path>", false); 167 "Usage: volume share <path> <method>", false); 174 "Usage: volume unshare <path> <method>", false); 182 "Usage: volume shared <path> <method>", false); 195 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown volume cmd", false); 199 cli->sendMsg(ResponseCode::CommandOkay, "volume operation succeeded", false) [all...] |
/bootable/recovery/ |
roots.h | 26 // Load and parse volume data from /etc/recovery.fstab. 29 // Return the Volume* record for this path (or NULL). 30 Volume* volume_for_path(const char* path); 32 // Make sure that the volume 'path' is on is mounted. Returns 0 on 33 // success (volume is mounted). 36 // Make sure that the volume 'path' is on is mounted. Returns 0 on 37 // success (volume is unmounted); 40 // Reformat the given volume (must be the mount point only, eg 41 // "/cache"), no paths permitted. Attempts to unmount the volume if 43 int format_volume(const char* volume); [all...] |
roots.cpp | 32 static Volume* device_volumes = NULL; 36 static int parse_options(char* options, Volume* volume) { 42 volume->length = strtoll(option+7, NULL, 10); 53 device_volumes = (Volume*)malloc(alloc * sizeof(Volume)); 96 device_volumes = (Volume*)realloc(device_volumes, alloc*sizeof(Volume)); 121 Volume* v = &device_volumes[i]; 128 Volume* volume_for_path(const char* path) [all...] |
bootloader.cpp | 28 static int get_bootloader_message_mtd(struct bootloader_message *out, const Volume* v); 29 static int set_bootloader_message_mtd(const struct bootloader_message *in, const Volume* v); 30 static int get_bootloader_message_block(struct bootloader_message *out, const Volume* v); 31 static int set_bootloader_message_block(const struct bootloader_message *in, const Volume* v); 34 Volume* v = volume_for_path("/misc"); 36 LOGE("Cannot load volume /misc!\n"); 49 Volume* v = volume_for_path("/misc"); 51 LOGE("Cannot load volume /misc!\n"); 71 const Volume* v) { 97 const Volume* v) [all...] |
common.h | 59 } Volume;
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
AGC.h | 45 LVM_INT32 Volume; /* The current volume setting */ 46 LVM_INT32 Target; /* The target volume setting */ 51 LVM_INT16 VolumeShift; /* Volume shift scaling */ 52 LVM_INT16 VolumeTC; /* Volume update time constant */
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
LVDBE_Control.c | 189 /* Converts the input volume demand from dBs to linear. */ 196 /* 1. The volume should have the following settings: */ 198 /* DBE Vol Control Volume setting */ 213 LVM_INT16 Volume = 0; /* Required volume in dBs */ 216 * Apply the volume if enabled 225 Volume = VOLUME_MAX; 229 Volume = pParams->VolumedB; 237 dBOffset = (LVM_UINT16)(6 + Volume % 6); /* Get the dBs 0-5 */ 238 dBShifts = (LVM_UINT16)(Volume / -6); /* Get the 6dB shifts * [all...] |
LVDBE_Init.c | 237 * Initialise the volume 239 LVDBE_SetVolume(pInstance, /* Set the Volume */ 242 pInstance->pData->AGCInstance.Volume = pInstance->pData->AGCInstance.Target;
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
AGC_MIX_VOL_2St1Mon_D32_WRA.c | 50 /* MonoSrc -->| AGC |---->| + |----->| Volume |------------------------------+---> */ 91 LVM_INT16 Vol_Mult; /* Short volume */ 103 LVM_INT32 Vol_Current = pInstance->Volume; /* Actual volume setting */ 104 LVM_INT32 Vol_Target = pInstance->Target; /* Target volume setting */ 105 LVM_INT16 Vol_Shift = pInstance->VolumeShift; /* Volume shift scaling */ 119 Vol_Mult = (LVM_INT16)(Vol_Current >> 16); /* Get the short volume gain */ 141 * Apply the volume and write to the output stream 191 pInstance->Volume = Vol_Current; /* Actual volume setting * [all...] |
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
LVM_Control.c | 166 * Volume Control parameters 331 /* Converts the input volume demand from dBs to linear. */ 344 LVM_INT16 Volume = 0; /* Required volume in dBs */ 351 Volume = 0; 355 Volume = pParams->VC_EffectLevel; 358 /* Compensate this volume in PSA plot */ 359 if(Volume > -60) /* Limit volume loss to PSA Limits*/ 360 pInstance->PSA_GainOffset=(LVM_INT16)(-Volume);/* Loss is compensated by Gain* [all...] |
/external/jmonkeyengine/engine/src/android/com/jme3/audio/android/ |
AndroidAudioRenderer.java | 181 case Volume:
215 case Volume:
225 float volume;
local 243 volume = src.getRefDistance() / distance;
247 if (FastMath.abs(audioData.getCurrentVolume() - volume) > FastMath.FLT_EPSILON) {
248 // Left / Right channel get the same volume by now, only
250 mp.setVolume(volume, volume);
252 audioData.setCurrentVolume(volume);
|
/external/chromium/chrome/browser/resources/file_manager/js/ |
mock_chrome.js | 139 VOLUME_LABEL: 'Volume Label',
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/audio/lwjgl/ |
LwjglAudioRenderer.java | 310 // on its own right as the volume was set). In this case,
440 case Volume:
540 case Volume:
[all...] |