Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DVelocityTracker.cpp355 const uint32_t LeastSquaresVelocityTrackerStrategy::HISTORY_SIZE; member in android::LeastSquaresVelocityTrackerStrategy
378 if (++mIndex == HISTORY_SIZE) { in addMovement()
562 float x[HISTORY_SIZE]; in getEstimator()
563 float y[HISTORY_SIZE]; in getEstimator()
564 float w[HISTORY_SIZE]; in getEstimator()
565 float time[HISTORY_SIZE]; in getEstimator()
585 index = (index == 0 ? HISTORY_SIZE : index) - 1; in getEstimator()
586 } while (++m < HISTORY_SIZE); in getEstimator()
635 uint32_t nextIndex = (index + 1) % HISTORY_SIZE; in chooseWeight()
812 const uint32_t LegacyVelocityTrackerStrategy::HISTORY_SIZE; member in android::LegacyVelocityTrackerStrategy
[all …]
/frameworks/native/include/input/
DVelocityTracker.h173 static const uint32_t HISTORY_SIZE = 20; variable
190 Movement mMovements[HISTORY_SIZE];
248 static const uint32_t HISTORY_SIZE = 20; variable
264 Movement mMovements[HISTORY_SIZE];
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java85 static final int HISTORY_SIZE = 16; field in NetworkControllerImpl
1530 mHistory = new State[HISTORY_SIZE]; in SignalController()
1531 for (int i = 0; i < HISTORY_SIZE; i++) { in SignalController()
1647 mHistory[mHistoryIndex++ & (HISTORY_SIZE - 1)].copyFrom(mLastState); in recordLastState()
1656 for (int i = 0; i < HISTORY_SIZE; i++) { in dump()
1660 for (int i = mHistoryIndex + HISTORY_SIZE - 1; in dump()
1661 i >= mHistoryIndex + HISTORY_SIZE - size; i--) { in dump()
1662 pw.println(" Previous State(" + (mHistoryIndex + HISTORY_SIZE - i) + ": " in dump()
1663 + mHistory[i & (HISTORY_SIZE - 1)]); in dump()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp89 #define HISTORY_SIZE 100 macro
370 mBufferHead = tick - HISTORY_SIZE; in decode()
374 if (tick - mBufferHead > HISTORY_SIZE) { in decode()
376 mBufferHead = tick - HISTORY_SIZE; in decode()
/frameworks/base/core/java/android/widget/
DEditor.java3223 private static final int HISTORY_SIZE = 5;
3226 private final long[] mPreviousOffsetsTimes = new long[HISTORY_SIZE];
3227 private final int[] mPreviousOffsets = new int[HISTORY_SIZE];
3237 mPreviousOffsetIndex = (mPreviousOffsetIndex + 1) % HISTORY_SIZE;
3247 final int iMax = Math.min(mNumberPreviousOffsets, HISTORY_SIZE);
3250 index = (mPreviousOffsetIndex - i + HISTORY_SIZE) % HISTORY_SIZE;