Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrientationListener.java612 private static final int TILT_HISTORY_SIZE = 200; field in WindowOrientationListener.AccelSensorJudge
613 private float[] mTiltHistory = new float[TILT_HISTORY_SIZE];
614 private long[] mTiltHistoryTimestampNanos = new long[TILT_HISTORY_SIZE];
1028 mTiltHistoryIndex = (mTiltHistoryIndex + 1) % TILT_HISTORY_SIZE; in addTiltHistoryEntryLocked()
1059 index = (index == 0 ? TILT_HISTORY_SIZE : index) - 1; in nextTiltHistoryIndexLocked()