Searched refs:mMaxHistorySize (Results 1 – 2 of 2) sorted by relevance
60 private final int mMaxHistorySize; field in ReferenceWithHistory91 mMaxHistorySize = maxHistorySize; in ReferenceWithHistory()112 mValues = new ArrayDeque<>(mMaxHistorySize); in set()115 if (mValues.size() >= mMaxHistorySize) { in set()
98 private final int mMaxHistorySize; field in WatchedHistoryManager109 mMaxHistorySize = maxHistorySize; in WatchedHistoryManager()145 if (mLastIndex >= 0 && mLastIndex < mMaxHistorySize) { in loadWatchedHistory()153 } else if (mLastIndex >= mMaxHistorySize) { in loadWatchedHistory()154 for (long i = mLastIndex - mMaxHistorySize + 1; i <= mLastIndex; ++i) { in loadWatchedHistory()241 return Long.toString(index % mMaxHistorySize); in getSharedPreferencesKey()