Searched refs:off (Results 1 - 25 of 37) sorted by relevance

12

/packages/apps/Camera/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...]
H A DPyramid.cpp115 int off, off2, height, h, w; local
119 off = pyr->border - left;
120 off2 = pyr->width + off + pyr->border - right - 1;
123 base = pyr->ptr[-h] - off;
152 int off = in->border / 2; local
155 for (j = -off; j < in->height + off; j++) {
172 for (i = -off; i < scr->width + off; i++) {
217 int off local
[all...]
/packages/apps/Camera2/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...]
H A DPyramid.cpp115 int off, off2, height, h, w; local
119 off = pyr->border - left;
120 off2 = pyr->width + off + pyr->border - right - 1;
123 base = pyr->ptr[-h] - off;
152 int off = in->border / 2; local
155 for (j = -off; j < in->height + off; j++) {
172 for (i = -off; i < scr->width + off; i++) {
217 int off local
[all...]
/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...]
H A DPyramid.cpp115 int off, off2, height, h, w; local
119 off = pyr->border - left;
120 off2 = pyr->width + off + pyr->border - right - 1;
123 base = pyr->ptr[-h] - off;
152 int off = in->border / 2; local
155 for (j = -off; j < in->height + off; j++) {
167 for (i = -off; i < scr->width + off; i++) {
211 int off local
[all...]
/packages/apps/Gallery2/jni/filters/
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/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++) {
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
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 DNullOutputStream.java41 * @param off The start offset
44 public void write(byte[] b, int off, int len) { argument
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 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);
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);
/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/Launcher3/WallpaperPicker/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/Mms/src/com/android/mms/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/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/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.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DSpannableStringUtils.java97 int off = 0;
102 copyNonParagraphSuggestionSpansFrom((Spanned) text[i], 0, len, ss, off);
105 off += len;

Completed in 2087 milliseconds

12