Searched refs:tilt_history_time (Results 1 – 1 of 1) sorted by relevance
130 uint32_t tilt_history_time[TILT_HISTORY_SIZE]; member276 mTask.tilt_history_time[0] = 0; in clearTiltHistory()335 mTask.tilt_history_time[i] = (mTask.tilt_history_time[i] > delta) in addTiltHistoryEntry()336 ? (mTask.tilt_history_time[i] - delta) : 0; in addTiltHistoryEntry()342 mTask.tilt_history_time[index] = now - mTask.tilt_reference_time; in addTiltHistoryEntry()346 mTask.tilt_history_time[index] = 0; in addTiltHistoryEntry()352 return ((mTask.tilt_history_time[next] != 0) ? next : -1); in nextTiltHistoryIndex()362 if (mTask.tilt_reference_time + mTask.tilt_history_time[i] + FLAT_TIME <= now) { in isFlat()374 if (mTask.tilt_reference_time + mTask.tilt_history_time[i] + SWING_TIME in isSwinging()