Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DRatingBar.java251 final float newMax = mNumStars / stepSize; in setStepSize() local
252 final int newProgress = (int) (newMax / getMax() * getProgress()); in setStepSize()
253 setMax((int) newMax); in setStepSize()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DFlexibilityController.java1429 final int[] newMax = parsePercentToDropString(priorityParser.getString( in parsePercentToDropKeyValueString() local
1440 into.put(PRIORITY_MAX, newMax == null ? defaults.get(PRIORITY_MAX) : newMax); in parsePercentToDropKeyValueString()
1511 final int newMax = parser.getInt(String.valueOf(PRIORITY_MAX), in parsePriorityToIntKeyValueString() local
1522 into.put(PRIORITY_MAX, newMax); in parsePriorityToIntKeyValueString()
1528 return oldMax != newMax in parsePriorityToIntKeyValueString()
1559 final long newMax = parser.getLong(String.valueOf(PRIORITY_MAX), in parsePriorityToLongKeyValueString() local
1570 into.put(PRIORITY_MAX, newMax); in parsePriorityToLongKeyValueString()
1576 return oldMax != newMax in parsePriorityToLongKeyValueString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationControllerWindowlessMagnifierTest.java1162 final double newMax = Math.max(mirrorView.getScaleX(), oldMax); in onSingleTap_enabled_scaleAnimates()
1163 assertTrue(maxScaleX.compareAndSet(oldMax, newMax)); in onSingleTap_enabled_scaleAnimates()
DWindowMagnificationControllerTest.java1134 final double newMax = Math.max(mirrorView.getScaleX(), oldMax); in onSingleTap_enabled_scaleAnimates()
1135 assertTrue(maxScaleX.compareAndSet(oldMax, newMax)); in onSingleTap_enabled_scaleAnimates()