Home
last modified time | relevance | path

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

12

/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
DAdamsMoultonIntegrator.java237 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck); in integrate()
240 double hNew = stepSize; in integrate()
249 stepSize = hNew; in integrate()
252 final double stepEnd = stepStart + stepSize; in integrate()
261 predictedScaled[j] = stepSize * yDot[j]; in integrate()
272 hNew = filterStep(stepSize * factor, forward, false); in integrate()
278 final double stepEnd = stepStart + stepSize; in integrate()
284 correctedScaled[j] = stepSize * yDot[j]; in integrate()
290 interpolator.reinitialize(stepEnd, stepSize, correctedScaled, nordsieckTmp); in integrate()
307 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck); in integrate()
[all …]
DAdamsBashforthIntegrator.java217 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck); in integrate()
222 double hNew = stepSize; in integrate()
232 stepSize = hNew; in integrate()
249 hNew = filterStep(stepSize * factor, forward, false); in integrate()
256 final double stepEnd = stepStart + stepSize; in integrate()
267 predictedScaled[j] = stepSize * yDot[j]; in integrate()
271 interpolator.reinitialize(stepEnd, stepSize, predictedScaled, nordsieckTmp); in integrate()
278 interpolator.reinitialize(stepEnd, stepSize, scaled, nordsieck); in integrate()
289 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck); in integrate()
294 final double scaledH = stepSize * factor; in integrate()
DRungeKuttaIntegrator.java130 stepSize = forward ? step : -step; in integrate()
153 yTmp[j] = y[j] + stepSize * sum; in integrate()
156 computeDerivatives(stepStart + c[k-1] * stepSize, yTmp, yDotK[k]); in integrate()
166 yTmp[j] = y[j] + stepSize * sum; in integrate()
170 interpolator.storeTime(stepStart + stepSize); in integrate()
181 final double nextT = stepStart + stepSize; in integrate()
184 stepSize = t - stepStart; in integrate()
192 stepSize = Double.NaN; in integrate()
DEmbeddedRungeKuttaIntegrator.java262 stepSize = hNew; in integrate()
272 yTmp[j] = y[j] + stepSize * sum; in integrate()
275 computeDerivatives(stepStart + c[k-1] * stepSize, yTmp, yDotK[k]); in integrate()
285 yTmp[j] = y[j] + stepSize * sum; in integrate()
289 error = estimateError(yDotK, y, yTmp, stepSize); in integrate()
295 hNew = filterStep(stepSize * factor, forward, false); in integrate()
301 interpolator.storeTime(stepStart + stepSize); in integrate()
319 final double scaledH = stepSize * factor; in integrate()
DGraggBulirschStoerIntegrator.java662 stepSize = hNew; in integrate()
665 if ((forward && (stepStart + stepSize > t)) || in integrate()
666 ((! forward) && (stepStart + stepSize < t))) { in integrate()
667 stepSize = t - stepStart; in integrate()
669 final double nextT = stepStart + stepSize; in integrate()
679 if ( ! tryStep(stepStart, y, stepSize, k, scale, fk[k], in integrate()
685 hNew = FastMath.abs(filterStep(stepSize * stabilityReduction, forward, false)); in integrate()
709 hNew = FastMath.abs(filterStep(stepSize * stabilityReduction, forward, false)); in integrate()
721 optimalStep[k] = FastMath.abs(filterStep(stepSize * fac, forward, true)); in integrate()
809 computeDerivatives(stepStart + stepSize, y1, yDot1); in integrate()
[all …]
/external/robolectric/v1/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/okhttp/okio/okio/src/main/java/okio/
DSegmentedByteString.java191 int stepSize = Math.min(byteCount, segmentOffset + segmentSize - offset); in rangeEquals() local
194 if (!other.rangeEquals(otherOffset, segments[s], arrayOffset, stepSize)) return false; in rangeEquals()
195 offset += stepSize; in rangeEquals()
196 otherOffset += stepSize; in rangeEquals()
197 byteCount -= stepSize; in rangeEquals()
208 int stepSize = Math.min(byteCount, segmentOffset + segmentSize - offset); in rangeEquals() local
211 if (!arrayRangeEquals(segments[s], arrayOffset, other, otherOffset, stepSize)) return false; in rangeEquals()
212 offset += stepSize; in rangeEquals()
213 otherOffset += stepSize; in rangeEquals()
214 byteCount -= stepSize; in rangeEquals()
/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/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/
DNordsieckStepInterpolator.java125 public void reinitialize(final double time, final double stepSize, in reinitialize() argument
129 this.scalingH = stepSize; in reinitialize()
143 public void rescale(final double stepSize) { in rescale() argument
145 final double ratio = stepSize / scalingH; in rescale()
160 scalingH = stepSize; in rescale()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
DMultistepIntegrator.java330 stepSize = (curr - prev) / (nSteps + 1); in handleStep()
336 scaled[j] *= stepSize; in handleStep()
342 interpolator.setInterpolatedTime(prev + stepSize * i); in handleStep()
345 msI[j] *= stepSize; in handleStep()
DAbstractIntegrator.java55 protected double stepSize; field in AbstractIntegrator
88 stepSize = Double.NaN; in AbstractIntegrator()
166 return stepSize; in getCurrentSignedStepsize()
/external/webrtc/webrtc/modules/audio_device/test/
Daudio_device_test_api.cc883 uint16_t stepSize(0); in TEST_F() local
893 EXPECT_EQ(-1, audio_device_->SpeakerVolumeStepSize(&stepSize)); in TEST_F()
917 EXPECT_EQ(0, audio_device_->SpeakerVolumeStepSize(&stepSize)); in TEST_F()
918 for (vol = minVolume; vol < (int)maxVolume; vol += 20*stepSize) { in TEST_F()
933 EXPECT_EQ(0, audio_device_->SpeakerVolumeStepSize(&stepSize)); in TEST_F()
935 step = (step < stepSize ? stepSize : step); in TEST_F()
952 EXPECT_EQ(0, audio_device_->SpeakerVolumeStepSize(&stepSize)); in TEST_F()
954 step = (step < stepSize ? stepSize : step); in TEST_F()
1033 uint16_t stepSize(0); in TEST_F() local
1043 EXPECT_EQ(-1, audio_device_->MicrophoneVolumeStepSize(&stepSize)); in TEST_F()
[all …]
Dfunc_test_manager.cc231 uint16_t stepSize(0); in RecordedDataIsAvailable() local
234 EXPECT_EQ(0, _audioDevice->MicrophoneVolumeStepSize(&stepSize)); in RecordedDataIsAvailable()
241 int stepScale = (int) ((maxVolume - minVolume) / (stepSize * 10)); in RecordedDataIsAvailable()
242 volume += (stepScale * stepSize); in RecordedDataIsAvailable()
256 uint16_t stepSize(0); in RecordedDataIsAvailable() local
259 EXPECT_EQ(0, _audioDevice->MicrophoneVolumeStepSize(&stepSize)); in RecordedDataIsAvailable()
266 int stepScale = (int) ((maxVolume - minVolume) / (stepSize * 10)); in RecordedDataIsAvailable()
267 newMicLevel = currentMicLevel + (stepScale * stepSize); in RecordedDataIsAvailable()
507 uint16_t stepSize(0); in NeedMorePlayData() local
510 EXPECT_EQ(0, _audioDevice->SpeakerVolumeStepSize(&stepSize)); in NeedMorePlayData()
[all …]
/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_mixer_manager_mac.h30 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const;
48 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;
/external/webrtc/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.cc373 AudioMixerManagerLinuxPulse::SpeakerVolumeStepSize(uint16_t& stepSize) const in SpeakerVolumeStepSize()
385 stepSize = 1; in SpeakerVolumeStepSize()
389 "size=%i", stepSize); in SpeakerVolumeStepSize()
932 uint16_t& stepSize) const in MicrophoneVolumeStepSize()
965 stepSize = static_cast<uint16_t> ((PA_VOLUME_NORM + 1) / _paVolSteps); in MicrophoneVolumeStepSize()
969 " => size=%i", stepSize); in MicrophoneVolumeStepSize()
Daudio_mixer_manager_pulse_linux.h41 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const;
59 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DEventBuilder.java156 public EventBuilder setStep(long threadID, int stepSize, int stepDepth) { in setStep() argument
159 mod.size = stepSize; in setStep()
/external/webrtc/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/webrtc/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.h89 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const override;
97 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const override;
Dfile_audio_device.h109 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const override;
117 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const override;
/external/webrtc/webrtc/modules/audio_device/
Daudio_device_impl.cc745 int32_t AudioDeviceModuleImpl::SpeakerVolumeStepSize(uint16_t* stepSize) const in SpeakerVolumeStepSize()
757 *stepSize = delta; in SpeakerVolumeStepSize()
759 WEBRTC_TRACE(kTraceStateInfo, kTraceAudioDevice, _id, "output: stepSize=%u", *stepSize); in SpeakerVolumeStepSize()
1283 int32_t AudioDeviceModuleImpl::MicrophoneVolumeStepSize(uint16_t* stepSize) const in MicrophoneVolumeStepSize()
1294 *stepSize = delta; in MicrophoneVolumeStepSize()
1296 WEBRTC_TRACE(kTraceStateInfo, kTraceAudioDevice, _id, "output: stepSize=%u", *stepSize); in MicrophoneVolumeStepSize()
Daudio_device_generic.h86 virtual int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const = 0;
94 virtual int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const = 0;
/external/webrtc/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

12