Searched defs:off (Results 1 - 25 of 28) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/exif/
H A DByteBufferInputStream.java39 public int read(byte[] bytes, int off, int len) { argument
45 mBuf.get(bytes, off, len);
H A DCountedDataInputStream.java51 public int read(byte[] b, int off, int len) throws IOException { argument
52 int r = in.read(b, off, len);
82 public void readOrThrow(byte[] b, int off, int len) throws IOException { argument
83 int r = read(b, off, len);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DByteBufferInputStream.java39 public int read(byte[] bytes, int off, int len) { argument
45 mBuf.get(bytes, off, len);
H A DCountedDataInputStream.java51 public int read(byte[] b, int off, int len) throws IOException { argument
52 int r = in.read(b, off, len);
82 public void readOrThrow(byte[] b, int off, int len) throws IOException { argument
83 int r = read(b, off, len);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DInterp.h52 int off = (int)(xfrac * CTAPS); local
54 tmpf[0] = in[0] * ciTable[off + 40];
55 tmpf[0] += in[1] * ciTable[off];
56 tmpf[0] += in[2] * ciTable[40 - off];
57 tmpf[0] += in[3] * ciTable[80 - off];
59 tmpf[1] = in[0] * ciTable[off + 40];
60 tmpf[1] += in[1] * ciTable[off];
61 tmpf[1] += in[2] * ciTable[40 - off];
62 tmpf[1] += in[3] * ciTable[80 - off];
64 tmpf[2] = in[0] * ciTable[off
[all...]
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DByteBufferInputStream.java39 public int read(byte[] bytes, int off, int len) { argument
45 mBuf.get(bytes, off, len);
H A DCountedDataInputStream.java51 public int read(byte[] b, int off, int len) throws IOException { argument
52 int r = in.read(b, off, len);
84 public void readOrThrow(byte[] b, int off, int len) throws IOException { argument
85 int r = read(b, off, len);
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
H A DAutoCloseInputStream.java105 * @param off start offset within the buffer
110 public int read(byte[] b, int off, int len) throws IOException { argument
111 int n = in.read(b, off, len);
H A DCountingInputStream.java67 * @param off the start offset in the buffer
73 public int read(byte[] b, int off, int len) throws IOException { argument
74 int found = super.read(b, off, len);
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
H A DCountingOutputStream.java64 * @param off the start offset in the buffer
69 public void write(byte[] b, int off, int len) throws IOException { argument
71 super.write(b, off, len);
H A DNullOutputStream.java41 * @param off The start offset
44 public void write(byte[] b, int off, int len) { argument
H A DTeeOutputStream.java24 * command. It allows a stream to be branched off so there
57 * @param off The start offset
61 public synchronized void write(byte[] b, int off, int len) throws IOException { argument
62 super.write(b, off, len);
63 this.branch.write(b, off, len);
H A DThresholdingOutputStream.java117 * offset <code>off</code> to this output stream.
120 * @param off The start offset in the byte array.
125 public void write(byte b[], int off, int len) throws IOException argument
128 getStream().write(b, off, len);
H A DByteArrayOutputStream.java136 * @param off The start offset
140 public void write(byte[] b, int off, int len) { argument
141 if ((off < 0)
142 || (off > b.length)
144 || ((off + len) > b.length)
145 || ((off + len) < 0)) {
156 System.arraycopy(b, off + len - remaining, currentBuffer, inBufferPos, part);
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
H A DRootInputStream.java90 public int read(byte[] b, int off, int len) throws IOException { argument
95 int n = is.read(b, off, len);
96 for (int i = off; i < off + n; i++) {
H A DCloseShieldInputStream.java115 public int read(byte b[], int off, int len) throws IOException { argument
117 return is.read(b, off, len);
/packages/services/Telephony/src/org/apache/james/mime4j/
H A DRootInputStream.java90 public int read(byte[] b, int off, int len) throws IOException { argument
95 int n = is.read(b, off, len);
96 for (int i = off; i < off + n; i++) {
H A DCloseShieldInputStream.java115 public int read(byte b[], int off, int len) throws IOException { argument
117 return is.read(b, off, len);
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
H A DPartialInputStream.java50 public int read(byte b[], int off, int len) throws IOException { argument
52 return super.read(b, off, len); //To change body of overridden methods use File | Settings | File Templates.
H A DPositionInputStream.java81 public int read(byte b[], int off, int len) throws IOException { argument
82 final int c = inputStream.read(b, off, len);
/packages/apps/Gallery2/jni/filters/
H A Dedge.c99 int off = k * 4; local
100 *(buf + buf_row_ring + off) = ret;
101 *(buf + buf_row_ring + off + 1) = ret;
102 *(buf + buf_row_ring + off + 2) = ret;
103 *(buf + buf_row_ring + off + 3) = *(ptr + loc + 3);
H A DredEyeMath.c104 void stuff(int r, int g, int b, unsigned char *img, int off) { argument
105 img[off + 2] = b;
106 img[off + 1] = g;
107 img[off] = r;
H A Dfx.c19 __inline__ int interp(unsigned char *src, int p , int *off ,float dr,float dg, float db){
21 float fr00 = (src[p+off[0]])*(1-dr)+(src[p+off[1]])*dr;
22 float fr01 = (src[p+off[2]])*(1-dr)+(src[p+off[3]])*dr;
23 float fr10 = (src[p+off[4]])*(1-dr)+(src[p+off[5]])*dr;
24 float fr11 = (src[p+off[6]])*(1-dr)+(src[p+off[7]])*dr;
47 int off[ local
[all...]
/packages/apps/TV/usbtuner/src/com/android/usbtuner/util/
H A DByteArrayBuffer.java56 public void append(final byte[] b, int off, int len) { argument
60 if ((off < 0) || (off > b.length) || (len < 0) ||
61 ((off + len) < 0) || ((off + len) > b.length)) {
71 System.arraycopy(b, off, this.buffer, this.len, len);
84 public void append(final char[] b, int off, int len) { argument
88 if ((off < 0) || (off > b.length) || (len < 0) ||
89 ((off
[all...]
/packages/apps/Gallery2/jni_jpegstream/src/
H A Djpegstream.cpp234 int32_t off = static_cast<int32_t>(offset); local
235 in_bytes += off;
259 int32_t off = static_cast<int32_t>(offset); local
265 read = r_ptr->read(in_bytes, off, in_len);

Completed in 9017 milliseconds

12