HomeSort by relevance Sort by last modified time
    Searched refs:stepSize (Results 1 - 25 of 99) sorted by null

1 2 3 4

  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowRatingBar.java 24 final float stepSize = attributeSet.getAttributeFloatValue("android", "stepSize", -1);
30 if (stepSize >= 0) {
31 setStepSize(stepSize);
77 public void setStepSize(float stepSize) {
78 if (stepSize <= 0) {
82 final float newMax = mNumStars / stepSize;
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
probability_utils.h 47 const float stepSize = static_cast<float>(MAX_PROBABILITY - unigramProbability)
50 + static_cast<int>(static_cast<float>(bigramProbability + 1) * stepSize);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
AdamsBashforthIntegrator.java 35 * one: it uses adaptive stepsize to implement error control, whereas
115 * <li>it allows to extend the methods in order to support adaptive stepsize.</li>
217 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck);
222 double hNew = stepSize;
232 stepSize = hNew;
247 // reject the step and attempt to reduce error by stepsize control
249 hNew = filterStep(stepSize * factor, forward, false);
256 final double stepEnd = stepStart + stepSize;
267 predictedScaled[j] = stepSize * yDot[j];
271 interpolator.reinitialize(stepEnd, stepSize, predictedScaled, nordsieckTmp)
    [all...]
RungeKuttaIntegrator.java 130 stepSize = forward ? step : -step;
153 yTmp[j] = y[j] + stepSize * sum;
156 computeDerivatives(stepStart + c[k-1] * stepSize, yTmp, yDotK[k]);
166 yTmp[j] = y[j] + stepSize * sum;
170 interpolator.storeTime(stepStart + stepSize);
180 // stepsize control for next step
181 final double nextT = stepStart + stepSize;
184 stepSize = t - stepStart;
192 stepSize = Double.NaN;
AdamsMoultonIntegrator.java 38 * one: it uses adaptive stepsize to implement error control, whereas
121 * <li>it allows to extend the methods in order to support adaptive stepsize.</li>
237 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck);
240 double hNew = stepSize;
249 stepSize = hNew;
252 final double stepEnd = stepStart + stepSize;
261 predictedScaled[j] = stepSize * yDot[j];
270 // reject the step and attempt to reduce error by stepsize control
272 hNew = filterStep(stepSize * factor, forward, false);
278 final double stepEnd = stepStart + stepSize;
    [all...]
EmbeddedRungeKuttaIntegrator.java 83 /** Stepsize control exponent. */
86 /** Safety factor for stepsize control. */
89 /** Minimal reduction factor for stepsize control. */
92 /** Maximal growth factor for stepsize control. */
176 /** Get the safety factor for stepsize control.
183 /** Set the safety factor for stepsize control.
262 stepSize = hNew;
272 yTmp[j] = y[j] + stepSize * sum;
275 computeDerivatives(stepStart + c[k-1] * stepSize, yTmp, yDotK[k]);
285 yTmp[j] = y[j] + stepSize * sum
    [all...]
GraggBulirschStoerIntegrator.java 127 /** stepsize reduction factor in case of stability check failure. */
130 /** first stepsize control factor. */
133 /** second stepsize control factor. */
136 /** third stepsize control factor. */
139 /** fourth stepsize control factor. */
148 /** use interpolation error in stepsize control. */
201 * and the stepsize is reduced.</p>
204 * iterations. The default stepsize reduction factor is 0.5.</p>
212 * @param stepsizeReductionFactor stepsize reduction factor in case of
247 * @param control1 first stepsize control factor (the factor i
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TimerProgressBar.java 86 public void start(long duration, long stepSize) {
87 start(duration, stepSize, null);
94 * @param stepSize Time in milliseconds between consecutive updates to progress bar's progress
97 public void start(long duration, long stepSize, TimerExpiredCallback callback) {
99 mStepSize = stepSize;
103 this.setMax((int) (duration / stepSize));
  /external/okhttp/okio/okio/src/main/java/okio/
SegmentedByteString.java 191 int stepSize = Math.min(byteCount, segmentOffset + segmentSize - offset);
194 if (!other.rangeEquals(otherOffset, segments[s], arrayOffset, stepSize)) return false;
195 offset += stepSize;
196 otherOffset += stepSize;
197 byteCount -= stepSize;
208 int stepSize = Math.min(byteCount, segmentOffset + segmentSize - offset);
211 if (!arrayRangeEquals(segments[s], arrayOffset, other, otherOffset, stepSize)) return false;
212 offset += stepSize;
213 otherOffset += stepSize;
214 byteCount -= stepSize;
    [all...]
  /frameworks/base/core/java/android/widget/
RatingBar.java 96 final float stepSize = a.getFloat(R.styleable.RatingBar_stepSize, -1);
103 if (stepSize >= 0) {
104 setStepSize(stepSize);
216 * @param stepSize The step size of this rating bar. For example, if
219 public void setStepSize(float stepSize) {
220 if (stepSize <= 0) {
224 final float newMax = mNumStars / stepSize;
  /external/webrtc/webrtc/modules/audio_device/linux/
audio_mixer_manager_alsa_linux.h 33 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const;
49 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;
audio_mixer_manager_pulse_linux.h 41 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const;
59 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;
  /external/webrtc/webrtc/modules/audio_device/mac/
audio_mixer_manager_mac.h 30 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const;
48 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/
NordsieckStepInterpolator.java 119 * @param stepSize step size used in the scaled and nordsieck arrays
125 public void reinitialize(final double time, final double stepSize,
129 this.scalingH = stepSize;
141 * @param stepSize new step size to use in the scaled and nordsieck arrays
143 public void rescale(final double stepSize) {
145 final double ratio = stepSize / scalingH;
160 scalingH = stepSize;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
MultistepIntegrator.java 78 /** Stepsize control exponent. */
81 /** Safety factor for stepsize control. */
84 /** Minimal reduction factor for stepsize control. */
87 /** Maximal growth factor for stepsize control. */
91 * Build a multistep integrator with the given stepsize bounds.
138 * Build a multistep integrator with the given stepsize bounds.
249 /** Get the minimal reduction factor for stepsize control.
256 /** Set the minimal reduction factor for stepsize control.
263 /** Get the maximal growth factor for stepsize control.
270 /** Set the maximal growth factor for stepsize control
    [all...]
  /external/sonivox/arm-wt-22k/lib_src/
eas_imaadpcm.c 228 EAS_INT stepSize;
230 /* get stepsize from table */
231 stepSize = imaStepSizeTable[pState->step];
236 delta += stepSize;
240 delta += stepSize >> 1;
244 delta += stepSize >> 2;
247 delta += stepSize >> 3;
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
RadialPickerLayout.java 402 int stepSize = HOUR_VALUE_TO_DEGREES_STEP_SIZE;
403 int floor = (degrees / stepSize) * stepSize;
404 int ceiling = floor + stepSize;
409 floor -= stepSize;
442 int stepSize;
453 stepSize = HOUR_VALUE_TO_DEGREES_STEP_SIZE;
456 stepSize = MINUTE_VALUE_TO_DEGREES_STEP_SIZE;
476 int value = degrees / stepSize;
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
Camera2CaptureRequestTest.java 332 double stepSize = range / (double)DEFAULT_NUM_EXPOSURE_TIME_STEPS;
334 testValues[i] = maxExpTime - (long)(stepSize * i);
357 int stepSize = DEFAULT_SENSITIVITY_STEP_SIZE;
358 int numSteps = range / stepSize;
362 stepSize = range / numSteps;
366 testValues[i] = maxSensitivity - stepSize * i;
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
EventBuilder.java 152 * @param stepSize the size of the step
156 public EventBuilder setStep(long threadID, int stepSize, int stepDepth) {
159 mod.size = stepSize;
  /external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/
SmaliSteppingCommandProvider.java 47 int stepSize) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
MotionIndicatorView.java 274 float stepSize = 360.0f/mZCovered.getNSteps();
282 canvas.drawArc(mZBoundOut,i*stepSize-0.2f, stepSize+0.4f,
289 canvas.drawArc(mZBoundOut2, mZCovered.getLastValue()*stepSize- 1, 2,
291 canvas.drawArc(mZBoundIn2, mZCovered.getLastValue()*stepSize-1.5f, 3,
  /external/webrtc/webrtc/modules/audio_device/
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/dummy/
audio_device_dummy.cc 118 int32_t AudioDeviceDummy::SpeakerVolumeStepSize(uint16_t& stepSize) const {
140 int32_t AudioDeviceDummy::MicrophoneVolumeStepSize(uint16_t& stepSize) const {
audio_device_dummy.h 89 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const override;
97 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const override;
  /external/webrtc/webrtc/modules/audio_device/include/
audio_device.h 123 virtual int32_t SpeakerVolumeStepSize(uint16_t* stepSize) const = 0;
131 virtual int32_t MicrophoneVolumeStepSize(uint16_t* stepSize) const = 0;

Completed in 522 milliseconds

1 2 3 4