Searched refs:tilt_angle (Results 1 – 3 of 3) sorted by relevance
156 static bool isTiltAngleAcceptable(int rotation, int8_t tilt_angle) in isTiltAngleAcceptable() argument158 return ((tilt_angle >= Tilt_Tolerance[rotation][0]) in isTiltAngleAcceptable()159 && (tilt_angle <= Tilt_Tolerance[rotation][1])); in isTiltAngleAcceptable()218 static bool isPredictedRotationAcceptable(uint64_t now, int8_t tilt_angle) in isPredictedRotationAcceptable() argument225 int abs_tilt = (tilt_angle >= 0) ? tilt_angle : -tilt_angle; in isPredictedRotationAcceptable()401 int8_t tilt_angle; in add_samples() local471 tilt_angle = tilt_tmp; in add_samples()472 addTiltHistoryEntry(now, tilt_angle); in add_samples()479 if (isSwinging(now, tilt_angle)) { in add_samples()486 if (tilt_angle <= TILT_OVERHEAD_ENTER) { in add_samples()[all …]
239 int32_t tilt_angle; member
162 int32_t tilt_angle; member