/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
LRUCache.java | 29 * This cache has a fixed maximum number of elements (<code>cacheSize</code>).
44 private int cacheSize;
49 * @param cacheSize
52 public LRUCache(int cacheSize) {
53 this.cacheSize = cacheSize;
54 int hashTableCapacity = (int) Math.ceil(cacheSize / LRUCache.hashTableLoadFactor) + 1;
62 return this.size() > LRUCache.this.cacheSize;
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageStatsTest.java | 30 long cacheSize = 10240; 36 stats.cacheSize = codeSize; 37 stats.codeSize = cacheSize; 58 assertEquals(expected.cacheSize, actual.cacheSize);
|
/external/chromium_org/third_party/WebKit/Source/platform/mac/ |
ColorMac.mm | 87 const int cacheSize = 32; 88 static unsigned cachedRGBAValues[cacheSize]; 89 static RetainPtr<NSColor>* cachedColors = new RetainPtr<NSColor>[cacheSize]; 91 for (int i = 0; i != cacheSize; ++i) { 104 if (++cursor == cacheSize)
|
/frameworks/base/core/java/android/content/pm/ |
PackageStats.java | 44 public long cacheSize; 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/ |
BigCache.java | 44 final int cacheSize = ViewConfiguration.getMaximumDrawingCacheSize(); 58 final int height = 2 * (cacheSize / 2) / screenWidth;
|
/frameworks/native/opengl/libs/EGL/ |
egl_cache.cpp | 219 size_t cacheSize = mBlobCache->getFlattenedSize(); 245 size_t fileSize = headerSize + cacheSize; 256 status_t err = mBlobCache->flatten(buf + headerSize, cacheSize); 269 *crc = crc32c(buf + headerSize, cacheSize); 324 size_t cacheSize = fileSize - headerSize; 331 if (crc32c(buf + headerSize, cacheSize) != *crc) { 337 status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
AlbumSetDataLoader.java | 77 public AlbumSetDataLoader(AbstractGalleryActivity activity, MediaSet albumSet, int cacheSize) { 79 mCoverItem = new MediaItem[cacheSize]; 80 mData = new MediaSet[cacheSize]; 81 mTotalCount = new int[cacheSize]; 82 mItemVersion = new long[cacheSize]; 83 mSetVersion = new long[cacheSize];
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageMeasurement.java | 119 public long cacheSize; 251 long cacheSize = stats.cacheSize; 257 cacheSize += stats.externalCacheSize; 271 mDetails.cacheSize += cacheSize; 277 mDetails.cacheSize += stats.externalCacheSize;
|
/external/chromium_org/chrome/browser/resources/image_loader/ |
cache.js | 166 var onCacheSize = function(cacheSize) { 167 if (size < Cache.MEMORY_LIMIT - cacheSize) { 169 this.setCacheSize_(cacheSize + size, transaction); 195 this.setCacheSize_(cacheSize - totalEvicted + size, transaction); 357 var cacheSize = null; 368 if (cacheSize === null || !metadataEntry) { 377 this.setCacheSize_(cacheSize - metadataEntry.size, transaction); 387 cacheSize = result;
|
/external/valgrind/main/helgrind/ |
hg_wordset.h | 53 Word cacheSize );
|
hg_wordset.c | 359 Word cacheSize ) 375 WCache_INIT(wsu->cache_addTo, cacheSize); 376 WCache_INIT(wsu->cache_delFrom, cacheSize); 377 WCache_INIT(wsu->cache_intersect, cacheSize); 378 WCache_INIT(wsu->cache_minus, cacheSize);
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/ |
TriStrip.java | 68 int cacheSize = CACHESIZE_GEFORCE1_2;
96 cacheSize = _cacheSize;
142 stripifier.stripify(tempIndices, cacheSize, minStripSize, maxIndex, tempStrips, tempFaces);
|
Stripifier.java | 49 int cacheSize;
748 VertexCache vcache = new VertexCache(cacheSize);
1079 int threshold = cacheSize;
[all...] |
/cts/tests/tests/net/src/android/net/wifi/cts/ |
NsdManagerTest.java | 432 int cacheSize = mEventCache.size(); 433 if (cacheSize != size) { 434 Log.d(TAG, "id = " + mWaitId + ": event cache size = " + cacheSize); 435 for (int i = 0; i < cacheSize; i++) { 441 return (cacheSize == size);
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
ModelConverter.java | 65 public static void generateStrips(Mesh mesh, boolean stitch, boolean listOnly, int cacheSize, int minStripSize){ 68 ts.setCacheSize(cacheSize);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ApplicationsState.java | 72 long cacheSize; 80 // this with cacheSize because currently the platform can't 737 sum += mAppEntries.get(i).cacheSize; [all...] |
InstalledAppDetails.java | [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSlidingWindow.java | 92 AlbumDataLoader source, int cacheSize) { 95 mData = new AlbumEntry[cacheSize];
|
AlbumSetSlidingWindow.java | 95 AlbumSetDataLoader source, AlbumSetSlotRenderer.LabelSpec labelSpec, int cacheSize) { 98 mData = new AlbumSetEntry[cacheSize];
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteDatabase.java | [all...] |
/frameworks/base/core/jni/android/graphics/ |
TextLayoutCache.cpp | 201 size_t cacheSize = mCache.size(); 208 ALOGD("entries : %d", cacheSize); 893 size_t cacheSize = mCachedHBFaces.size(); 894 for (size_t i = 0; i < cacheSize; i++) { [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
Installer.java | 335 pStats.cacheSize = Long.parseLong(res[3]);
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
AppCacheTest.java | 584 ", data="+observer.stats.dataSize+", cache="+observer.stats.cacheSize); 602 ", cache="+stats.cacheSize);
|
/external/chromium_org/third_party/lzma_sdk/ |
LzmaEnc.c | 226 UInt64 cacheSize; 462 #define RangeEnc_GetProcessed(p) ((p)->processed + ((p)->buf - (p)->bufBase) + (p)->cacheSize) 488 p->cacheSize = 1; 523 while (--p->cacheSize != 0); 526 p->cacheSize++; [all...] |
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
LzmaEnc.c | 227 UInt64 cacheSize; 463 #define RangeEnc_GetProcessed(p) ((p)->processed + ((p)->buf - (p)->bufBase) + (p)->cacheSize) 489 p->cacheSize = 1; 524 while (--p->cacheSize != 0); 527 p->cacheSize++; [all...] |