/frameworks/base/core/java/android/util/ |
D | LruCache.java | 104 trimToSize(maxSize); in resize() 156 trimToSize(maxSize); in get() 186 trimToSize(maxSize); in put() 197 public void trimToSize(int maxSize) { in trimToSize() method in LruCache 311 trimToSize(-1); // -1 will evict 0-sized elements in evictAll()
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | LruCache.java | 106 trimToSize(maxSize); in resize() 158 trimToSize(maxSize); in get() 188 trimToSize(maxSize); in put() 196 private void trimToSize(int maxSize) { in trimToSize() method in LruCache 319 trimToSize(-1); // -1 will evict 0-sized elements in evictAll()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | TaskKeyLruCache.java | 65 public final void trimToSize(int cacheSize) { in trimToSize() method in TaskKeyLruCache 66 mCache.trimToSize(cacheSize); in trimToSize()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoader.java | 220 mIconCache.trimToSize(Math.max(mNumVisibleTasksLoaded, in onTrimMemory() 226 mIconCache.trimToSize(Math.max(1, mMaxIconCacheSize / 2)); in onTrimMemory() 227 mActivityInfoCache.trimToSize(Math.max(1, in onTrimMemory() 233 mIconCache.trimToSize(Math.max(1, mMaxIconCacheSize / 4)); in onTrimMemory() 234 mActivityInfoCache.trimToSize(Math.max(1, in onTrimMemory()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 754 testString, TextUtils.trimToSize(testString, 5)); in testTrimToSize() 756 testString, TextUtils.trimToSize(testString, 4)); in testTrimToSize() 758 "a\uD800\uDC00", TextUtils.trimToSize(testString, 3)); in testTrimToSize() 760 "a", TextUtils.trimToSize(testString, 2)); in testTrimToSize() 762 "a", TextUtils.trimToSize(testString, 1)); in testTrimToSize() 764 null, TextUtils.trimToSize(null, 1)); in testTrimToSize() 767 "a\uD800", TextUtils.trimToSize("a\uD800\uD800", 2)); in testTrimToSize() 769 "a\uDC00", TextUtils.trimToSize("a\uDC00\uDC00", 2)); in testTrimToSize() 774 TextUtils.trimToSize("", -1); in testTrimToSizeThrowsExceptionForNegativeSize() 779 TextUtils.trimToSize("abc", 0); in testTrimToSizeThrowsExceptionForZeroSize()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyDevController.java | 96 mModems.trimToSize(); in TelephonyDevController() 97 mSims.trimToSize(); in TelephonyDevController()
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 2132 return trimToSize(text, PARCEL_SAFE_TEXT_LENGTH); in trimToParcelableSize() 2145 public static <T extends CharSequence> T trimToSize(@Nullable T text, in trimToSize() method in TextUtils 2168 T trimmed = trimToSize(text, size); in trimToLengthWithEllipsis()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ArrayUtils.java | 585 public static @Nullable <T> T[] trimToSize(@Nullable T[] array, int size) { in trimToSize() method in ArrayUtils
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 756 pi.activities = ArrayUtils.trimToSize(res, num); in generatePackageInfo() 770 pi.receivers = ArrayUtils.trimToSize(res, num); in generatePackageInfo() 784 pi.services = ArrayUtils.trimToSize(res, num); in generatePackageInfo() 798 pi.providers = ArrayUtils.trimToSize(res, num); in generatePackageInfo()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 15165 HSPLandroid/text/TextUtils;->trimToSize(Ljava/lang/CharSequence;I)Ljava/lang/CharSequence; 15582 HSPLandroid/util/LruCache;->trimToSize(I)V 24105 HSPLcom/android/internal/util/ArrayUtils;->trimToSize([Ljava/lang/Object;I)[Ljava/lang/Object; 28421 HSPLjava/util/ArrayList;->trimToSize()V
|
D | hiddenapi-greylist-max-o.txt | 71032 Landroid/text/TextUtils;->trimToSize(Ljava/lang/CharSequence;I)Ljava/lang/CharSequence; 103728 Ljava/lang/AbstractStringBuilder;->trimToSize()V 107538 Ljava/util/BitSet;->trimToSize()V 112456 Llibcore/util/BasicLruCache;->trimToSize(I)V
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 31630 method public void trimToSize(int); 40620 method public void trimToSize(); 47666 method public void trimToSize(); 49040 method public synchronized void trimToSize();
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 49404 method public void trimToSize(int); 62125 method public void trimToSize(); 62181 method public void trimToSize(); 70467 method public void trimToSize(); 72299 method public void trimToSize();
|
/frameworks/base/api/ |
D | current.txt | 49548 method public void trimToSize(int); 62269 method public void trimToSize(); 62325 method public void trimToSize(); 70611 method public void trimToSize(); 72443 method public void trimToSize();
|