Home
last modified time | relevance | path

Searched refs:startDp (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/content/res/
DFontScaleConverterImpl.java108 final float startDp; in lookupAndInterpolate() local
114 startDp = targetValues[sourceValues.length - 1]; in lookupAndInterpolate()
118 final float scalingFactor = startDp / startSp; in lookupAndInterpolate()
123 startDp = 0; in lookupAndInterpolate()
129 startDp = targetValues[lowerIndex]; in lookupAndInterpolate()
134 * MathUtils.constrainedMap(startDp, endDp, startSp, endSp, sourceValuePositive); in lookupAndInterpolate()
DFontScaleConverterFactory.java242 float startDp = start.convertSpToDp(sp); in createInterpolatedTableBetween() local
244 dpInterpolated[i] = MathUtils.lerp(startDp, endDp, interpolationPoint); in createInterpolatedTableBetween()