/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
H A D | PgmImage.cpp | 195 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 D | TagCanon.java | 87 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 D | SuggestionCursorUtil.java | 131 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 D | GestureStroke.java | 316 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 D | PreviewPlacerView.java | 300 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 D | dbstabsmooth.cpp | 24 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 D | MimeHeader.java | 124 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 D | IOUtils.java | 113 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 D | FileUtils.java | 220 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 D | Header.java | 147 * @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 D | dbstabsmooth.cpp | 24 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 D | BitmapUtils.java | 121 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 D | StructuredNameEditorView.java | 238 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 D | UriCodec.java | 156 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 D | MockImageList.java | 63 public void writeToParcel(Parcel out, int flags) { argument
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
H A D | SpeechRecorderActivity.java | 217 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 D | RecognizerLogger.java | 247 OutputStream out = new FileOutputStream(mDatedPath + ".wav"); 252 hdr.write(out); 253 out.write(pcm); 256 out.close();
|
/packages/providers/ContactsProvider/ |
H A D | Android.mk | 17 # 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 D | ImageManager.java | 84 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 D | ExifOutputStream.java | 77 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 D | ByteArrayOutputStream.java | 245 * @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 D | Android.mk | 30 # leave them out of the APK
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | TrimVideoUtils.java | 103 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 D | AttachmentUtilities.java | 366 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 D | SimpleNode.java | 73 out its children. */ 76 System.out.println(toString(prefix));
|