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/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
Slider.java 31 public Slider (float initialValue, final float min, final float max, float stepSize) {
32 spinner = new JSpinner(new SpinnerNumberModel(initialValue, min, max, stepSize));
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
ProgressBar.java 46 private float min, max, stepSize;
58 public ProgressBar (float min, float max, float stepSize, boolean vertical, Skin skin) {
59 this(min, max, stepSize, vertical, skin.get("default-" + (vertical ? "vertical" : "horizontal"), ProgressBarStyle.class));
62 public ProgressBar (float min, float max, float stepSize, boolean vertical, Skin skin, String styleName) {
63 this(min, max, stepSize, vertical, skin.get(styleName, ProgressBarStyle.class));
68 * max values determine the range the values of this progress bar can take on, the stepSize parameter specifies the distance
71 * E.g. min could be 4, max could be 10 and stepSize could be 0.2, giving you a total of 30 values, 4.0 4.2, 4.4 and so on.
74 * @param stepSize the step size between values
76 public ProgressBar (float min, float max, float stepSize, boolean vertical, ProgressBarStyle style) {
78 if (stepSize <= 0) throw new IllegalArgumentException("stepSize must be > 0: " + stepSize)
    [all...]
Slider.java 43 public Slider (float min, float max, float stepSize, boolean vertical, Skin skin) {
44 this(min, max, stepSize, vertical, skin.get("default-" + (vertical ? "vertical" : "horizontal"), SliderStyle.class));
47 public Slider (float min, float max, float stepSize, boolean vertical, Skin skin, String styleName) {
48 this(min, max, stepSize, vertical, skin.get(styleName, SliderStyle.class));
53 * the range the values of this slider can take on, the stepSize parameter specifies the distance between individual values.
54 * E.g. min could be 4, max could be 10 and stepSize could be 0.2, giving you a total of 30 values, 4.0 4.2, 4.4 and so on.
57 * @param stepSize the step size between values
59 public Slider (float min, float max, float stepSize, boolean vertical, SliderStyle style) {
60 super(min, max, stepSize, vertical, style);
  /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...]
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/
NewSlider.java 38 float value, min, max, stepSize, sliderMin, sliderMax;
44 public NewSlider (float initialValue, final float min, final float max, float stepSize, final float sliderMin,
48 this.stepSize = stepSize;
109 this.value = (int)(Math.max(min, Math.min(max, value)) / stepSize) * stepSize;
Slider.java 42 public Slider (float initialValue, final float min, final float max, float stepSize, final float sliderMin,
44 spinner = new JSpinner(new SpinnerNumberModel(initialValue, min, max, stepSize));
  /frameworks/base/core/java/android/widget/
RatingBar.java 95 final float stepSize = a.getFloat(R.styleable.RatingBar_stepSize, -1);
102 if (stepSize >= 0) {
103 setStepSize(stepSize);
211 * @param stepSize The step size of this rating bar. For example, if
214 public void setStepSize(float stepSize) {
215 if (stepSize <= 0) {
219 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 400 int stepSize = HOUR_VALUE_TO_DEGREES_STEP_SIZE;
401 int floor = (degrees / stepSize) * stepSize;
402 int ceiling = floor + stepSize;
407 floor -= stepSize;
440 int stepSize;
451 stepSize = HOUR_VALUE_TO_DEGREES_STEP_SIZE;
454 stepSize = MINUTE_VALUE_TO_DEGREES_STEP_SIZE;
474 int value = degrees / stepSize;
    [all...]
  /external/chromium-trace/catapult/netlog_viewer/netlog_viewer/
timeline_data_series.js 76 * points, starting at |startTime|, and |stepSize| milliseconds apart.
80 getValues: function(startTime, stepSize, count) {
83 this.cacheStepSize_ == stepSize &&
89 this.cacheValues_ = this.getValuesInternal_(startTime, stepSize, count);
91 this.cacheStepSize_ = stepSize;
105 getValuesInternal_: function(startTime, stepSize, count) {
117 time += stepSize;
269 getValuesInternal_: function(startTime, stepSize, count) {
270 // Find the first DataPoint after |startTime| - |stepSize|.
273 this.dataPoints_[nextPoint].time < startTime - 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;
  /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,

Completed in 747 milliseconds

1 2 3 4