/frameworks/base/media/java/android/media/tv/ |
ITvInputSessionWrapper.java | 189 public final void setVolume(float volume) { 190 mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_SET_STREAM_VOLUME, volume));
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouteDescriptor.java | 46 private static final String KEY_VOLUME = "volume"; 140 * Gets the route's current volume, or 0 if unknown. 147 * Gets the route's maximum volume, or 0 if unknown. 154 * Gets the route's volume handling. 202 result.append(", volume=").append(getVolume()); 375 * Sets the route's current volume, or 0 if unknown. 377 public Builder setVolume(int volume) { 378 mBundle.putInt(KEY_VOLUME, volume); 383 * Sets the route's maximum volume, or 0 if unknown. 391 * Sets the route's volume handling [all...] |
RegisteredMediaRouteProvider.java | 354 public void onSetVolume(int volume) { 356 mConnection.setVolume(mControllerId, volume); 358 mPendingSetVolume = volume; 533 public void setVolume(int controllerId, int volume) { 535 data.putInt(CLIENT_DATA_VOLUME, volume);
|
MediaRouter.java | 617 * Adds a remote control client to enable remote control of the volume 657 * Sets the media session to enable remote control of the volume of the 742 * Playback information indicating the playback volume is fixed, i.e. it cannot be 743 * controlled from this object. An example of fixed playback volume is a remote player, 744 * playing over HDMI where the user prefers to control the volume on the HDMI sink, rather 752 * Playback information indicating the playback volume is variable and can be controlled [all...] |
/hardware/libhardware/include/hardware/ |
audio_policy.h | 54 * routing and volume control policies for a given platform. 73 * - process volume control requests: the stream volume is converted from 174 * volume control functions 177 /* initialises stream volume conversion parameters by specifying volume 184 /* sets the new stream volume at a level corresponding to the supplied 190 /* retrieve current volume index for the specified stream */ 195 /* sets the new stream volume at a level corresponding to the supplied 203 /* retrieve current volume index for the specified stream for the specified device * [all...] |
/hardware/libhardware_legacy/audio/ |
AudioHardwareStub.cpp | 89 status_t AudioHardwareStub::setVoiceVolume(float volume) 94 status_t AudioHardwareStub::setMasterVolume(float volume)
|
/hardware/qcom/audio/legacy/alsa_sound/ |
audio_hw_hal.cpp | 446 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) 449 return qadev->hwif->setVoiceVolume(volume); 452 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) 455 return qadev->hwif->setMasterVolume(volume); 458 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) { 461 return qadev->hwif->getMasterVolume(volume); 465 static int adev_set_fm_volume(struct audio_hw_device *dev, float volume) 468 return qadev->hwif->setFmVolume(volume);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/pulse/ |
stream.h | 30 #include <pulse/volume.h> 405 * NULL in both dev and volume and not to set either 409 * flexibility to choose the device, volume and mute status 414 * 0.9.20 it was not defined whether the 'volume' parameter was 415 * interpreted relative to the sink's current volume or treated as 416 * absolute device volume. Since 0.9.20 it is an absolute volume when 417 * the sink is in flat volume mode, and relative otherwise, thus 418 * making sure the volume passed here has always the same semantics as 419 * the volume passed to pa_context_set_sink_input_volume(). * [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/pulse/ |
stream.h | 30 #include <pulse/volume.h> 405 * NULL in both dev and volume and not to set either 409 * flexibility to choose the device, volume and mute status 414 * 0.9.20 it was not defined whether the 'volume' parameter was 415 * interpreted relative to the sink's current volume or treated as 416 * absolute device volume. Since 0.9.20 it is an absolute volume when 417 * the sink is in flat volume mode, and relative otherwise, thus 418 * making sure the volume passed here has always the same semantics as 419 * the volume passed to pa_context_set_sink_input_volume(). * [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_device/test/ |
func_test_manager.cc | 180 uint32_t volume(0); 185 EXPECT_EQ(0, _audioDevice->MicrophoneVolume(&volume)); 186 if (volume == 0) 192 volume += (stepScale * stepSize); 193 if (volume > maxVolume) 196 volume = 0; 199 EXPECT_EQ(0, _audioDevice->SetMicrophoneVolume(volume)); 464 uint32_t volume(0); 469 EXPECT_EQ(0, _audioDevice->SpeakerVolume(&volume)); 470 if (volume == 0 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
MediaControlElements.cpp | 72 // Sliders (the volume control and timeline) need to capture some additional events used when dragging the thumb. 478 double volume = value().toDouble(); local 479 mediaElement().setVolume(volume, ASSERT_NO_EXCEPTION); 499 void MediaControlVolumeSliderElement::setVolume(double volume) 501 if (value().toDouble() != volume) 502 setValue(String::number(volume)); 507 DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-volume-slider", AtomicString::ConstructFromLiteral));
|
/external/chromium_org/third_party/webrtc/examples/android/media_demo/jni/ |
voice_engine_jni.cc | 62 volume(webrtc::VoEVolumeControl::GetInterface(ve)), 71 CHECK(volume != NULL, "Failed to acquire volume interface"); 85 ReleaseSubApi(volume); 123 webrtc::VoEVolumeControl* const volume; member in class:__anon19652::VoiceEngineData::webrtc 272 return voe_data->volume->SetSpeakerVolume(level);
|
/prebuilts/sdk/current/support/v7/mediarouter/libs/ |
android-support-v7-mediarouter.jar | |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
file_manager_commands.js | 104 * Sets the command as visible only when the current volume is drive and it's 210 * Creates the volume switch command with index. 211 * @param {number} index Volume index from 1 to 9. 212 * @return {Command} Volume switch command. 426 // Don't check if the volume is read-only. Unformatted volume is considered 596 CommandHandler.COMMANDS_['volume-help'] = { 675 * Activates the n-th volume. 678 CommandHandler.COMMANDS_['volume-switch-1'] = 680 CommandHandler.COMMANDS_['volume-switch-2'] [all...] |
/external/chromium_org/media/base/ |
pipeline.cc | 145 void Pipeline::SetVolume(float volume) { 146 if (volume < 0.0f || volume > 1.0f) 150 volume_ = volume; 153 &Pipeline::VolumeChangedTask, base::Unretained(this), volume)); 716 void Pipeline::VolumeChangedTask(float volume) { 719 // Volume changes are only carried out while playing. 724 audio_renderer_->SetVolume(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/webrtc/voice_engine/ |
voe_base_impl.cc | 177 int volume, 183 "audio_delay_milliseconds=%d, volume=%d, " 186 number_of_frames, audio_delay_milliseconds, volume, 195 0, volume, key_pressed); 208 // Return 0 to indicate no need to change the volume. [all...] |
/external/svox/pico/tts/ |
com_svox_picottsengine.cpp | 63 /* speaking volume */ 77 const char * PICO_VOLUME_OPEN_TAG = "<volume level='%d'>"; 78 const char * PICO_VOLUME_CLOSE_TAG = "</volume>"; 94 const char * picoSupportedProperties[] = { "language", "rate", "pitch", "volume" }; 116 int picoProp_currVolume = PICO_DEF_VOLUME; /* current volume */ 521 * Add <speed>, <pitch> and <volume> tags to the text, 545 if (picoProp_currVolume != PICO_DEF_VOLUME) { /* non-default volume */ 1315 int volume; local [all...] |
/external/chromium_org/content/browser/renderer_host/media/ |
audio_input_renderer_host.cc | 388 void AudioInputRendererHost::OnSetVolume(int stream_id, double volume) { 397 entry->controller->SetVolume(volume); 398 audio_log_->OnSetVolume(stream_id, volume);
|
/external/chromium_org/media/audio/win/ |
audio_low_latency_input_win_unittest.cc | 45 double volume)); 67 double volume) OVERRIDE { 128 double volume) {
|
/external/chromium_org/media/base/android/ |
media_player_bridge.cc | 381 void MediaPlayerBridge::SetVolume(double volume) { 383 volume_ = volume; 390 env, j_media_player_bridge_.obj(), volume);
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ui/ |
navigation_list.js | 32 this.iconDiv_.className = 'volume-icon'; 72 this.iconDiv_.setAttribute('volume-type-icon', typeIcon); 76 'volume-subtype', modelItem.volumeInfo.deviceType); 392 * Synchronizes the volume list selection with the current directory, after 393 * it is changed outside of the volume list. 428 // (2) Selects the volume of the current directory.
|
/external/qemu/distrib/sdl-1.2.15/src/audio/ums/ |
SDL_umsaudio.c | 69 static UMSAudioDevice_ReturnCode UADSetVolume(_THIS, long volume ); 467 static UMSAudioDevice_ReturnCode UADSetVolume(_THIS, long volume ) 470 * Set the volume. 475 volume );
|
/frameworks/base/core/java/android/os/storage/ |
StorageManager.java | 240 * Message sent on volume state change. 552 * Gets the state of a volume via its mountpoint. 560 Log.e(TAG, "Failed to get volume state", e); 581 Log.e(TAG, "Failed to get volume list", e); 608 for (StorageVolume volume : volumes) { 609 if (volume.isPrimary()) { 610 return volume;
|
/frameworks/base/media/java/android/mtp/ |
MtpPropertyGroup.java | 69 String volume, int[] properties) { 73 mVolumeName = volume; 74 mUri = Files.getMtpObjectsUri(volume);
|