Searched refs:HISTORY_SIZE (Results 1 – 10 of 10) sorted by relevance
51 if (mElements.size() > HISTORY_SIZE) { in insertRefreshRate()58 if (mElements.size() == HISTORY_SIZE) { in getRefreshRateAvg()68 static constexpr size_t HISTORY_SIZE = 30; variable81 if (mElements.size() > HISTORY_SIZE) { in insertPresentTime()92 if (mElements.size() == HISTORY_SIZE && in isRelevant()93 mElements.at(HISTORY_SIZE - 1) > obsoleteEpsilon) { in isRelevant()103 static constexpr size_t HISTORY_SIZE = 10; variable
38 static final int HISTORY_SIZE = 64; field in SignalController70 mHistory = new State[HISTORY_SIZE]; in SignalController()71 for (int i = 0; i < HISTORY_SIZE; i++) { in SignalController()182 mHistory[mHistoryIndex++ & (HISTORY_SIZE - 1)].copyFrom(mLastState); in recordLastState()191 for (int i = 0; i < HISTORY_SIZE; i++) { in dump()195 for (int i = mHistoryIndex + HISTORY_SIZE - 1; in dump()196 i >= mHistoryIndex + HISTORY_SIZE - size; i--) { in dump()197 pw.println(" Previous State(" + (mHistoryIndex + HISTORY_SIZE - i) + "): " in dump()198 + mHistory[i & (HISTORY_SIZE - 1)]); in dump()
48 private static final int HISTORY_SIZE = 32; field in StatusBarStateControllerImpl77 private HistoricalState[] mHistoricalRecords = new HistoricalState[HISTORY_SIZE];106 for (int i = 0; i < HISTORY_SIZE; i++) { in StatusBarStateControllerImpl()313 for (int i = 0; i < HISTORY_SIZE; i++) { in dump()316 for (int i = mHistoryIndex + HISTORY_SIZE; in dump()317 i >= mHistoryIndex + HISTORY_SIZE - size + 1; i--) { in dump()318 pw.println(" (" + (mHistoryIndex + HISTORY_SIZE - i + 1) + ")" in dump()319 + mHistoricalRecords[i & (HISTORY_SIZE - 1)]); in dump()324 mHistoryIndex = (mHistoryIndex + 1) % HISTORY_SIZE; in recordHistoricalState()
173 static const uint32_t HISTORY_SIZE = 20; variable190 Movement mMovements[HISTORY_SIZE];248 static const uint32_t HISTORY_SIZE = 20; variable264 Movement mMovements[HISTORY_SIZE];285 static constexpr size_t HISTORY_SIZE = 20; variable298 Movement mMovements[HISTORY_SIZE];
394 if (mIndex == HISTORY_SIZE) { in addMovement()631 float x[HISTORY_SIZE]; in getEstimator()632 float y[HISTORY_SIZE]; in getEstimator()633 float w[HISTORY_SIZE]; in getEstimator()634 float time[HISTORY_SIZE]; in getEstimator()654 index = (index == 0 ? HISTORY_SIZE : index) - 1; in getEstimator()655 } while (++m < HISTORY_SIZE); in getEstimator()720 uint32_t nextIndex = (index + 1) % HISTORY_SIZE; in chooseWeight()915 if (++mIndex == HISTORY_SIZE) { in addMovement()942 uint32_t nextOldestIndex = (oldestIndex == 0 ? HISTORY_SIZE : oldestIndex) - 1; in getEstimator()[all …]
56 private static final int HISTORY_SIZE = 50; field in AmbientSensor87 mEventsHistory = new History(HISTORY_SIZE); in AmbientSensor()
73 private static final int HISTORY_SIZE = 50; field in DisplayWhiteBalanceController139 mAmbientColorTemperatureHistory = new History(HISTORY_SIZE); in DisplayWhiteBalanceController()
91 #define HISTORY_SIZE 100 macro372 mBufferHead = tick - HISTORY_SIZE; in decode()376 if (tick - mBufferHead > HISTORY_SIZE) { in decode()378 mBufferHead = tick - HISTORY_SIZE; in decode()
325 assertEquals(0, SignalController.HISTORY_SIZE & (SignalController.HISTORY_SIZE - 1)); in testHistorySize()
4561 private static final int HISTORY_SIZE = 5; field in Editor.HandleView4564 private final long[] mPreviousOffsetsTimes = new long[HISTORY_SIZE];4565 private final int[] mPreviousOffsets = new int[HISTORY_SIZE];4575 mPreviousOffsetIndex = (mPreviousOffsetIndex + 1) % HISTORY_SIZE; in addPositionToTouchUpFilter()4585 final int iMax = Math.min(mNumberPreviousOffsets, HISTORY_SIZE); in filterOnTouchUp()4588 index = (mPreviousOffsetIndex - i + HISTORY_SIZE) % HISTORY_SIZE; in filterOnTouchUp()