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.java501 private long[] mTiltHistoryTimestampNanos = new long[TILT_HISTORY_SIZE]; field in WindowOrientationListener.AccelSensorJudge
906 mTiltHistoryTimestampNanos[0] = Long.MIN_VALUE; in clearTiltHistoryLocked()
912 mTiltHistoryTimestampNanos[mTiltHistoryIndex] = now; in addTiltHistoryEntryLocked()
914 mTiltHistoryTimestampNanos[mTiltHistoryIndex] = Long.MIN_VALUE; in addTiltHistoryEntryLocked()
922 if (mTiltHistoryTimestampNanos[i] + FLAT_TIME_NANOS <= now) { in isFlatLocked()
932 if (mTiltHistoryTimestampNanos[i] + SWING_TIME_NANOS < now) { in isSwingingLocked()
945 return mTiltHistoryTimestampNanos[index] != Long.MIN_VALUE ? index : -1; in nextTiltHistoryIndexLocked()