Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java104 private static final int BLOB_HEADER_SIZE = 20; field in BlobCache
124 private byte[] mBlobHeader = new byte[BLOB_HEADER_SIZE];
363 if (DATA_HEADER_SIZE + BLOB_HEADER_SIZE + data.length > mMaxBytes) { in insert()
367 if (mActiveBytes + BLOB_HEADER_SIZE + data.length > mMaxBytes in insert()
409 mActiveBytes += BLOB_HEADER_SIZE + length; in insertInternal()
460 if (mActiveBytes + BLOB_HEADER_SIZE + req.length > mMaxBytes in lookup()
494 if (file.read(header) != BLOB_HEADER_SIZE) { in getBlob()
513 if (length < 0 || length > mMaxBytes - offset - BLOB_HEADER_SIZE) { in getBlob()