/hardware/libhardware_legacy/audio/ |
audio_hw_hal.cpp | 425 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) 428 return ladev->hwif->setVoiceVolume(volume); 431 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) 434 return ladev->hwif->setMasterVolume(volume); 437 static int adev_get_master_volume(struct audio_hw_device *dev, float* volume) 440 return ladev->hwif->getMasterVolume(volume);
|
/external/webkit/Source/WebCore/platform/graphics/gstreamer/ |
MediaPlayerPrivateGStreamer.cpp | 96 // This is called when playbin receives the notify::volume signal. 566 void MediaPlayerPrivateGStreamer::setVolume(float volume) 572 static_cast<double>(volume)); 581 double volume; local 582 volume = gst_stream_volume_get_volume(GST_STREAM_VOLUME(m_playBin), GST_STREAM_VOLUME_FORMAT_CUBIC); 585 // volume control for instance). 586 volume = CLAMP(volume, 0.0, 1.0); 587 m_player->volumeChanged(static_cast<float>(volume)); [all...] |
/frameworks/av/services/audioflinger/ |
Effects.cpp | 644 // Send volume indication if EFFECT_FLAG_VOLUME_IND is set and read back altered volume 650 uint32_t volume[2]; local 652 uint32_t size = sizeof(volume); 653 volume[0] = *left; 654 volume[1] = *right; 656 pVolume = volume; 661 volume, 664 if (controller && status == NO_ERROR && size == sizeof(volume)) { 665 *left = volume[0] [all...] |
/bootable/recovery/ |
recovery.cpp | 334 erase_volume(const char *volume) { 337 ui->Print("Formatting %s...\n", volume); 339 ensure_path_unmounted(volume); 341 if (strcmp(volume, "/cache") == 0) { 348 return format_volume(volume); [all...] |
/external/bluetooth/bluedroid/stack/include/ |
avrc_defs.h | 154 #define AVRC_ID_VOL_UP 0x41 /* volume up */ 155 #define AVRC_ID_VOL_DOWN 0x42 /* volume down */ 1087 UINT8 volume; member in struct:__anon3184 1194 tAVRC_SET_VOLUME_CMD volume; \/* SetAbsVolume *\/ member in union:__anon3193 1305 UINT8 volume; member in union:__anon3203 1324 UINT8 volume; member in struct:__anon3205 1408 tAVRC_SET_VOLUME_RSP volume; \/* SetAbsVolume *\/ member in union:__anon3212 [all...] |
/external/jpeg/ |
jquant2.c | 263 /* The volume (actually 2-norm) of the box */ 264 INT32 volume; member in struct:__anon9415 283 if (boxp->colorcount > maxc && boxp->volume > 0) { 294 /* Find the splittable box with the largest (scaled) volume */ 303 if (boxp->volume > maxv) { 305 maxv = boxp->volume; 315 /* and recompute its volume and population */ 396 /* Update box volume. 397 * We use 2-norm rather than real volume here; this biases the method 407 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2 [all...] |
/external/qemu/distrib/jpeg-6b/ |
jquant2.c | 263 /* The volume (actually 2-norm) of the box */ 264 INT32 volume; member in struct:__anon13255 283 if (boxp->colorcount > maxc && boxp->volume > 0) { 294 /* Find the splittable box with the largest (scaled) volume */ 303 if (boxp->volume > maxv) { 305 maxv = boxp->volume; 315 /* and recompute its volume and population */ 396 /* Update box volume. 397 * We use 2-norm rather than real volume here; this biases the method 407 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2 [all...] |
/external/webkit/Source/WebCore/page/ |
Page.cpp | 598 void Page::setMediaVolume(float volume) 600 if (volume < 0 || volume > 1) 603 if (m_mediaVolume == volume) 606 m_mediaVolume = volume;
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
alsa_mixer.c | 72 {" Playback Volume", CTL_PLAYBACK_VOLUME}, 73 {" Capture Volume", CTL_CAPTURE_VOLUME}, 74 {" Volume", CTL_GLOBAL_VOLUME}, 404 ALOGV("capability: volume\n"); 477 * This is useful for volume controls which take two parameters as input value. 529 int volume = 0; local 538 ALOGV("capability: volume\n"); 553 volume = 1; 558 volume = 1; 574 if (!volume) [all...] |
/frameworks/base/media/java/android/media/ |
AudioService.java | 97 * The implementation of the volume manager service. 100 * asynchronous to external calls. For example, the task of setting a volume 102 * volume and later persist to the database. Similarly, setting the ringer mode 117 /** How long to delay before persisting a change in volume/ringer mode. */ 197 // Internally master volume is a float in the 0.0 - 1.0 range, 201 // Maximum volume adjust steps allowed in a single batch call. 213 /** @hide Maximum volume index values for audio streams */ 226 /* mStreamVolumeAlias[] indicates for each stream if it uses the volume settings 227 * of another stream: This avoids multiplying the volume settings for hidden 228 * stream types that follow other stream behavior for volume setting 925 int volume = Math.round(AudioSystem.getMasterVolume() * MAX_MASTER_VOLUME); local 1408 float volume = Settings.System.getFloatForUser(mContentResolver, local [all...] |
/device/generic/goldfish/audio/ |
audio_hw.c | 463 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) 469 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) 474 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume)
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
MediaPlayerPrivateQuickTimeWin.cpp | 249 m_qtMovie->setVolume(m_player->volume()); 388 void MediaPlayerPrivate::setVolume(float volume) 392 m_qtMovie->setVolume(volume);
|
/external/webrtc/src/modules/interface/ |
module_common_types.h | 742 const WebRtc_Word32 volume = -1, 801 const WebRtc_Word32 volume, 809 _volume = volume;
|
/external/quake/quake/src/WinQuake/ |
pr_cmds.cpp | 553 An attenuation of 0 will play full volume everywhere in the level. 563 int volume; local 569 volume = (int)(G_FLOAT(OFS_PARM3) * 255); 572 if (volume < 0 || volume > 255) 573 Sys_Error ("SV_StartSound: volume = %i", volume); 581 SV_StartSound (entity, channel, sample, volume, attenuation); [all...] |
/frameworks/av/media/libmedia/ |
IAudioFlinger.cpp | 485 virtual status_t setVoiceVolume(float volume) 489 data.writeFloat(volume); 791 float volume = data.readFloat(); local 793 reply->writeInt32( setStreamVolume((audio_stream_type_t) stream, volume, output) ); 943 float volume = data.readFloat(); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_Genres_MembersTest.java | 84 // can not accept any other volume names 85 String volume = "fakeVolume"; local 86 assertNull(mContentResolver.query(Members.getContentUri(volume, 1), null, null, null,
|
MediaStore_Audio_MediaTest.java | 51 // can not accept any other volume names 52 String volume = "faveVolume"; local 53 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null));
|
MediaStore_Images_ThumbnailsTest.java | 222 // can not accept any other volume names 223 String volume = "fakeVolume"; local 224 assertNull(mContentResolver.query(Thumbnails.getContentUri(volume), null, null, null,
|
MediaStore_Video_MediaTest.java | 56 // can not accept any other volume names 57 String volume = "fakeVolume"; local 58 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null));
|
/external/webkit/Source/WebCore/html/shadow/ |
MediaControlRootElement.cpp | 301 m_volumeSlider->setVolume(m_mediaElement->volume()); 409 m_volumeSlider->setVolume(m_mediaElement->volume());
|
/external/webkit/Source/WebKit/mac/Misc/ |
WebNSFileManagerExtras.m | 53 // Get volume refNum. 60 error = FSGetVolumeInfo(info.volume, 0, NULL, kFSVolInfoNone, NULL, NULL, &rootRef); 79 // Volume names need trailing : character.
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
asequencer.h | 121 #define SNDRV_SEQ_EVENT_SAMPLE_VOLUME 75 /* volume and balance */ 290 SAMPLE_STOP_VENVELOPE = 1, /* finish volume envelope */ 297 /* sample volume control; if any value is set to -1 == do not change */ 299 signed short volume; /* range: 0-16383 */ member in struct:snd_seq_ev_volume 320 struct snd_seq_ev_volume volume; member in union:snd_seq_ev_sample_control::__anon28448 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
asequencer.h | 121 #define SNDRV_SEQ_EVENT_SAMPLE_VOLUME 75 /* volume and balance */ 290 SAMPLE_STOP_VENVELOPE = 1, /* finish volume envelope */ 297 /* sample volume control; if any value is set to -1 == do not change */ 299 signed short volume; /* range: 0-16383 */ member in struct:snd_seq_ev_volume 320 struct snd_seq_ev_volume volume; member in union:snd_seq_ev_sample_control::__anon29962 [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 236 // If primary external storage is ejected, then remove the external volume 237 // notify all cursors backed by data on that volume. 260 // We do this to avoid deleting files if the volume is remounted while 3971 String volume = uri.getPathSegments().get(0); local 4867 String volume = srcuri.toString().substring(16, 24); \/\/ extract internal\/external local 4888 String volume = srcuri.toString().substring(16, 24); \/\/ extract internal\/external local 5141 String volume = uri.getPathSegments().get(0); local [all...] |
/bionic/libc/kernel/common/linux/ |
videodev.h | 137 __u16 volume; member in struct:video_audio
|