Searched refs:maxHistorySize (Results 1 – 4 of 4) sorted by relevance
76 public ReferenceWithHistory(@IntRange(from = 1) int maxHistorySize) { in ReferenceWithHistory()77 this(maxHistorySize, String::valueOf); in ReferenceWithHistory()86 public 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()
68 public ReferenceWithHistory(@IntRange(from = 1) int maxHistorySize) { in ReferenceWithHistory()69 if (maxHistorySize < 1) { in ReferenceWithHistory()70 throw new IllegalArgumentException("maxHistorySize < 1: " + maxHistorySize); in ReferenceWithHistory()72 this.mMaxHistorySize = maxHistorySize; in ReferenceWithHistory()
54 public ArrayMapWithHistory(@IntRange(from = 1) int maxHistorySize) { in ArrayMapWithHistory()55 if (maxHistorySize < 1) { in ArrayMapWithHistory()56 throw new IllegalArgumentException("maxHistorySize < 1: " + maxHistorySize); in ArrayMapWithHistory()58 mMaxHistorySize = maxHistorySize; in ArrayMapWithHistory()
107 WatchedHistoryManager(Context context, int maxHistorySize, Executor executor) { in WatchedHistoryManager() argument109 mMaxHistorySize = maxHistorySize; in WatchedHistoryManager()