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

/frameworks/base/core/java/android/widget/
H A DRatingBar.java96 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) { argument
220 if (stepSize <= 0) {
224 final float newMax = mNumStars / stepSize;
H A DRadialTimePickerView.java294 final int stepSize = DEGREES_FOR_ONE_HOUR;
295 int floor = (degrees / stepSize) * stepSize;
296 final int ceiling = floor + stepSize;
301 floor -= stepSize;
1114 final int stepSize;
1119 stepSize = 1;
1132 stepSize = 5;
1133 initialStep = getCurrentMinute() / stepSize;
1138 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/services/core/java/com/android/server/am/
H A DActivityManagerShellCommand.java2133 final int stepSize = Integer.parseInt(getNextArgRequired());
2178 maxChange = Math.min(stepSize, currentPoint - minPoint);
2190 maxChange = Math.min(stepSize, maxPoint - currentPoint);
2202 maxChange = Math.min(stepSize, currentPoint - startPoint);
2299 final int stepSize = Integer.parseInt(getNextArgRequired());
2318 travelRight = moveTask(taskId, taskBounds, stackBounds, stepSize,
2325 travelDown = moveTask(taskId, taskBounds, stackBounds, stepSize,
2332 travelLeft = moveTask(taskId, taskBounds, stackBounds, stepSize,
2339 travelUp = moveTask(taskId, taskBounds, stackBounds, stepSize,
2349 int moveTask(int taskId, Rect taskRect, Rect stackRect, int stepSize, argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIPlaybackRate.cpp166 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 348 milliseconds