Home
last modified time | relevance | path

Searched refs:stepSize (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/widget/
DRatingBar.java95 final float stepSize = a.getFloat(R.styleable.RatingBar_stepSize, -1); in RatingBar() local
102 if (stepSize >= 0) { in RatingBar()
103 setStepSize(stepSize); in RatingBar()
214 public void setStepSize(float stepSize) { in setStepSize() argument
215 if (stepSize <= 0) { in setStepSize()
219 final float newMax = mNumStars / stepSize; in setStepSize()
DRadialTimePickerView.java293 final int stepSize = DEGREES_FOR_ONE_HOUR; in snapOnly30s() local
294 int floor = (degrees / stepSize) * stepSize; in snapOnly30s()
295 final int ceiling = floor + stepSize; in snapOnly30s()
300 floor -= stepSize; in snapOnly30s()
1101 final int stepSize; in adjustPicker() local
1106 stepSize = 1; in adjustPicker()
1119 stepSize = 5; in adjustPicker()
1120 initialStep = getCurrentMinute() / stepSize; in adjustPicker()
1125 final int nextValue = (initialStep + step) * stepSize; in adjustPicker()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java400 int stepSize = HOUR_VALUE_TO_DEGREES_STEP_SIZE; in snapOnly30s() local
401 int floor = (degrees / stepSize) * stepSize; in snapOnly30s()
402 int ceiling = floor + stepSize; in snapOnly30s()
407 floor -= stepSize; in snapOnly30s()
440 int stepSize; in reselectSelector() local
451 stepSize = HOUR_VALUE_TO_DEGREES_STEP_SIZE; in reselectSelector()
454 stepSize = MINUTE_VALUE_TO_DEGREES_STEP_SIZE; in reselectSelector()
474 int value = degrees / stepSize; in reselectSelector()
791 int stepSize = 0; in performAccessibilityAction() local
794 stepSize = HOUR_VALUE_TO_DEGREES_STEP_SIZE; in performAccessibilityAction()
[all …]
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java1956 final int stepSize = Integer.parseInt(nextArgRequired());
2006 maxChange = Math.min(stepSize, currentPoint - minPoint);
2014 maxChange = Math.min(stepSize, maxPoint - currentPoint);
2022 maxChange = Math.min(stepSize, currentPoint - startPoint);
2118 final int stepSize = Integer.parseInt(nextArgRequired());
2141 travelRight = moveTask(taskId, taskBounds, stackBounds, stepSize,
2147 travelDown = moveTask(taskId, taskBounds, stackBounds, stepSize,
2153 travelLeft = moveTask(taskId, taskBounds, stackBounds, stepSize,
2159 travelUp = moveTask(taskId, taskBounds, stackBounds, stepSize,
2173 private int moveTask(int taskId, Rect taskRect, Rect stackRect, int stepSize,
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2CaptureRequestTest.java332 double stepSize = range / (double)DEFAULT_NUM_EXPOSURE_TIME_STEPS; in getExposureTimeTestValues() local
334 testValues[i] = maxExpTime - (long)(stepSize * i); in getExposureTimeTestValues()
357 int stepSize = DEFAULT_SENSITIVITY_STEP_SIZE; in getSensitivityTestValues() local
358 int numSteps = range / stepSize; in getSensitivityTestValues()
362 stepSize = range / numSteps; in getSensitivityTestValues()
366 testValues[i] = maxSensitivity - stepSize * i; in getSensitivityTestValues()
/frameworks/wilhelm/tests/mimeUri/
DslesTestSlowDownUri.cpp71 SLpermille minRate, maxRate, stepSize, rate = 1000; in PlayEventCallback() local
76 res = (*pRateItf)->GetRateRange(pRateItf, 0, &minRate, &maxRate, &stepSize, &capa); in PlayEventCallback()
306 SLpermille minRate, maxRate, stepSize; in TestSlowDownUri() local
308 res = (*rateItf)->GetRateRange(rateItf, index, &minRate, &maxRate, &stepSize, in TestSlowDownUri()
/frameworks/wilhelm/src/itf/
DIPlaybackRate.c166 SLpermille stepSize = thiz->mStepSize; in IPlaybackRate_GetRateRange() local
170 *pStepSize = stepSize; in IPlaybackRate_GetRateRange()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1156 field public static final int stepSize = 16843078; // 0x1010146
/frameworks/base/api/
Dcurrent.txt1185 field public static final int stepSize = 16843078; // 0x1010146
Dsystem-current.txt1296 field public static final int stepSize = 16843078; // 0x1010146
Dtest-current.txt1185 field public static final int stepSize = 16843078; // 0x1010146