/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
D | AdamsMoultonIntegrator.java | 237 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 …]
|
D | AdamsBashforthIntegrator.java | 217 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()
|
D | RungeKuttaIntegrator.java | 130 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()
|
D | EmbeddedRungeKuttaIntegrator.java | 262 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()
|
D | GraggBulirschStoerIntegrator.java | 662 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/ |
D | ShadowRatingBar.java | 24 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/ |
D | SegmentedByteString.java | 191 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/ |
D | eas_imaadpcm.c | 228 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/ |
D | NordsieckStepInterpolator.java | 125 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/ |
D | MultistepIntegrator.java | 330 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()
|
D | AbstractIntegrator.java | 55 protected double stepSize; field in AbstractIntegrator 88 stepSize = Double.NaN; in AbstractIntegrator() 166 return stepSize; in getCurrentSignedStepsize()
|
/external/webrtc/webrtc/modules/audio_device/test/ |
D | audio_device_test_api.cc | 883 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 …]
|
D | func_test_manager.cc | 231 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/ |
D | audio_mixer_manager_mac.h | 30 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const; 48 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;
|
/external/webrtc/webrtc/modules/audio_device/linux/ |
D | audio_mixer_manager_alsa_linux.h | 33 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const; 49 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;
|
D | audio_mixer_manager_pulse_linux.cc | 373 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()
|
D | audio_mixer_manager_pulse_linux.h | 41 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/ |
D | EventBuilder.java | 156 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/ |
D | audio_mixer_manager_win.h | 60 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const; 76 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;
|
/external/webrtc/webrtc/modules/audio_device/dummy/ |
D | audio_device_dummy.cc | 118 int32_t AudioDeviceDummy::SpeakerVolumeStepSize(uint16_t& stepSize) const { in SpeakerVolumeStepSize() 140 int32_t AudioDeviceDummy::MicrophoneVolumeStepSize(uint16_t& stepSize) const { in MicrophoneVolumeStepSize()
|
D | audio_device_dummy.h | 89 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const override; 97 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const override;
|
D | file_audio_device.h | 109 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const override; 117 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const override;
|
/external/webrtc/webrtc/modules/audio_device/ |
D | audio_device_impl.cc | 745 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()
|
D | audio_device_generic.h | 86 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/ |
D | fake_audio_device.h | 84 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
|