Searched refs:stepSize (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DRatingBar.java95 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) { argument
215 if (stepSize <= 0) {
219 final float newMax = mNumStars / stepSize;
H A DRadialTimePickerView.java269 final int stepSize = DEGREES_FOR_ONE_HOUR;
270 int floor = (degrees / stepSize) * stepSize;
271 final int ceiling = floor + stepSize;
276 floor -= stepSize;
1077 final int stepSize;
1082 stepSize = 1;
1095 stepSize = 5;
1096 initialStep = getCurrentMinute() / stepSize;
1101 final int nextValue = (initialStep + step) * stepSize;
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialPickerLayout.java400 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;
791 int stepSize
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2CaptureRequestTest.java332 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;
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java1946 final int stepSize = Integer.parseInt(nextArgRequired());
1996 maxChange = Math.min(stepSize, currentPoint - minPoint);
2004 maxChange = Math.min(stepSize, maxPoint - currentPoint);
2012 maxChange = Math.min(stepSize, currentPoint - startPoint);
2108 final int stepSize = Integer.parseInt(nextArgRequired());
2131 travelRight = moveTask(taskId, taskBounds, stackBounds, stepSize,
2137 travelDown = moveTask(taskId, taskBounds, stackBounds, stepSize,
2143 travelLeft = moveTask(taskId, taskBounds, stackBounds, stepSize,
2149 travelUp = moveTask(taskId, taskBounds, stackBounds, stepSize,
2163 private int moveTask(int taskId, Rect taskRect, Rect stackRect, int stepSize, argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIPlaybackRate.c166 SLpermille stepSize = thiz->mStepSize; local
170 *pStepSize = stepSize;
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestSlowDownUri.cpp71 SLpermille minRate, maxRate, stepSize, rate = 1000; local
76 res = (*pRateItf)->GetRateRange(pRateItf, 0, &minRate, &maxRate, &stepSize, &capa);
306 SLpermille minRate, maxRate, stepSize; local
308 res = (*rateItf)->GetRateRange(rateItf, index, &minRate, &maxRate, &stepSize,

Completed in 331 milliseconds