Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMiniThumbFile.java48 public static final int BYTES_PER_MINTHUMB = 10000; field in MiniThumbFile
133 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 …]
/frameworks/base/core/java/android/provider/
DMediaStore.java704 sThumbBuf = new byte[MiniThumbFile.BYTES_PER_MINTHUMB]; in getThumbnail()
738 sThumbBuf = new byte[MiniThumbFile.BYTES_PER_MINTHUMB]; in getThumbnail()