Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java561 private int mTiltHistoryIndex; field in WindowOrientationListener.AccelSensorJudge
968 mTiltHistoryIndex = 1; in clearTiltHistoryLocked()
972 mTiltHistory[mTiltHistoryIndex] = tilt; in addTiltHistoryEntryLocked()
973 mTiltHistoryTimestampNanos[mTiltHistoryIndex] = now; in addTiltHistoryEntryLocked()
974 mTiltHistoryIndex = (mTiltHistoryIndex + 1) % TILT_HISTORY_SIZE; in addTiltHistoryEntryLocked()
975 mTiltHistoryTimestampNanos[mTiltHistoryIndex] = Long.MIN_VALUE; in addTiltHistoryEntryLocked()
979 for (int i = mTiltHistoryIndex; (i = nextTiltHistoryIndexLocked(i)) >= 0; ) { in isFlatLocked()
992 for (int i = mTiltHistoryIndex; (i = nextTiltHistoryIndexLocked(i)) >= 0; ) { in isSwingingLocked()
1010 int index = nextTiltHistoryIndexLocked(mTiltHistoryIndex); in getLastTiltLocked()