Searched refs:maxHistorySize (Results 1 – 2 of 2) sorted by relevance
76 ReferenceWithHistory(@IntRange(from = 1) int maxHistorySize) { in ReferenceWithHistory()77 this(maxHistorySize, String::valueOf); in ReferenceWithHistory()86 ReferenceWithHistory(@IntRange(from = 1) int maxHistorySize, in ReferenceWithHistory()88 if (maxHistorySize < 1) { in ReferenceWithHistory()89 throw new IllegalArgumentException("maxHistorySize < 1: " + maxHistorySize); in ReferenceWithHistory()91 mMaxHistorySize = maxHistorySize; in ReferenceWithHistory()
107 WatchedHistoryManager(Context context, int maxHistorySize, Executor executor) { in WatchedHistoryManager() argument109 mMaxHistorySize = maxHistorySize; in WatchedHistoryManager()