Searched refs:BYTES_PER_MINTHUMB (Results 1 – 2 of 2) sorted by relevance
48 public static final int BYTES_PER_MINTHUMB = 10000; field in MiniThumbFile133 mBuffer = ByteBuffer.allocateDirect(BYTES_PER_MINTHUMB); in MiniThumbFile()134 mEmptyBuffer = ByteBuffer.allocateDirect(BYTES_PER_MINTHUMB); in MiniThumbFile()156 long pos = id * BYTES_PER_MINTHUMB; in getMagic()192 long pos = id * BYTES_PER_MINTHUMB; in eraseMiniThumb()198 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, false); in eraseMiniThumb()242 long pos = id * BYTES_PER_MINTHUMB; in saveMiniThumbToFile()246 if (data.length > BYTES_PER_MINTHUMB - HEADER_SIZE) { in saveMiniThumbToFile()257 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, false); in saveMiniThumbToFile()289 long pos = id * BYTES_PER_MINTHUMB; in getMiniThumbFromFile()[all …]
704 sThumbBuf = new byte[MiniThumbFile.BYTES_PER_MINTHUMB]; in getThumbnail()738 sThumbBuf = new byte[MiniThumbFile.BYTES_PER_MINTHUMB]; in getThumbnail()