Searched refs:maxCacheSize (Results 1 – 7 of 7) sorted by relevance
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/ |
D | ImagePoolHelperTest.java | 37 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/ |
D | ImagePoolStatsProdImpl.java | 37 public boolean fitsMaxCacheSize(int width, int height, long maxCacheSize) { in fitsMaxCacheSize() argument 39 return newTotal <= maxCacheSize; in fitsMaxCacheSize()
|
D | Bucket.java | 67 Orientation orientation, long maxCacheSize) { in BucketCreationMetaData() argument 73 mMaxCacheSize = maxCacheSize; in BucketCreationMetaData()
|
D | ImagePoolStats.java | 27 boolean fitsMaxCacheSize(int width, int height, long maxCacheSize); in fitsMaxCacheSize() argument
|
D | ImagePoolStatsDebugImpl.java | 50 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/ |
D | WifiNetworkScoreCache.java | 84 Context context, @Nullable CacheListener listener, int maxCacheSize) { in WifiNetworkScoreCache() argument 87 mCache = new LruCache<>(maxCacheSize); in WifiNetworkScoreCache()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 617 FixedSizeRemoteViewsCache(int maxCacheSize, Configuration configuration) { in FixedSizeRemoteViewsCache() argument 618 mMaxCount = maxCacheSize; in FixedSizeRemoteViewsCache()
|