Searched refs:trimToSize (Results 1 – 7 of 7) sorted by relevance
199 public final void trimToSize(int trimToSize) { in trimToSize() method in LruPool201 unsafeTrimToSize(trimToSize); in trimToSize()226 private void unsafeTrimToSize(int trimToSize) { in unsafeTrimToSize() argument227 while (mSize > trimToSize && !mLruKeyList.isEmpty()) { in unsafeTrimToSize()
155 trimToSize(); in add()197 private void trimToSize() { in trimToSize() method in FastPairAccountKeyStorage240 trimToSize(); in load()
99 trimToSize(); in storeImage()134 private void trimToSize() { in trimToSize() method in AvrcpCoverArtStorage
441 assertThat(ArrayUtils.trimToSize((Integer[]) null, 1)).isNull(); in testTrimToSize()442 assertThat(ArrayUtils.trimToSize(new Integer[]{1}, 1)).isEqualTo(new Integer[]{1}); in testTrimToSize()443 assertThat(ArrayUtils.trimToSize(new Integer[]{1, 2, 3}, 1)).isEqualTo(new Integer[]{1}); in testTrimToSize()
183 mCache.trimToSize(mCache.size() / 2); in onTrimMemory()
668 public static <T> T[] trimToSize(@Nullable T[] array, int size) { in trimToSize() method in ArrayUtils
1401 returnEntries.trimToSize(); in removeDuplicateIgnoringUser()