/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_org/chrome/browser/resources/file_manager/foreground/js/ |
volume_manager_wrapper.js | 216 * @param {string} mountPath The path to mount location of the volume. 217 * @return {VolumeInfo} The VolumeInfo instance for the volume mounted at 218 * mountPath, or null if no volume is found 226 * Obtains a volume information from a file entry URL. 227 * TODO(hirono): Check a file system to find a volume. 230 * @return {VolumeInfo} Volume info. 238 * Obtains a volume infomration of the current profile. 240 * @param {util.VolumeType} volumeType Volume type. 241 * @return {VolumeInfo} Found volume info. 279 * Requests unmount the volume at mountPath [all...] |
file_manager_commands.js | 206 * Creates the volume switch command with index. 207 * @param {number} index Volume index from 1 to 9. 208 * @return {Command} Volume switch command. 419 // Don't check if the volume is read-only. Unformatted volume is 523 CommandHandler.COMMANDS_['volume-help'] = { 593 * Activates the n-th volume. 596 CommandHandler.COMMANDS_['volume-switch-1'] = 598 CommandHandler.COMMANDS_['volume-switch-2'] = 600 CommandHandler.COMMANDS_['volume-switch-3'] [all...] |
drive_banners.js | 135 * Invoked when the drive connection status is change in the volume manager. 219 var box = this.document_.querySelector('#volume-space-warning'); 455 * @param {VolumeInfo} volumeInfo Volume info to be checked. 491 * @param {VolumeInfo} volume Type of volume, which we are interested in. 495 volume) { 498 switch (volume.volumeType) { 516 volume.getDisplayRootDirectoryURL(), 520 if (volume !== currentVolume) { 531 if (volume.volumeType === util.VolumeType.DOWNLOADS [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/background/js/ |
volume_manager.js | 8 * Represents each volume, such as "drive", "download directory", each "USB 11 * @param {util.VolumeType} volumeType The type of the volume. 12 * @param {string} mountPath Where the volume is mounted. 13 * @param {string} volumeId ID of the volume. 14 * @param {DirectoryEntry} root The root directory entry of this volume. 19 * @param {boolean} isReadOnly True if the volume is read only. 39 // Note: This represents if the mounting of the volume is successfully done 61 * Obtains volume label. 62 * @return {string} Label for the volume. 72 * Utilities for volume manager implementation [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/common/js/ |
path_util.js | 19 // Root of removal volume. 70 * TODO(mtomasz): Deprecated. Use the volume manager instead. 407 * @param {!VolumeInfo} volumeInfo Volume containing an entry pointed by path. 415 // If the volume is drive, root path can be either mountPath + '/root' or 428 // Otherwise, root path is same with a mount path of the volume. 435 'Invalid volume type: ' + volumeInfo.volumeType); 446 * @param {!VolumeInfo} volumeInfo Volume information. 453 * Volume information.
|
/external/chromium/chrome/browser/resources/file_manager/js/ |
mock_chrome.js | 139 VOLUME_LABEL: 'Volume Label',
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/media/ |
player_testapi.js | 90 * Respond with a number, current volume [0..100]. 93 playerTestAPI.respond_(playerTestAPI.getMedia_().volume * 100); 97 * Change volume. 98 * @param {number} volume Volume [0..100]. 100 setVolume: function(volume) { 102 playerTestAPI.getControls_().onVolumeChange_(volume / 100)); 106 * Respond with a boolean, true if the volume is muted. 109 playerTestAPI.respond_(playerTestAPI.getMedia_().volume == 0); 113 * Mute the volume. No-op if already muted [all...] |
media_controls.js | 263 * Volume controls 270 var volumeControls = this.createControl('volume-controls', opt_parent); 277 this.createControl('volume media-control', volumeControls), 289 if (this.media_.volume == 0) { 292 this.savedVolume_ = this.media_.volume; 299 * @param {number} value Volume [0..1]. 311 * @param {number} value Volume [0..1]. 315 this.media_.volume = value; 324 if (on && (this.media_.volume != 0)) { 325 this.savedVolume_ = this.media_.volume; [all...] |
/system/vold/ |
CommandListener.cpp | 118 VoldCommand("volume") { 137 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume debug <off/on>", false); 143 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume mount <path>", false); 151 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume unmount <path> [force|force_and_revert]", false); 167 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume format <path> [wipe]", false); 178 "Usage: volume share <path> <method>", false); 185 "Usage: volume unshare <path> <method>", false); 193 "Usage: volume shared <path> <method>", false); 207 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume mkdirs <path>", false); 212 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown volume cmd", false) [all...] |
/external/chromium_org/content/renderer/media/ |
webrtc_audio_device_impl.cc | 320 int32_t WebRtcAudioDeviceImpl::SetMicrophoneVolume(uint32_t volume) { 321 DVLOG(1) << "WebRtcAudioDeviceImpl::SetMicrophoneVolume(" << volume << ")"; 330 capturer->SetVolume(volume); 335 int32_t WebRtcAudioDeviceImpl::MicrophoneVolume(uint32_t* volume) const { 344 *volume = static_cast<uint32_t>(capturer->Volume());
|
webrtc_audio_capturer.cc | 49 double volume, 55 volume, 395 void WebRtcAudioCapturer::SetVolume(int volume) { 397 DCHECK_LE(volume, MaxVolume()); 398 double normalized_volume = static_cast<double>(volume) / MaxVolume(); 404 int WebRtcAudioCapturer::Volume() const { 415 double volume, 421 DCHECK_LE(volume, 1.0); 423 // We have a special situation on Linux where the microphone volume can be 424 // "higher than maximum". The input volume slider in the sound preferenc [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
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...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ui/ |
breadcrumbs_controller.js | 11 * @param {VolumeManagerWrapper} volumeManager Volume manager.
|
preview_panel.js | 13 * @param {VolumeManagerWrapper} volumeManager Volume manager.
|
/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...] |
/external/chromium_org/media/audio/win/ |
audio_low_latency_output_win_unittest.cc | 323 TEST(WASAPIAudioOutputStreamTest, Volume) { 329 // Initial volume should be full volume (1.0). 330 double volume = 0.0; local 331 aos->GetVolume(&volume); 332 EXPECT_EQ(1.0, volume); 334 // Verify some valid volume settings. 336 aos->GetVolume(&volume); 337 EXPECT_EQ(0.0, volume); 340 aos->GetVolume(&volume); [all...] |
/external/chromium_org/third_party/usb_ids/ |
usb.ids | [all...] |
/frameworks/base/docs/html/training/ |
training_toc.cs | 300 <li><a href="<?cs var:toroot ?>training/managing-audio/volume-playback.html"> 301 Controlling Your App's Volume and Playback [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
gbemu.js | 476 Stereo audio with a sample rate of 70 khz, a minimum buffer of 15000 samples total, a maximum buffer of 25000 samples total and a starting volume level of 1. 484 function XAudioServer(channels, sampleRate, minBufferSize, maxBufferSize, underRunCallback, volume) { 491 XAudioJSVolume = (volume >= 0 && volume <= 1) ? volume : 1; 727 this.audioHandleMoz.volume = XAudioJSVolume; [all...] |
/external/bison/ |
configure | [all...] |