Searched refs:out (Results 101 - 125 of 185) sorted by relevance

12345678

/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/
H A DPgmImage.cpp195 ofstream out(filename.c_str(),std::ios::out |ios::binary);
196 out << format_header << "# " << comment << '\n' << m_w << " " << m_h << '\n' << m_colors << '\n';
198 out.write((char *)(&m_data[0]), m_data.size());
200 out.close();
/packages/apps/Tag/canon/src/com/android/apps/tagcanon/
H A DTagCanon.java87 final ByteArrayOutputStream out = new ByteArrayOutputStream(size);
90 photo.compress(Bitmap.CompressFormat.PNG, 100, out);
91 out.flush();
92 byte[] payload = out.toByteArray();
93 out.close();
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DSuggestionCursorUtil.java131 ListSuggestionCursor out = new ListSuggestionCursor(cursor.getUserQuery());
133 out.add(new SuggestionPosition(cursor, i));
135 return out;
139 ListSuggestionCursor out = new ListSuggestionCursor(cursors[0].getUserQuery());
142 out.add(new SuggestionPosition(cursor, i));
145 return out;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGestureStroke.java316 public final void appendAllBatchPoints(final InputPointers out) { argument
317 appendBatchPoints(out, mEventTimes.getLength());
320 public final void appendIncrementalBatchPoints(final InputPointers out) { argument
321 appendBatchPoints(out, mIncrementalRecognitionSize);
324 private void appendBatchPoints(final InputPointers out, final int size) { argument
329 out.append(mPointerId, mEventTimes, mXCoordinates, mYCoordinates,
H A DPreviewPlacerView.java300 private static void clipRect(final Rect out, final int left, final int top, final int right, argument
302 out.set(Math.max(out.left, left), Math.max(out.top, top), Math.min(out.right, right),
303 Math.min(out.bottom, bottom));
324 // TODO: Figure out how we should deal with the floating preview text with multiple moving
/packages/apps/Camera/jni/feature_stab/src/dbreg/
H A Ddbstabsmooth.cpp24 static bool vpmotion_add(VP_MOTION *in1, VP_MOTION *in2, VP_MOTION *out);
25 static bool vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out);
130 vp_copy_motion(inmot/*in*/, &testMotion/*out*/);
173 // Therefore, break out of this loop
182 vp_copy_motion_no_id(&tmpMotion/*in*/, outmot/*out*/);
307 static bool vpmotion_add(VP_MOTION *in1, VP_MOTION *in2, VP_MOTION *out) argument
310 if(in1 == NULL || in2 == NULL || out == NULL)
314 out->par[i] = in1->par[i] + in2->par[i];
319 static bool vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out) argument
322 if(in1 == NULL || out
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
H A DMimeHeader.java124 public void writeTo(OutputStream out) throws IOException, MessagingException { argument
125 BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out), 1024);
/packages/apps/Email/src/org/apache/commons/io/
H A DIOUtils.java113 PrintWriter out = new PrintWriter(buf);
114 out.println();
1156 OutputStreamWriter out = new OutputStreamWriter(output);
1157 copy(input, out);
1160 out.flush();
1191 OutputStreamWriter out = new OutputStreamWriter(output, encoding);
1192 copy(input, out);
1195 out.flush();
H A DFileUtils.java220 OutputStream out = openOutputStream(file);
221 IOUtils.closeQuietly(out);
1248 OutputStream out = null;
1250 out = openOutputStream(file);
1251 IOUtils.write(data, out, encoding);
1253 IOUtils.closeQuietly(out);
1280 OutputStream out = null;
1282 out = openOutputStream(file);
1283 out.write(data);
1285 IOUtils.closeQuietly(out);
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/message/
H A DHeader.java147 * @param out the OutputStream to write to
150 public void writeTo(OutputStream out) throws IOException { argument
153 BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out, CharsetUtil.getCharset(charString)),8192);
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
H A Ddbstabsmooth.cpp24 static bool vpmotion_add(VP_MOTION *in1, VP_MOTION *in2, VP_MOTION *out);
25 static bool vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out);
130 vp_copy_motion(inmot/*in*/, &testMotion/*out*/);
173 // Therefore, break out of this loop
182 vp_copy_motion_no_id(&tmpMotion/*in*/, outmot/*out*/);
307 static bool vpmotion_add(VP_MOTION *in1, VP_MOTION *in2, VP_MOTION *out) argument
310 if(in1 == NULL || in2 == NULL || out == NULL)
314 out->par[i] = in1->par[i] + in2->par[i];
319 static bool vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out) argument
322 if(in1 == NULL || out
[all...]
/packages/apps/Phone/src/com/android/phone/
H A DBitmapUtils.java121 private static void gaussianBlurFilter(int[] in, int[] out, int width, int height) { argument
145 out[outPos] = (alpha << 24) | ((red >> 8) << RED_MASK_SHIFT)
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DStructuredNameEditorView.java238 public void writeToParcel(Parcel out, int flags) { argument
239 out.writeParcelable(mSuperState, 0);
241 out.writeInt(mChanged ? 1 : 0);
242 out.writeParcelable(mSnapshot, 0);
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
H A DUriCodec.java156 ByteArrayOutputStream out = new ByteArrayOutputStream();
170 out.write((byte) ((d1 << 4) + d2));
173 result.append(new String(out.toByteArray(), charset));
174 out.reset();
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
H A DMockImageList.java63 public void writeToParcel(Parcel out, int flags) { argument
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/
H A DSpeechRecorderActivity.java217 OutputStream out = new FileOutputStream(mUtterance.toString());
223 hdr.write(out);
224 out.write(pcm);
226 out.close();
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DRecognizerLogger.java247 OutputStream out = new FileOutputStream(mDatedPath + ".wav");
252 hdr.write(out);
253 out.write(pcm);
256 out.close();
/packages/providers/ContactsProvider/
H A DAndroid.mk17 # leaving out code which is tested by other means (e.g. static libraries) that
24 # leaving out code which is tested by other means (e.g. static libraries) that
/packages/apps/Gallery/src/com/android/camera/
H A DImageManager.java84 public void writeToParcel(Parcel out, int flags) { argument
85 out.writeInt(mLocation.ordinal());
86 out.writeInt(mInclusion);
87 out.writeInt(mSort);
88 out.writeString(mBucketId);
89 out.writeParcelable(mSingleImageUri, flags);
90 out.writeInt(mIsEmptyImageList ? 1 : 0);
174 /* This is commented out because isVideo is not calling this now.
351 // TODO: we need to figure out whether we're viewing
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifOutputStream.java77 out.write(buffer, offset, byteToProcess);
91 out.write(mBuffer.array(), 0 ,2);
105 out.write(mBuffer.array(), 0, 2);
116 out.write(mBuffer.array(), 0, 4);
119 out.write(mBuffer.array(), 0, 4);
126 out.write(buffer, offset, length);
144 OrderedDataOutputStream dataOutputStream = new OrderedDataOutputStream(out);
/packages/apps/Email/src/org/apache/commons/io/output/
H A DByteArrayOutputStream.java245 * @param out the output stream to write to
249 public synchronized void writeTo(OutputStream out) throws IOException { argument
254 out.write(buf, 0, c);
/packages/apps/Gallery2/
H A DAndroid.mk30 # leave them out of the APK
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DTrimVideoUtils.java103 IsoFile out = new DefaultMp4Builder().build(movie);
111 out.getBox(fc); // This one build up the memory.
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DAttachmentUtilities.java366 FileOutputStream out = new FileOutputStream(file);
367 long size = IOUtils.copy(in, out);
369 out.flush();
370 out.close();
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
H A DSimpleNode.java73 out its children. */
76 System.out.println(toString(prefix));

Completed in 4510 milliseconds

12345678