Searched refs:in (Results 1 - 25 of 204) sorted by relevance

123456789

/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DInterp.h5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; 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];
58 in += img->pitch;
59 tmpf[1] = in[0] * ciTable[off + 40];
60 tmpf[1] += in[
[all...]
H A DMatrixUtils.h5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
63 static void convert9to33(double out[3][3], double in[9]) { argument
64 out[0][0] = in[0];
65 out[0][1] = in[1];
66 out[0][2] = in[2];
68 out[1][0] = in[3];
69 out[1][1] = in[4];
70 out[1][2] = in[5];
72 out[2][0] = in[
121 convert33to9(double out[9], double in[3][3]) argument
[all...]
H A DImageUtils.h5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
43 * Default number of channels in image.
58 * in: Input image
62 static void rgb2yvu(ImageType out, ImageType in, int width, int height);
64 static void rgba2yvu(ImageType out, ImageType in, int width, int height);
72 * in: Input image
76 static void yvu2rgb(ImageType out, ImageType in, int width, int height);
77 static void yvu2bgr(ImageType out, ImageType in, int width, int height);
83 * in
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DInterp.h5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; 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];
58 in += img->pitch;
59 tmpf[1] = in[0] * ciTable[off + 40];
60 tmpf[1] += in[
[all...]
H A DMatrixUtils.h5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
63 static void convert9to33(double out[3][3], double in[9]) { argument
64 out[0][0] = in[0];
65 out[0][1] = in[1];
66 out[0][2] = in[2];
68 out[1][0] = in[3];
69 out[1][1] = in[4];
70 out[1][2] = in[5];
72 out[2][0] = in[
121 convert33to9(double out[9], double in[3][3]) argument
[all...]
H A DImageUtils.h5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
43 * Default number of channels in image.
58 * in: Input image
62 static void rgb2yvu(ImageType out, ImageType in, int width, int height);
64 static void rgba2yvu(ImageType out, ImageType in, int width, int height);
72 * in: Input image
76 static void yvu2rgb(ImageType out, ImageType in, int width, int height);
77 static void yvu2bgr(ImageType out, ImageType in, int width, int height);
83 * in
[all...]
/packages/apps/Email/src/org/apache/commons/io/input/
H A DCloseShieldInputStream.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
24 * This class is typically used in cases where an input stream needs to be
37 * @param in underlying input stream
39 public CloseShieldInputStream(InputStream in) { argument
40 super(in);
49 in = new ClosedInputStream();
H A DProxyInputStream.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
44 // the proxy is stored in a protected superclass variable named 'in'
53 return in.read();
63 return in.read(bts);
75 return in.read(bts, st, end);
85 return in.skip(ln);
94 return in.available();
102 in
[all...]
H A DProxyReader.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
44 // the proxy is stored in a protected superclass variable named 'in'
53 return in.read();
63 return in.read(chr);
75 return in.read(chr, st, end);
85 return in.skip(ln);
94 return in.ready();
102 in
[all...]
H A DAutoCloseInputStream.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
26 * closed, so any allocated in-memory buffers can be freed even if the
42 * @param in underlying input stream
44 public AutoCloseInputStream(InputStream in) { argument
45 super(in);
62 in.close();
63 in = new ClosedInputStream();
71 * @return next byte in the stream, or -1 if no more bytes are available
75 int n = in
[all...]
H A DSwappedDataInputStream.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
71 return (byte)in.read();
95 return EndianUtils.readSwappedDouble( in );
107 return EndianUtils.readSwappedFloat( in );
161 return EndianUtils.readSwappedInteger( in );
186 return EndianUtils.readSwappedLong( in );
198 return EndianUtils.readSwappedShort( in );
210 return in.read();
222 return EndianUtils.readSwappedUnsignedShort( in );
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/
H A DEOLConvertingInputStream.java7 * "License"); you may not use this file except in compliance *
12 * Unless required by applicable law or agreed to in writing, *
42 private PushbackInputStream in = null; field in class:EOLConvertingInputStream
48 * instance converting bytes in the given <code>InputStream</code>.
51 * @param in the <code>InputStream</code> to read from.
53 public EOLConvertingInputStream(InputStream in) { argument
54 this(in, CONVERT_BOTH);
58 * instance converting bytes in the given <code>InputStream</code>.
60 * @param in the <code>InputStream</code> to read from.
64 public EOLConvertingInputStream(InputStream in, in argument
[all...]
/packages/apps/Phone/src/com/android/phone/
H A DINetworkQueryService.aidl5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
36 void startNetworkQuery(in INetworkQueryServiceCallback cb);
40 * This may not do anything for the Query request in the
44 void stopNetworkQuery(in INetworkQueryServiceCallback cb);
H A DINetworkQueryServiceCallback.aidl5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
37 void onQueryComplete(in List<OperatorInfo> networkInfoArray, int status);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DFileTransforms.java5 * use this file except in compliance with the License. You may obtain a copy of
10 * Unless required by applicable law or agreed to in writing, software
30 public static InputStream getDecryptedStream(InputStream in) { argument
32 return in;
35 public static InputStream getUncompressedStream(InputStream in) throws IOException { argument
36 return new GZIPInputStream(in);
/packages/apps/Email/src/com/beetstra/jutf7/
H A DUTF7StyleCharsetDecoder.java6 * "Software"), to deal in the Software without restriction, including
13 * included in all copies or substantial portions of the Software.
64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { argument
65 while (in.hasRemaining()) {
66 byte b = in.get();
70 return malformed(in);
73 return overflow(in);
80 return overflow(in);
81 CoderResult result = handleBase64(in, out, b);
90 return malformed(in);
103 overflow(ByteBuffer in) argument
120 handleBase64(ByteBuffer in, CharBuffer out, byte lastRead) argument
172 malformed(ByteBuffer in) argument
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DIPolicyService.aidl5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
21 boolean isActive(in Policy policies);
23 void setAccountPolicy(long accountId, in Policy policy, String securityKey);
H A DSearchParams.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
36 // search terms in the query)
105 public SearchParams createFromParcel(Parcel in) {
106 return new SearchParams(in);
130 public SearchParams(Parcel in) { argument
131 mMailboxId = in.readLong();
132 mIncludeChildren = in.readInt() == 1;
133 mFilter = in.readString();
134 mLimit = in
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_dic.h5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
51 #define NJ_INT16_READ(in) \
52 (((((NJ_INT16)((in)[0])) << 8) & 0xff00U) + ((in)[1] & 0xffU))
54 #define NJ_INT32_READ(in) \
55 (((((NJ_INT32)((in)[0])) << 24) & 0xff000000) | \
56 ((((NJ_INT32)((in)[1])) << 16) & 0xff0000) | \
57 ((((NJ_INT32)((in)[2])) << 8) & 0xff00) | \
58 ((((NJ_INT32)((in)[
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapReceiver.java6 * Redistribution and use in source and binary forms, with or without
12 * - Redistributions in binary form must reproduce the above copyright notice,
13 * this list of conditions and the following disclaimer in the documentation
51 Intent in = new Intent();
52 in.putExtras(intent);
53 in.setClass(context, BluetoothPbapService.class);
55 in.putExtra("action", action);
61 in.putExtra(BluetoothAdapter.EXTRA_STATE, state);
77 if (V) Log.v(TAG,"***********Calling start service!!!! with action = " + in.getAction());
78 context.startService(in);
[all...]
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DPendingHandoverTransfer.java26 public PendingHandoverTransfer createFromParcel(Parcel in) {
27 int id = in.readInt();
28 boolean incoming = (in.readInt() == 1) ? true : false;
29 BluetoothDevice remoteDevice = in.readParcelable(getClass().getClassLoader());
30 boolean remoteActivating = (in.readInt() == 1) ? true : false;
31 int numUris = in.readInt();
35 in.readTypedArray(uris, Uri.CREATOR);
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
H A DIKeyChainServiceTestSupport.aidl5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
35 boolean keystorePut(String key, in byte[] value);
36 boolean keystoreImportKey(String key, in byte[] value);
/packages/inputmethods/PinyinIME/lib/com/android/inputmethod/pinyin/
H A DIPinyinDecoderService.aidl5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
23 int imSearch(in byte[] pyBuf, int pyLen);
38 int imGetPredictsNum(in String fixedStr);
42 String syncUserDict(in String tomerge);
45 int syncPutLemmas(in String tomerge);
/packages/apps/Email/src/org/apache/commons/io/
H A DCopyUtils.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
53 * let you specify the buffer size because in modern VMs the impact on speed
58 * to the <code>copy</code> methods in <code>Buffered*</code> streams. For
61 * copy( new BufferedInputStream( in ), new BufferedOutputStream( out ) );
66 * would usually suggest wrapping in a BufferedInputStream. The
109 * @deprecated Use IOUtils. Will be removed in 2.0.
111 * Null handling behaviour changed in IOUtils (null data does not
122 * Instances should NOT be constructed in standard programming.
155 ByteArrayInputStream in
[all...]
/packages/apps/Calculator/src/com/android/calculator2/
H A DPersist.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
53 DataInputStream in = new DataInputStream(is);
54 int version = in.readInt();
56 mDeleteMode = in.readInt();
60 history = new History(version, in);
61 in.close();

Completed in 628 milliseconds

123456789