Home
last modified time | relevance | path

Searched refs:mMaxHistorySize (Results 1 – 2 of 2) sorted by relevance

/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/core/
DReferenceWithHistory.java60 private final int mMaxHistorySize; field in ReferenceWithHistory
91 mMaxHistorySize = maxHistorySize; in ReferenceWithHistory()
112 mValues = new ArrayDeque<>(mMaxHistorySize); in set()
115 if (mValues.size() >= mMaxHistorySize) { in set()
/packages/apps/TV/src/com/android/tv/data/
DWatchedHistoryManager.java98 private final int mMaxHistorySize; field in WatchedHistoryManager
109 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()