Home
last modified time | relevance | path

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

/device/google/sunfish/vibrator/drv2624/
DVibrator.cpp60 #define FLOAT_EPS 1e-6 macro
87 if ((outPutVal > FLOAT_EPS) && (outPutVal <= 3.2)) { in targetGToVlevelsUnderLinearEquation()
111 if ((fabs(AA) <= FLOAT_EPS) && (fabs(BB) <= FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
114 if ((outPutVal > FLOAT_EPS) && (outPutVal <= 3.2)) { in targetGToVlevelsUnderCubicEquation()
118 } else if (Delta > FLOAT_EPS) { in targetGToVlevelsUnderCubicEquation()
123 if ((Y1 < -FLOAT_EPS) && (Y2 > FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
126 } else if ((Y1 > FLOAT_EPS) && (Y2 < -FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
129 } else if ((Y1 < -FLOAT_EPS) && (Y2 < -FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
137 } else if (Delta < -FLOAT_EPS) { in targetGToVlevelsUnderCubicEquation()
146 if ((outPutVal > FLOAT_EPS) && (outPutVal <= 3.2)) { in targetGToVlevelsUnderCubicEquation()
[all …]
/device/google/bramble/vibrator/drv2624/
DVibrator.cpp74 #define FLOAT_EPS 1e-7 macro
163 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderLinearEquation()
187 if ((fabs(AA) <= FLOAT_EPS) && (fabs(BB) <= FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
190 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderCubicEquation()
194 } else if (Delta > FLOAT_EPS) { in targetGToVlevelsUnderCubicEquation()
199 if ((Y1 < -FLOAT_EPS) && (Y2 > FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
202 } else if ((Y1 > FLOAT_EPS) && (Y2 < -FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
205 } else if ((Y1 < -FLOAT_EPS) && (Y2 < -FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
213 } else if (Delta < -FLOAT_EPS) { in targetGToVlevelsUnderCubicEquation()
222 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderCubicEquation()
[all …]
/device/google/barbet/vibrator/drv2624/
DVibrator.cpp75 #define FLOAT_EPS 1e-7 macro
166 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderLinearEquation()
190 if ((fabs(AA) <= FLOAT_EPS) && (fabs(BB) <= FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
193 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderCubicEquation()
197 } else if (Delta > FLOAT_EPS) { in targetGToVlevelsUnderCubicEquation()
202 if ((Y1 < -FLOAT_EPS) && (Y2 > FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
205 } else if ((Y1 > FLOAT_EPS) && (Y2 < -FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
208 } else if ((Y1 < -FLOAT_EPS) && (Y2 < -FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
216 } else if (Delta < -FLOAT_EPS) { in targetGToVlevelsUnderCubicEquation()
225 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderCubicEquation()
[all …]
/device/google/redfin/vibrator/drv2624/
DVibrator.cpp74 #define FLOAT_EPS 1e-7 macro
163 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderLinearEquation()
187 if ((fabs(AA) <= FLOAT_EPS) && (fabs(BB) <= FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
190 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderCubicEquation()
194 } else if (Delta > FLOAT_EPS) { in targetGToVlevelsUnderCubicEquation()
199 if ((Y1 < -FLOAT_EPS) && (Y2 > FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
202 } else if ((Y1 > FLOAT_EPS) && (Y2 < -FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
205 } else if ((Y1 < -FLOAT_EPS) && (Y2 < -FLOAT_EPS)) { in targetGToVlevelsUnderCubicEquation()
213 } else if (Delta < -FLOAT_EPS) { in targetGToVlevelsUnderCubicEquation()
222 if ((outPutVal > FLOAT_EPS) && (outPutVal <= MAX_VOLTAGE)) { in targetGToVlevelsUnderCubicEquation()
[all …]