Home
last modified time | relevance | path

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

/device/google/sunfish/vibrator/drv2624/
DVibrator.cpp85 float outPutVal = 0.0f; in targetGToVlevelsUnderLinearEquation() local
86 outPutVal = (targetG - inputCoeffs[1]) / inputCoeffs[0]; in targetGToVlevelsUnderLinearEquation()
87 if ((outPutVal > FLOAT_EPS) && (outPutVal <= 3.2)) { in targetGToVlevelsUnderLinearEquation()
88 return outPutVal; in targetGToVlevelsUnderLinearEquation()
99 float outPutVal = 0.0f; in targetGToVlevelsUnderCubicEquation() local
113 outPutVal = -inputCoeffs[1] / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
114 if ((outPutVal > FLOAT_EPS) && (outPutVal <= 3.2)) { in targetGToVlevelsUnderCubicEquation()
115 return outPutVal; in targetGToVlevelsUnderCubicEquation()
145 outPutVal = (-inputCoeffs[1] - 2 * sqrtA * cosSita) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
146 if ((outPutVal > FLOAT_EPS) && (outPutVal <= 3.2)) { in targetGToVlevelsUnderCubicEquation()
[all …]