Lines Matching defs:id
34 * of blocks, indexed by id. Each block has BYTES_PER_MINTHUMB bytes in the
147 // Get the magic number for the specified id in the mini-thumb file.
149 public synchronized long getMagic(long id) {
152 // reserved for this "id".
155 long pos = id * BYTES_PER_MINTHUMB;
174 Log.e(TAG, "Got exception when reading magic, id = " + id +
188 public synchronized void saveMiniThumbToFile(byte[] data, long id, long magic)
193 long pos = id * BYTES_PER_MINTHUMB;
213 + id + "; ", ex);
218 + id + "; disk full or mount read-only? " + ex.getClass());
233 * @param id the ID of the image (same of full size image).
236 public synchronized byte [] getMiniThumbFromFile(long id, byte [] data) {
240 long pos = id * BYTES_PER_MINTHUMB;
258 Log.w(TAG, "got exception when reading thumbnail id=" + id + ", exception: " + ex);
261 Log.e(TAG, "Got exception when reading thumbnail, id = " + id +