Home
last modified time | relevance | path

Searched refs:numSteps (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2CaptureRequestTest.java359 int numSteps = range / stepSize; in getSensitivityTestValues() local
361 if (numSteps > DEFAULT_NUM_SENSITIVITY_STEPS) { in getSensitivityTestValues()
362 numSteps = DEFAULT_NUM_SENSITIVITY_STEPS; in getSensitivityTestValues()
363 stepSize = range / numSteps; in getSensitivityTestValues()
365 int[] testValues = new int[numSteps + 1]; in getSensitivityTestValues()
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DAmbientKeyboardBacklightController.java174 int numSteps = mBrightnessSteps.length; in handleAmbientLuxChange() local
185 for (; newStepIndex < numSteps; newStepIndex++) { in handleAmbientLuxChange()
333 int numSteps = mBrightnessSteps.length; in initConfiguration()
334 if (numSteps == 0 || mBrightnessSteps[0].mDecreaseLuxThreshold != Integer.MIN_VALUE in initConfiguration()
335 || mBrightnessSteps[numSteps - 1].mIncreaseLuxThreshold != Integer.MAX_VALUE) { in initConfiguration()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
H A DGestureManifoldTest.java135 float numSteps = distance / (float) PATH_STEP_PIXELS; in fillPath() local
136 float stepX = (float) deltaX / numSteps; in fillPath()
137 float stepY = (float) deltaY / numSteps; in fillPath()
140 for (int step = 1; step < numSteps; ++step) { in fillPath()
/aosp14/frameworks/base/core/java/android/os/
H A DBatteryStats.java1346 public LevelStepTracker(int numSteps, long[] steps) { in LevelStepTracker() argument
1347 mNumStepDurations = numSteps; in LevelStepTracker()
1348 mStepDurations = new long[numSteps]; in LevelStepTracker()
1349 System.arraycopy(steps, 0, mStepDurations, 0, numSteps); in LevelStepTracker()
1508 final int numSteps = mNumStepDurations; in computeTimePerLevel() local
1511 if (numSteps <= 0) { in computeTimePerLevel()
1515 for (int i=0; i<numSteps; i++) { in computeTimePerLevel()
1518 return total / numSteps; in computeTimePerLevel()