Searched refs:cacheSize (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskKeyLruCache.java46 public TaskKeyLruCache(int cacheSize) { argument
47 this(cacheSize, null);
50 public TaskKeyLruCache(int cacheSize, EvictionCallback evictionCallback) { argument
52 mCache = new LruCache<Integer, V>(cacheSize) {
116 final void trimToSize(int cacheSize) { argument
117 mCache.trimToSize(cacheSize);
/frameworks/base/core/java/android/content/pm/
H A DPackageStats.java44 public long cacheSize; field in class:PackageStats
95 if (cacheSize != 0) {
97 sb.append(cacheSize);
139 cacheSize = source.readLong();
152 cacheSize = pStats.cacheSize;
169 dest.writeLong(cacheSize);
/frameworks/base/core/tests/coretests/src/android/view/
H A DBigCache.java44 final int cacheSize = ViewConfiguration.getMaximumDrawingCacheSize();
58 final int height = 2 * (cacheSize / 2) / screenWidth;
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp220 size_t cacheSize = mBlobCache->getFlattenedSize(); local
246 size_t fileSize = headerSize + cacheSize;
257 status_t err = mBlobCache->flatten(buf + headerSize, cacheSize);
270 *crc = crc32c(buf + headerSize, cacheSize);
326 size_t cacheSize = fileSize - headerSize; local
333 if (crc32c(buf + headerSize, cacheSize) != *crc) {
339 status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
H A DStorageMeasurement.java102 public long cacheSize; field in class:StorageMeasurement.MeasurementDetails
225 long cacheSize = stats.cacheSize;
231 cacheSize += stats.externalCacheSize;
242 mDetails.cacheSize += cacheSize;
249 mDetails.cacheSize += stats.externalCacheSize;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DApplicationsState.java333 sum += mAppEntries.get(i).cacheSize;
978 entry.cacheSize != stats.cacheSize ||
985 entry.cacheSize = stats.cacheSize;
1105 public long cacheSize; field in class:ApplicationsState.SizeInfo
1113 // this with cacheSize because currently the platform can't
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java1799 * @param cacheSize the size of the cache. can be (0 to {@link #MAX_SQL_CACHE_SIZE})
1800 * @throws IllegalStateException if input cacheSize > {@link #MAX_SQL_CACHE_SIZE}.
1802 public void setMaxSqlCacheSize(int cacheSize) { argument
1803 if (cacheSize > MAX_SQL_CACHE_SIZE || cacheSize < 0) {
1812 mConfigurationLocked.maxSqlCacheSize = cacheSize;
/frameworks/base/services/core/java/com/android/server/pm/
H A DInstaller.java119 stats.cacheSize += Long.parseLong(res[3]);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppCacheTest.java586 ", data="+observer.stats.dataSize+", cache="+observer.stats.cacheSize);
604 ", cache="+stats.cacheSize);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java5392 final int cacheSize = mCachedViews.size();
5393 for (int i = 0; i < cacheSize; i++) {
5446 final int cacheSize = mCachedViews.size();
5447 for (int i = cacheSize - 1; i >= 0; i--) {

Completed in 724 milliseconds