Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSignalController.java39 static final int HISTORY_SIZE = 64; field in SignalController
71 mHistory = new State[HISTORY_SIZE]; in SignalController()
72 for (int i = 0; i < HISTORY_SIZE; i++) { in SignalController()
183 mHistory[mHistoryIndex++ & (HISTORY_SIZE - 1)].copyFrom(mLastState); in recordLastState()
192 for (int i = 0; i < HISTORY_SIZE; i++) { in dump()
196 for (int i = mHistoryIndex + HISTORY_SIZE - 1; in dump()
197 i >= mHistoryIndex + HISTORY_SIZE - size; i--) { in dump()
198 pw.println(" Previous State(" + (mHistoryIndex + HISTORY_SIZE - i) + "): " in dump()
199 + mHistory[i & (HISTORY_SIZE - 1)]); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerImpl.java50 private static final int HISTORY_SIZE = 32; field in StatusBarStateControllerImpl
79 private HistoricalState[] mHistoricalRecords = new HistoricalState[HISTORY_SIZE];
118 for (int i = 0; i < HISTORY_SIZE; i++) { in StatusBarStateControllerImpl()
354 for (int i = 0; i < HISTORY_SIZE; i++) { in dump()
357 for (int i = mHistoryIndex + HISTORY_SIZE; in dump()
358 i >= mHistoryIndex + HISTORY_SIZE - size + 1; i--) { in dump()
359 pw.println(" (" + (mHistoryIndex + HISTORY_SIZE - i + 1) + ")" in dump()
360 + mHistoricalRecords[i & (HISTORY_SIZE - 1)]); in dump()
365 mHistoryIndex = (mHistoryIndex + 1) % HISTORY_SIZE; in recordHistoricalState()
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.h51 if (mElements.size() > HISTORY_SIZE) { in insertRefreshRate()
68 static constexpr size_t HISTORY_SIZE = 30; variable
81 if (mElements.size() > HISTORY_SIZE) { in insertPresentTime()
94 if (mElements.size() != HISTORY_SIZE && in isRelevant()
133 static constexpr size_t HISTORY_SIZE = 90; variable
/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];
285 static constexpr size_t HISTORY_SIZE = 20; variable
298 Movement mMovements[HISTORY_SIZE];
/frameworks/native/libs/input/
DVelocityTracker.cpp394 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 …]
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientSensor.java56 private static final int HISTORY_SIZE = 50; field in AmbientSensor
87 mEventsHistory = new History(HISTORY_SIZE); in AmbientSensor()
DDisplayWhiteBalanceController.java78 private static final int HISTORY_SIZE = 50; field in DisplayWhiteBalanceController
173 mAmbientColorTemperatureHistory = new History(HISTORY_SIZE); in DisplayWhiteBalanceController()
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java326 assertEquals(0, SignalController.HISTORY_SIZE & (SignalController.HISTORY_SIZE - 1)); in testHistorySize()
/frameworks/base/core/java/android/widget/
DEditor.java4561 private static final int HISTORY_SIZE = 5; field in Editor.HandleView
4564 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()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt81294 Landroid/widget/Editor$HandleView;->HISTORY_SIZE:I