/development/ndk/platforms/android-3/include/linux/ |
msm_audio.h | 70 uint32_t volume; member in struct:msm_snd_volume_config
|
/external/chromium/chrome/browser/extensions/ |
extension_tts_api.h | 24 // will be empty strings, and rate, pitch, and volume will be -1.0. 36 double volume) = 0; 88 double volume() { return volume_; } function in class:Utterance
|
/external/chromium/chrome/browser/speech/ |
speech_input_bubble_gtk.cc | 232 SkBitmap* volume = ResourceBundle::GetSharedInstance().GetBitmapNamed( local 234 int desired_width = std::max(volume->width(), cancel_size.width) + 236 int desired_height = volume->height() + label_size.height +
|
/external/chromium_org/chrome/browser/speech/extension_api/ |
tts_extension_api.cc | 204 double volume = 1.0; local 207 options->GetDouble(constants::kVolumeKey, &volume)); 208 if (volume < 0.0 || volume > 1.0) { 265 continuous_params.volume = volume;
|
/external/chromium_org/chrome/browser/ui/gtk/ |
speech_recognition_bubble_gtk.cc | 255 gfx::ImageSkia* volume = ResourceBundle::GetSharedInstance(). local 257 int desired_width = std::max(volume->width(), cancel_size.width) + 259 int desired_height = volume->height() + label_size.height +
|
/external/chromium_org/content/browser/renderer_host/media/ |
web_contents_audio_input_stream_unittest.cc | 166 double volume)); 249 // Test plumbing of volume controls and automatic gain controls. Calls to 252 double volume = wcais_->GetVolume(); local 255 volume *= 2.0; 256 if (volume < max_volume) { 257 volume = max_volume; 259 EXPECT_CALL(*mock_vais_, SetVolume(volume)); 260 wcais_->SetVolume(volume);
|
/external/chromium_org/media/audio/win/ |
audio_low_latency_input_win.cc | 200 // The effective volume value is always in the range 0.0 to 1.0, hence 205 void WASAPIAudioInputStream::SetVolume(double volume) { 206 DVLOG(1) << "SetVolume(volume=" << volume << ")"; 208 DCHECK_GE(volume, 0.0); 209 DCHECK_LE(volume, 1.0); 215 // Set a new master volume level. Valid volume levels are in the range 216 // 0.0 to 1.0. Ignore volume-change events. 217 HRESULT hr = simple_audio_volume_->SetMasterVolume(static_cast<float>(volume), 335 double volume = GetVolume(); local [all...] |
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/media/base/ |
audio_bus.cc | 327 void AudioBus::Scale(float volume) { 328 if (volume > 0 && volume != 1) { 330 vector_math::FMUL(channel(i), volume, frames(), channel(i)); local 331 } else if (volume == 0) {
|
audio_converter_unittest.cc | 83 // Sets the volume on all input callbacks to |volume|. 84 void SetVolume(float volume) { 86 fake_callbacks_[i]->set_volume(volume); 145 // Set a different volume for each input and verify the results. 148 float volume = static_cast<float>(i) / fake_callbacks_.size(); local 149 total_scale += volume; 150 fake_callbacks_[i]->set_volume(volume);
|
audio_renderer_mixer_unittest.cc | 197 // Verify volume adjusted output when mixer inputs are in post-Play() state. 206 // Set a different volume for each mixer input and verify the results. 209 float volume = static_cast<float>(i) / mixer_inputs_.size(); local 210 total_scale += volume; 211 EXPECT_TRUE(mixer_inputs_[i]->SetVolume(volume)); 322 // Test volume adjusted mixer output with one input in the post-Play() state. 327 // Test volume adjusted mixer output with many inputs in the post-Play() state.
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtcvoe.h | 114 webrtc::VoEVolumeControl* volume) 127 volume_(volume) { 142 webrtc::VoEVolumeControl* volume() const { return volume_.get(); } function in class:cricket::VoEWrapper
|
/external/eigen/Eigen/src/Geometry/ |
AlignedBox.h | 122 /** \returns the volume of the bounding box */ 123 inline Scalar volume() const function in class:Eigen::AlignedBox
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zHandlerOut.cpp | 196 const CVolume *volume = 0;
local 199 volume = &_volumes.Front();
200 db = &volume->Database;
399 volume ? volume->Stream: 0,
400 volume ? db : 0,
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
MovieHeaderBox.java | 41 private float volume = 1.0f; field in class:MovieHeaderBox 80 return volume; 117 volume = IsoTypeReader.readFixedPoint88(content); 150 result.append("volume=").append(getVolume()); 177 IsoTypeWriter.writeFixedPont88(byteBuffer, volume); 219 public void setVolume(float volume) { 220 this.volume = volume;
|
TrackHeaderBox.java | 45 private float volume; field in class:TrackHeaderBox 81 return volume; 127 volume = IsoTypeReader.readFixedPoint88(content); 156 IsoTypeWriter.writeFixedPont88(byteBuffer, volume); 180 result.append("volume=").append(getVolume()); 217 public void setVolume(float volume) { 218 this.volume = volume;
|
/external/replicaisland/src/com/replica/replicaisland/ |
GameObjectCollisionSystem.java | 29 * overlaps. A bounding volume that encompasses all attack and vulnerability volumes is used for 76 * @param boundingVolume A volume that describes the game object in space. It should encompass 195 * @return The hit type of the first attacking volume that intersects a vulnerability volume, 247 CollisionVolume volume = record.attackVolumes.get(y); local 249 position.x + volume.getMinXPosition(sFlip), position.y + volume.getMinYPosition(sFlip), 250 volume.getMaxX() - volume.getMinX(), 251 volume.getMaxY() - volume.getMinY(), 260 CollisionVolume volume = record.vulnerabilityVolumes.get(y); local [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_tonecontrol.c | 57 /* convert 0-100 volume to 0-127 velocity using fixed point */ 272 /* set channel volume to max */ 288 VMStartNote(pEASData->pVoiceMgr, pData->pSynth, TC_CHANNEL, (EAS_U8) pData->note, pData->volume); 652 pData->volume = 127; 736 VMStartNote(pEASData->pVoiceMgr, pData->pSynth, TC_CHANNEL, (EAS_U8) note, pData->volume); 767 VMStartNote(pEASData->pVoiceMgr, pData->pSynth, TC_CHANNEL, (EAS_U8) pData->note, pData->volume); 842 * Get the volume field and process it 847 EAS_I8 volume; local 849 /* get volume */ 850 if (TC_GetNextChar(pEASData->hwInstData, pData, &volume) != EAS_SUCCESS [all...] |
/external/svox/pico/tts/ |
svox_ssml_parser.cpp | 322 else if (strcmp(element, "prosody") == 0) /* only pitch, rate and volume attributes are supported */ 412 else if (strcmp(attributes[i], "volume") == 0) 425 char* volume = new char[18 + strlen(svoxvol)]; local 426 if (!volume) 431 sprintf(volume, "<volume level='%s'>", svoxvol); 432 if (strlen(m_data) + strlen(volume) + 1 > (size_t)m_datasize) 440 strcat(m_data, volume); 446 strcat(m_appendix, "</volume>"); 448 delete [] volume; [all...] |
/frameworks/base/core/java/android/os/storage/ |
StorageVolume.java | 30 * Description of a storage volume and its capabilities, including the 49 /** When set, indicates exclusive ownership of this volume */ 98 * Returns the mount path for the volume. 111 * Returns a user visible description of the volume. 113 * @return the volume description 128 * Returns true if the volume is removable. 137 * Returns true if the volume is emulated. 146 * Returns the MTP storage ID for the volume. 181 * Returns true if this volume can be shared via USB mass storage. 190 * Returns maximum file size for the volume, or zero if it is unbounded 244 StorageVolume volume = (StorageVolume)obj; local [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
RemoteControlClientCompat.java | 61 * Sets a callback to receive volume change requests from the remote control client. 63 * @param callback The volume callback to use or null if none. 73 public int volume; field in class:RemoteControlClientCompat.PlaybackInfo 81 * Called when volume updates are requested by the remote control client. 85 * Called when the volume should be increased or decreased. 87 * @param direction An integer indicating whether the volume is to be increased 90 * in the same direction, e.g. +3 corresponds to three "volume up" changes. 95 * Called when the volume for the route should be set to the given value. 97 * @param volume An integer indicating the new volume value that should be used [all...] |
/frameworks/wilhelm/tests/automated/ |
BufferQueue_test.cpp | 42 // volume of sine wave in range 0.0 to 1.0 463 #if 1 // temporary workaround if hardware volume control is not working 464 const char *VOLUME = getenv("BufferQueue_test_VOLUME"); 465 if (NULL != VOLUME) { 466 float volume = atof(VOLUME); local 467 if (volume >= 0.0f && volume <= 1.0f) { 468 gVolume = volume;
|
/hardware/qcom/audio/legacy/alsa_sound/ |
ALSAMixer.cpp | 93 long volume; member in struct:android::mixer_info_t 189 // Find PCM playback volume control element. 198 info->volume = info->max; 199 setVol[i] (elem, info->volume); 226 // Find PCM playback volume control element. 235 info->volume = info->max; 236 setVol[i] (elem, info->volume); 267 status_t ALSAMixer::setMasterVolume(float volume) 275 // Make sure volume is between bounds. 276 long vol = minVol + volume * (maxVol - minVol) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
RingerVolumePreference.java | 52 * Special preference type that allows configuration of both the ring volume and 53 * notification volume. 136 final int volume = mAudioManager.getStreamVolume(streamType); local 137 mSeekBars[i].setProgress(volume); 156 // The always visible seekbar is for ring volume 349 mVolumeStore[i].volume = source.readInt(); 358 dest.writeInt(mVolumeStore[i].volume);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MtpService.java | 63 for (StorageVolume volume : mVolumeMap.values()) { 64 addStorageLocked(volume); 103 StorageVolume volume = mVolumeMap.remove(path); 104 if (volume != null) { 105 removeStorageLocked(volume); 233 StorageVolume volume = mVolumes[i]; local 234 if (volume.getPath().equals(path)) { 235 mVolumeMap.put(path, volume); 238 if (volume.isPrimary() || !mPtpMode) { 239 addStorageLocked(volume); [all...] |