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

/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++) {
167 for (i = -off; i < scr->width + off; i++) {
211 int off local
[all...]
/packages/apps/Email/emailcommon/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/Email/emailcommon/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/Email/emailcommon/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/Email/emailcommon/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/inputmethods/PinyinIME/jni/share/
H A Duserdict.cpp376 uint16 off = 8 * (i % 4); local
377 const char py2 = ((searchable->signature[i/4] & (0xff << off)) >> off);
396 uint16 off = 8 * (i % 4); local
397 const char py2 = ((searchable->signature[i/4] & (0xff << off)) >> off);
697 int32 off;
701 off = start;
704 off = locate_first_in_offsets(&searchable);
705 start = off;
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DLinearColorBar.java69 int off = getPaddingTop() - getPaddingBottom();
70 if (off < 0) off = 0;
71 mRect.top = off;
75 0, 0, 0, off-2, RIGHT_COLOR&0xffffff, RIGHT_COLOR, Shader.TileMode.CLAMP));
78 0, 0, 0, off-2, MIDDLE_COLOR&0xffffff, MIDDLE_COLOR, Shader.TileMode.CLAMP));
81 0, 0, 0, off/2, 0x00a0a0a0, 0xffa0a0a0, Shader.TileMode.CLAMP));
/packages/apps/Settings/src/com/android/settings/
H A DDateTimeSettings.java378 private static char[] formatOffset(int off) { argument
379 off = off / 1000 / 60;
386 if (off < 0) {
388 off = -off;
393 int hours = off / 60;
394 int minutes = off % 60;
/packages/apps/Mms/src/com/android/mms/ui/
H A DRecipientsEditor.java252 int off = layout.getOffsetForHorizontal(line, x);
254 return off;
/packages/apps/Gallery/src/com/android/camera/
H A DGridViewSpecial.java674 int off = 0;
682 off += 1;
683 if (off == mColumns) {
686 off = 0;

Completed in 662 milliseconds