Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.h51 if (mElements.size() > HISTORY_SIZE) { in insertRefreshRate()
58 if (mElements.size() == HISTORY_SIZE) { in getRefreshRateAvg()
68 static constexpr size_t HISTORY_SIZE = 30; variable
81 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSignalController.java38 static final int HISTORY_SIZE = 64; field in SignalController
70 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerImpl.java48 private static final int HISTORY_SIZE = 32; field in StatusBarStateControllerImpl
77 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()
/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.java73 private static final int HISTORY_SIZE = 50; field in DisplayWhiteBalanceController
139 mAmbientColorTemperatureHistory = new History(HISTORY_SIZE); in DisplayWhiteBalanceController()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp91 #define HISTORY_SIZE 100 macro
372 mBufferHead = tick - HISTORY_SIZE; in decode()
376 if (tick - mBufferHead > HISTORY_SIZE) { in decode()
378 mBufferHead = tick - HISTORY_SIZE; in decode()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java325 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.txt87119 Landroid/widget/Editor$HandleView;->HISTORY_SIZE:I