/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
StorageMeasurement.java | 94 public static StorageMeasurement getInstance(Context context, StorageVolume volume) { 96 StorageMeasurement value = sInstances.get(volume); 98 value = new StorageMeasurement(context.getApplicationContext(), volume); 99 sInstances.put(volume, value); 119 * usage by all apps on that volume. 136 * on that volume. 160 /** Physical volume being measured, or {@code null} for internal. */ 173 private StorageMeasurement(Context context, StorageVolume volume) { 174 mVolume = volume; 175 mIsInternal = volume == null [all...] |
/external/chromium_org/chrome/browser/extensions/api/audio/ |
audio_service_chromeos.cc | 36 int volume, 113 info->volume = 158 int volume, 171 if (!device.is_input && volume != -1) { 172 cras_audio_handler_->SetVolumeGainPercentForDevice(device.id, volume);
|
audio_api.cc | 90 int volume_value = params->properties.volume.get() ? 91 *params->properties.volume : -1;
|
/external/chromium_org/content/renderer/media/ |
audio_input_message_filter.cc | 35 virtual void SetVolume(double volume) OVERRIDE; 148 void AudioInputMessageFilter::OnStreamVolume(int stream_id, double volume) { 156 delegate->OnVolume(volume); 210 void AudioInputMessageFilter::AudioInputIPCImpl::SetVolume(double volume) { 212 filter_->Send(new AudioInputHostMsg_SetVolume(stream_id_, volume));
|
webaudiosourceprovider_impl.cc | 154 bool WebAudioSourceProviderImpl::SetVolume(double volume) { 156 volume_ = volume; 158 sink_->SetVolume(volume);
|
/external/chromium_org/media/base/ |
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);
|
/frameworks/base/media/java/android/media/ |
MediaRouter.java | 453 void requestSetVolume(RouteInfo route, int volume) { 457 route.mGlobalRouteId, volume); 459 Log.w(TAG, "Unable to request volume change.", ex); 470 Log.w(TAG, "Unable to request volume change.", ex); 485 route.mVolume = globalRoute.volume; 527 if (route.mVolume != globalRoute.volume) { 528 route.mVolume = globalRoute.volume; 1780 final int volume = local 2428 int volume = 0; local 2459 int volume = 0; local [all...] |
/external/chromium_org/content/browser/renderer_host/media/ |
audio_input_sync_writer.cc | 53 double volume, 84 buffer->params.volume = volume;
|
/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/replicaisland/src/com/replica/replicaisland/ |
SoundSystem.java | 94 synchronized public final int play(Sound sound, boolean loop, int priority, float volume, float rate) { 97 stream = mSoundPool.play(sound.soundId, volume, volume, priority, loop ? -1 : 0, rate);
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
AudioHardwareInterface.h | 83 * allowing you to directly set the volume as apposed to via the framework. 211 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */ 212 virtual status_t setVoiceVolume(float volume) = 0; 215 * set the audio volume for all audio activities other than voice call. 219 virtual status_t setMasterVolume(float volume) = 0; 222 * Get the current master volume value for the HAL, if the HAL supports 223 * master volume control. AudioFlinger will query this value from the 225 * the initial master volume across all HALs. 227 virtual status_t getMasterVolume(float *volume) = 0;
|
/external/chromium_org/ui/file_manager/file_manager/background/js/ |
volume_manager.js | 8 * Represents each volume, such as "drive", "download directory", each "USB 11 * @param {VolumeManagerCommon.VolumeType} volumeType The type of the volume. 12 * @param {string} volumeId ID of the volume. 13 * @param {DOMFileSystem} fileSystem The file system object for this volume. 18 * @param {boolean} isReadOnly True if the volume is read only. 21 * @param {string} label Label of the volume. 22 * @param {string} extensionId Id of the extension providing this volume. Empty 64 // Note: This represents if the mounting of the volume is successfully done 78 * @return {VolumeManagerCommon.VolumeType} Volume type. 84 * @return {string} Volume ID [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
media_widget.js | 64 this.mediaElem_.volume = targetVolume; 86 this.setVolume_(this.mediaElem_.volume + .1); 88 this.setVolume_(this.mediaElem_.volume - .1);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/ttsEngine/console_tts_engine/ |
console_tts_engine.js | 12 var properties = ['voiceName', 'lang', 'gender', 'rate', 'pitch', 'volume']; 37 getTtsElement("volume").innerHTML = curOptions.volume;
|
/frameworks/base/services/core/java/com/android/server/media/ |
RemoteDisplayProviderProxy.java | 115 public void setDisplayVolume(int volume) { 117 mActiveConnection.setVolume(mSelectedDisplayId, volume); 379 public void setVolume(String id, int volume) { 381 mProvider.setVolume(id, volume); 383 Slog.e(TAG, "Failed to deliver request to set display volume.", ex); 387 public void adjustVolume(String id, int volume) { 389 mProvider.adjustVolume(id, volume); 391 Slog.e(TAG, "Failed to deliver request to adjust display volume.", ex);
|
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_avrcp.cpp | 119 static void btavrcp_volume_change_callback(uint8_t volume, uint8_t ctype) { 127 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_volumeChangeCallback, (jint)volume, 382 static jboolean setVolumeNative(JNIEnv *env, jobject object, jint volume) { 386 ALOGI("%s: jint: %d, uint8_t: %u", __FUNCTION__, volume, (uint8_t) volume); 391 if ((status = sBluetoothAvrcpInterface->set_volume((uint8_t)volume)) != BT_STATUS_SUCCESS) {
|
/cts/suite/audio_quality/lib/include/audio/ |
RemoteAudio.h | 51 bool startPlayback(bool stereo, int samplingF, int mode, int volume, 56 bool startRecording(bool stereo, int samplingF, int mode, int volume,
|
/external/chromium_org/chrome/browser/extensions/api/system_private/ |
system_private_api.cc | 39 const char kVolumeKey[] = "volume"; 142 void DispatchVolumeChangedEvent(double volume, bool is_volume_muted) { 144 dict->SetDouble(kVolumeKey, volume);
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/ttsdemo/ |
ttsdemo.js | 64 var volumeValue = Number(volume.value); 66 options.volume = volumeValue;
|
/external/chromium_org/media/audio/ |
audio_output_controller.h | 130 // Sets the volume of the audio output stream. 131 void SetVolume(double volume); 195 void DoSetVolume(double volume); 224 // The current volume of the audio stream.
|
/external/chromium_org/media/base/android/ |
audio_decoder_job.cc | 54 void AudioDecoderJob::SetVolume(double volume) { 55 volume_ = volume;
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
mediaControls.css | 223 audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volume-slider { 224 -webkit-appearance: media-volume-slider; 302 audio::-webkit-media-controls-fullscreen-volume-slider, video::-webkit-media-controls-fullscreen-volume-slider { 306 audio::-webkit-media-controls-fullscreen-volume-min-button, video::-webkit-media-controls-fullscreen-volume-min-button { 310 audio::-webkit-media-controls-fullscreen-volume-max-button, video::-webkit-media-controls-fullscreen-volume-max-button {
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
mediastreaminterface.h | 149 virtual void OnSetVolume(double volume) = 0; 157 // Sets the volume to the source. |volume| is in the range of [0, 10]. 158 virtual void SetVolume(double volume) {}
|
/external/chromium_org/third_party/webrtc/modules/audio_device/android/ |
audio_record_jni.h | 73 // Microphone volume controls 75 // TODO(leozwang): Add microphone volume control when OpenSL APIs 77 int32_t SetMicrophoneVolume(uint32_t volume); 78 int32_t MicrophoneVolume(uint32_t& volume) const; // NOLINT
|
audio_track_jni.h | 68 // Speaker volume controls 70 int32_t SetSpeakerVolume(uint32_t volume); 71 int32_t SpeakerVolume(uint32_t& volume) const; // NOLINT 167 uint32_t _maxSpeakerVolume; // The maximum speaker volume value
|