Home
last modified time | relevance | path

Searched refs:maxCacheSize (Results 1 – 7 of 7) sorted by relevance

/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
DImagePoolHelperTest.java37 int maxCacheSize = width * height * 4 * 5; // can fit 5 width | height buffer in testGetBufferedImage() local
41 .NONE, maxCacheSize); in testGetBufferedImage()
53 int maxCacheSize = width * height * 4 * numberOfCopiesToRequestInBucket; in testGetBufferedImageRecurse() local
61 .NONE, maxCacheSize); in testGetBufferedImageRecurse()
73 int maxCacheSize = width * height * 4 * numberOfCopiesToRequestInBucket / 2; in testRecurseThenHitCacheLimit() local
81 .NONE, maxCacheSize); in testRecurseThenHitCacheLimit()
93 int maxCacheSize = width * height * 4 * numberOfCopiesToRequestInBucket / 2; in testBucketHasImageToReturn() local
103 .NONE, maxCacheSize); in testBucketHasImageToReturn()
/frameworks/layoutlib/bridge/src/android/util/imagepool/
DImagePoolStatsProdImpl.java37 public boolean fitsMaxCacheSize(int width, int height, long maxCacheSize) { in fitsMaxCacheSize() argument
39 return newTotal <= maxCacheSize; in fitsMaxCacheSize()
DBucket.java67 Orientation orientation, long maxCacheSize) { in BucketCreationMetaData() argument
73 mMaxCacheSize = maxCacheSize; in BucketCreationMetaData()
DImagePoolStats.java27 boolean fitsMaxCacheSize(int width, int height, long maxCacheSize); in fitsMaxCacheSize() argument
DImagePoolStatsDebugImpl.java50 public boolean fitsMaxCacheSize(int width, int height, long maxCacheSize) { in fitsMaxCacheSize() argument
51 return super.fitsMaxCacheSize(width, height, maxCacheSize); in fitsMaxCacheSize()
/frameworks/base/wifi/java/src/android/net/wifi/
DWifiNetworkScoreCache.java84 Context context, @Nullable CacheListener listener, int maxCacheSize) { in WifiNetworkScoreCache() argument
87 mCache = new LruCache<>(maxCacheSize); in WifiNetworkScoreCache()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java617 FixedSizeRemoteViewsCache(int maxCacheSize, Configuration configuration) { in FixedSizeRemoteViewsCache() argument
618 mMaxCount = maxCacheSize; in FixedSizeRemoteViewsCache()