Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java107 private RandomAccessFile mDataFile0; field in BlobCache
141 mDataFile0 = new RandomAccessFile(path + ".0", "rw"); in BlobCache()
184 closeSilently(mDataFile0); in closeAll()
193 mDataFile0.seek(0); in loadIndex()
253 if (mDataFile0.read(magic) != 4) { in loadIndex()
285 mActiveDataFile = (mActiveRegion == 0) ? mDataFile0 : mDataFile1; in setActiveVariables()
286 mInactiveDataFile = (mActiveRegion == 1) ? mDataFile0 : mDataFile1; in setActiveVariables()
317 mDataFile0.setLength(0); in resetCache()
319 mDataFile0.seek(0); in resetCache()
322 mDataFile0.write(buf, 0, 4); in resetCache()
[all …]