Searched refs:tilt_history_time (Results 1 – 1 of 1) sorted by relevance
97 uint32_t tilt_history_time[TILT_HISTORY_SIZE]; member219 mTask.tilt_history_time[0] = 0; in clearTiltHistory()278 mTask.tilt_history_time[i] = (mTask.tilt_history_time[i] > delta) in addTiltHistoryEntry()279 ? (mTask.tilt_history_time[i] - delta) : 0; in addTiltHistoryEntry()285 mTask.tilt_history_time[index] = now - mTask.tilt_reference_time; in addTiltHistoryEntry()289 mTask.tilt_history_time[index] = 0; in addTiltHistoryEntry()295 return ((mTask.tilt_history_time[next] != 0) ? next : -1); in nextTiltHistoryIndex()305 if (mTask.tilt_reference_time + mTask.tilt_history_time[i] + FLAT_TIME <= now) { in isFlat()317 if (mTask.tilt_reference_time + mTask.tilt_history_time[i] + SWING_TIME in isSwinging()