Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java507 private long[] mTiltHistoryTimestampNanos = new long[TILT_HISTORY_SIZE]; field in WindowOrientationListener.AccelSensorJudge
912 mTiltHistoryTimestampNanos[0] = Long.MIN_VALUE; in clearTiltHistoryLocked()
918 mTiltHistoryTimestampNanos[mTiltHistoryIndex] = now; in addTiltHistoryEntryLocked()
920 mTiltHistoryTimestampNanos[mTiltHistoryIndex] = Long.MIN_VALUE; in addTiltHistoryEntryLocked()
928 if (mTiltHistoryTimestampNanos[i] + FLAT_TIME_NANOS <= now) { in isFlatLocked()
938 if (mTiltHistoryTimestampNanos[i] + SWING_TIME_NANOS < now) { in isSwingingLocked()
951 return mTiltHistoryTimestampNanos[index] != Long.MIN_VALUE ? index : -1; in nextTiltHistoryIndexLocked()