Home
last modified time | relevance | path

Searched refs:stepSize (Results 1 – 25 of 51) sorted by relevance

123

/external/chromium_org/chrome/browser/resources/net_internals/
Dtimeline_data_series.js80 getValues: function(startTime, stepSize, count) { argument
83 this.cacheStepSize_ == stepSize &&
89 this.cacheValues_ = this.getValuesInternal_(startTime, stepSize, count);
91 this.cacheStepSize_ = stepSize;
105 getValuesInternal_: function(startTime, stepSize, count) { argument
117 time += stepSize;
269 getValuesInternal_: function(startTime, stepSize, count) { argument
273 this.dataPoints_[nextPoint].time < startTime - stepSize) {
290 values[i] = 1000 * transferred / stepSize;
291 time += stepSize;
Dtimeline_graph_view.js599 var stepSize = Math.pow(10, -maxDecimalDigits);
614 if (Math.ceil(maxValue / stepSize) + 1 <= maxLabels)
617 if (Math.ceil(maxValue / (stepSize * 2)) + 1 <= maxLabels) {
618 stepSize *= 2;
622 if (Math.ceil(maxValue / (stepSize * 5)) + 1 <= maxLabels) {
623 stepSize *= 5;
626 stepSize *= 10;
632 this.max_ = Math.ceil(maxValue / stepSize) * stepSize;
635 for (var label = this.max_; label >= 0; label -= stepSize)
/external/chromium_org/content/browser/resources/media/
Ddata_series.js87 getValues: function(startTime, stepSize, count) { argument
90 this.cacheStepSize_ == stepSize &&
96 this.cacheValues_ = this.getValuesInternal_(startTime, stepSize, count);
98 this.cacheStepSize_ = stepSize;
106 getValuesInternal_: function(startTime, stepSize, count) { argument
118 time += stepSize;
Dtimeline_graph_view.js418 var stepSize = Math.pow(10, -maxDecimalDigits);
433 if (Math.ceil(range / stepSize) + 1 <= maxLabels)
436 if (Math.ceil(range / (stepSize * 2)) + 1 <= maxLabels) {
437 stepSize *= 2;
441 if (Math.ceil(range / (stepSize * 5)) + 1 <= maxLabels) {
442 stepSize *= 5;
445 stepSize *= 10;
451 this.max_ = Math.ceil(maxValue / stepSize) * stepSize;
452 this.min_ = Math.floor(minValue / stepSize) * stepSize;
455 for (var label = this.max_; label >= this.min_; label -= stepSize)
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowRatingBar.java24 final float stepSize = attributeSet.getAttributeFloatValue("android", "stepSize", -1); in applyAttributes() local
30 if (stepSize >= 0) { in applyAttributes()
31 setStepSize(stepSize); in applyAttributes()
77 public void setStepSize(float stepSize) { in setStepSize() argument
78 if (stepSize <= 0) { in setStepSize()
82 final float newMax = mNumStars / stepSize; in setStepSize()
/external/sonivox/arm-wt-22k/lib_src/
Deas_imaadpcm.c228 EAS_INT stepSize; in IMADecoderADPCM() local
231 stepSize = imaStepSizeTable[pState->step]; in IMADecoderADPCM()
236 delta += stepSize; in IMADecoderADPCM()
240 delta += stepSize >> 1; in IMADecoderADPCM()
244 delta += stepSize >> 2; in IMADecoderADPCM()
247 delta += stepSize >> 3; in IMADecoderADPCM()
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_imaadpcm.c228 EAS_INT stepSize; in IMADecoderADPCM() local
231 stepSize = imaStepSizeTable[pState->step]; in IMADecoderADPCM()
236 delta += stepSize; in IMADecoderADPCM()
240 delta += stepSize >> 1; in IMADecoderADPCM()
244 delta += stepSize >> 2; in IMADecoderADPCM()
247 delta += stepSize >> 3; in IMADecoderADPCM()
/external/sonivox/arm-fm-22k/lib_src/
Deas_imaadpcm.c228 EAS_INT stepSize; in IMADecoderADPCM() local
231 stepSize = imaStepSizeTable[pState->step]; in IMADecoderADPCM()
236 delta += stepSize; in IMADecoderADPCM()
240 delta += stepSize >> 1; in IMADecoderADPCM()
244 delta += stepSize >> 2; in IMADecoderADPCM()
247 delta += stepSize >> 3; in IMADecoderADPCM()
/external/chromium_org/third_party/webrtc/modules/audio_device/linux/
Daudio_mixer_manager_alsa_linux.h33 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const;
49 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;
Daudio_mixer_manager_pulse_linux.h40 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const;
58 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;
Daudio_mixer_manager_alsa_linux.cc593 uint16_t& stepSize) const in SpeakerVolumeStepSize()
604 stepSize = 1; in SpeakerVolumeStepSize()
1125 uint16_t& stepSize) const in MicrophoneVolumeStepSize()
1136 stepSize = 1; in MicrophoneVolumeStepSize()
Daudio_mixer_manager_pulse_linux.cc369 AudioMixerManagerLinuxPulse::SpeakerVolumeStepSize(uint16_t& stepSize) const in SpeakerVolumeStepSize()
381 stepSize = 1; in SpeakerVolumeStepSize()
977 uint16_t& stepSize) const in MicrophoneVolumeStepSize()
1021 stepSize = static_cast<uint16_t> ((PA_VOLUME_NORM + 1) / _paVolSteps); in MicrophoneVolumeStepSize()
/external/chromium_org/third_party/webrtc/modules/audio_device/mac/
Daudio_mixer_manager_mac.h31 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const;
49 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;
/external/chromium_org/third_party/webrtc/modules/audio_device/android/
Daudio_device_template.h219 uint16_t& stepSize) const { // NOLINT in SpeakerVolumeStepSize() argument
220 return output_.SpeakerVolumeStepSize(stepSize); in SpeakerVolumeStepSize()
248 uint16_t& stepSize) const { // NOLINT in MicrophoneVolumeStepSize() argument
249 return input_.MicrophoneVolumeStepSize(stepSize); in MicrophoneVolumeStepSize()
/external/chromium_org/third_party/webrtc/modules/audio_device/test/
Daudio_device_test_api.cc908 uint16_t stepSize(0); in TEST_F() local
918 EXPECT_EQ(-1, audio_device_->SpeakerVolumeStepSize(&stepSize)); in TEST_F()
942 EXPECT_EQ(0, audio_device_->SpeakerVolumeStepSize(&stepSize)); in TEST_F()
943 for (vol = minVolume; vol < (int)maxVolume; vol += 20*stepSize) { in TEST_F()
958 EXPECT_EQ(0, audio_device_->SpeakerVolumeStepSize(&stepSize)); in TEST_F()
960 step = (step < stepSize ? stepSize : step); in TEST_F()
977 EXPECT_EQ(0, audio_device_->SpeakerVolumeStepSize(&stepSize)); in TEST_F()
979 step = (step < stepSize ? stepSize : step); in TEST_F()
1052 uint16_t stepSize(0); in TEST_F() local
1062 EXPECT_EQ(-1, audio_device_->MicrophoneVolumeStepSize(&stepSize)); in TEST_F()
[all …]
Dfunc_test_manager.cc181 uint16_t stepSize(0); in RecordedDataIsAvailable() local
184 EXPECT_EQ(0, _audioDevice->MicrophoneVolumeStepSize(&stepSize)); in RecordedDataIsAvailable()
191 int stepScale = (int) ((maxVolume - minVolume) / (stepSize * 10)); in RecordedDataIsAvailable()
192 volume += (stepScale * stepSize); in RecordedDataIsAvailable()
206 uint16_t stepSize(0); in RecordedDataIsAvailable() local
209 EXPECT_EQ(0, _audioDevice->MicrophoneVolumeStepSize(&stepSize)); in RecordedDataIsAvailable()
216 int stepScale = (int) ((maxVolume - minVolume) / (stepSize * 10)); in RecordedDataIsAvailable()
217 newMicLevel = currentMicLevel + (stepScale * stepSize); in RecordedDataIsAvailable()
465 uint16_t stepSize(0); in NeedMorePlayData() local
468 EXPECT_EQ(0, _audioDevice->SpeakerVolumeStepSize(&stepSize)); in NeedMorePlayData()
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_device/dummy/
Daudio_device_dummy.cc118 int32_t AudioDeviceDummy::SpeakerVolumeStepSize(uint16_t& stepSize) const { in SpeakerVolumeStepSize()
140 int32_t AudioDeviceDummy::MicrophoneVolumeStepSize(uint16_t& stepSize) const { in MicrophoneVolumeStepSize()
Daudio_device_dummy.h90 virtual int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const OVERRIDE;
98 virtual int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const OVERRIDE;
Dfile_audio_device.h107 virtual int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const OVERRIDE;
115 virtual int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const OVERRIDE;
/external/chromium_org/third_party/webrtc/modules/audio_device/win/
Daudio_mixer_manager_win.h60 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const;
76 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;
/external/chromium_org/third_party/webrtc/modules/audio_device/
Daudio_device_generic.h91 uint16_t& stepSize) const = 0;
102 uint16_t& stepSize) const = 0;
Daudio_device_impl.cc840 int32_t AudioDeviceModuleImpl::SpeakerVolumeStepSize(uint16_t* stepSize) const in SpeakerVolumeStepSize()
852 *stepSize = delta; in SpeakerVolumeStepSize()
854 WEBRTC_TRACE(kTraceStateInfo, kTraceAudioDevice, _id, "output: stepSize=%u", *stepSize); in SpeakerVolumeStepSize()
1378 int32_t AudioDeviceModuleImpl::MicrophoneVolumeStepSize(uint16_t* stepSize) const in MicrophoneVolumeStepSize()
1389 *stepSize = delta; in MicrophoneVolumeStepSize()
1391 WEBRTC_TRACE(kTraceStateInfo, kTraceAudioDevice, _id, "output: stepSize=%u", *stepSize); in MicrophoneVolumeStepSize()
/external/chromium_org/third_party/webrtc/modules/audio_device/include/
Dfake_audio_device.h84 virtual int32_t SpeakerVolumeStepSize(uint16_t* stepSize) const { return 0; } in SpeakerVolumeStepSize() argument
90 virtual int32_t MicrophoneVolumeStepSize(uint16_t* stepSize) const { in MicrophoneVolumeStepSize() argument
Daudio_device.h121 virtual int32_t SpeakerVolumeStepSize(uint16_t* stepSize) const = 0;
129 virtual int32_t MicrophoneVolumeStepSize(uint16_t* stepSize) const = 0;
/external/chromium_org/third_party/webrtc/modules/audio_device/ios/
Daudio_device_ios.h103 virtual int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const;
111 virtual int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;

123