HomeSort by relevance Sort by last modified time
    Searched full:stepsize (Results 1 - 25 of 217) sorted by null

1 2 3 4 5 6 7 8 9

  /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;
  /external/valgrind/memcheck/tests/
pointer-trace.c 33 int ptrbits, stepbits, stepsize, nptrs; local
38 stepsize = (1 << stepbits);
44 stepsize = (1 << stepbits);
54 map = mmap(0, stepsize * 2, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0);
59 map = mmap(0, stepsize * 2, PROT_WRITE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0);
66 map = mmap(0, stepsize * 2, PROT_WRITE|PROT_READ, MAP_PRIVATE, fd, 0);
69 //printf("trap 3 = %p-%p\n", map, map+stepsize*2);
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
fastquant.cpp 551 Int stepsize, QPx2 = QP << 1; local
587 stepsize = qmat[i];
588 // if(coeff>0) coeff = (16*coeff + (stepsize/2)) / stepsize;
589 // else coeff = (16*coeff - (stepsize/2)) / stepsize;
591 if (coeff >= 0) coeff += (stepsize >> 1) ;
592 else coeff -= (stepsize >> 1) ;
593 q_value = scaleArrayV2[stepsize];
597 coeff >>= (15 + (stepsize >> 4))
680 Int stepsize; local
855 Int q_value, coeff, stepsize; local
    [all...]
fastquant_inline.h 124 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp)
131 stepsize *= QP;
134 q_value = (coeff + 1) * stepsize;
140 q_value = (coeff - 1) * stepsize;
243 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp)
250 smulbb stepsize, stepsize, QP local
253 smulbb q_value, coeff, stepsize
340 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp)
347 mul stepsize, stepsize, Q local
    [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/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
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;
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...]
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...]
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...]
  /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/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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
SingleStepTest.java 60 stepFunction(JDWPConstants.StepSize.LINE, JDWPConstants.StepDepth.OVER);
71 stepFunction(JDWPConstants.StepSize.LINE, JDWPConstants.StepDepth.INTO);
81 stepFunction(JDWPConstants.StepSize.MIN, JDWPConstants.StepDepth.OVER);
91 stepFunction(JDWPConstants.StepSize.MIN, JDWPConstants.StepDepth.INTO);
97 * verifies that requested SINGLE_STEP event with StepSize and StepDepth
101 void stepFunction(byte StepSize, byte StepDepth) {
138 setRequestCommand.setNextValueAsInt(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/libvpx/libvpx/vp9/encoder/
vp9_subexp.h 38 int 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;
  /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/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));
  /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/media/mca/filterpacks/java/android/filterpacks/imageproc/
BlackWhiteFilter.java 53 "uniform float stepsize;\n" +
80 " vec3 temp = clamp((color.rgb + stepsize - black) * scale, 0.0, 1.0);\n" +
119 float stepsize = 1.0f / 255.0f; local
122 mProgram.setHostValue("stepsize", stepsize);
  /external/webrtc/webrtc/modules/audio_processing/aecm/
aecm_defines.h 42 /* Stepsize parameters */
43 #define MU_MIN 10 /* Min stepsize 2^-MU_MIN (far end energy */
45 #define MU_MAX 1 /* Max stepsize 2^-MU_MAX (far end energy */
  /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);
  /cts/tests/tests/widget/res/layout/
ratingbar_layout.xml 26 android:stepSize="0.2"

Completed in 469 milliseconds

1 2 3 4 5 6 7 8 9