Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java106 private RandomAccessFile mIndexFile; field in BlobCache
140 mIndexFile = new RandomAccessFile(path + ".idx", "rw"); in BlobCache()
183 closeSilently(mIndexFile); in closeAll()
192 mIndexFile.seek(0); in loadIndex()
197 if (mIndexFile.read(buf) != INDEX_HEADER_SIZE) { in loadIndex()
245 if (mIndexFile.length() != in loadIndex()
271 mIndexChannel = mIndexFile.getChannel(); in loadIndex()
273 0, mIndexFile.length()); in loadIndex()
301 mIndexFile.setLength(0); // truncate to zero the index in resetCache()
302 mIndexFile.setLength(INDEX_HEADER_SIZE + maxEntries * 12 * 2); in resetCache()
[all …]