Home
last modified time | relevance | path

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

/device/google/sunfish/vibrator/drv2624/
DVibrator.cpp101 float cosSita = 0.0f, sinSitaSqrt3 = 0.0f, sqrtA = 0.0f; in targetGToVlevelsUnderCubicEquation() local
141 cosSita = cos(sita / 3); in targetGToVlevelsUnderCubicEquation()
145 outPutVal = (-inputCoeffs[1] - 2 * sqrtA * cosSita) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
149 outPutVal = (-inputCoeffs[1] + sqrtA * (cosSita + sinSitaSqrt3)) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
153 outPutVal = (-inputCoeffs[1] + sqrtA * (cosSita - sinSitaSqrt3)) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
/device/google/barbet/vibrator/drv2624/
DVibrator.cpp180 float cosSita = 0.0f, sinSitaSqrt3 = 0.0f, sqrtA = 0.0f; in targetGToVlevelsUnderCubicEquation() local
220 cosSita = cos(sita / 3); in targetGToVlevelsUnderCubicEquation()
224 outPutVal = (-inputCoeffs[1] - 2 * sqrtA * cosSita) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
228 outPutVal = (-inputCoeffs[1] + sqrtA * (cosSita + sinSitaSqrt3)) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
232 outPutVal = (-inputCoeffs[1] + sqrtA * (cosSita - sinSitaSqrt3)) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
/device/google/redfin/vibrator/drv2624/
DVibrator.cpp177 float cosSita = 0.0f, sinSitaSqrt3 = 0.0f, sqrtA = 0.0f; in targetGToVlevelsUnderCubicEquation() local
217 cosSita = cos(sita / 3); in targetGToVlevelsUnderCubicEquation()
221 outPutVal = (-inputCoeffs[1] - 2 * sqrtA * cosSita) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
225 outPutVal = (-inputCoeffs[1] + sqrtA * (cosSita + sinSitaSqrt3)) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
229 outPutVal = (-inputCoeffs[1] + sqrtA * (cosSita - sinSitaSqrt3)) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()