/packages/apps/Mms/src/com/android/mms/dom/smil/parser/ |
H A D | SmilXmlSerializer.java | 34 public static void serialize(SMILDocument smilDoc, OutputStream out) { argument 36 Writer writer = new BufferedWriter(new OutputStreamWriter(out, "UTF-8"), 2048);
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
H A D | ArrayInitializerFormatter.java | 35 public ArrayInitializerFormatter(final PrintStream out, final int width, final String indent, argument 37 mOut = out;
|
/packages/apps/Music/tests/src/com/android/music/functional/ |
H A D | TestSongs.java | 88 OutputStream out = new FileOutputStream(dst); 90 // Transfer bytes from in to out 94 out.write(buf, 0, len); 97 out.close(); 129 System.out.println("resolver = null"); 159 System.out.println("resolver = null"); 207 System.out.println("resolver = null");
|
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | RegisteredComponentCache.java | 98 StringBuilder out = new StringBuilder("ComponentInfo: "); 99 out.append(resolveInfo); 100 out.append(", techs: "); 102 out.append(tech); 103 out.append(", "); 105 return out.toString();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | GestureStrokeRecognitionPoints.java | 312 public final void appendAllBatchPoints(final InputPointers out) { argument 313 appendBatchPoints(out, getLength()); 317 public final void appendIncrementalBatchPoints(final InputPointers out) { argument 318 appendBatchPoints(out, mIncrementalRecognitionSize); 321 private void appendBatchPoints(final InputPointers out, final int size) { argument 326 out.append(mPointerId, mEventTimes, mXCoordinates, mYCoordinates,
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
H A D | MimeUtility.java | 235 ByteArrayOutputStream out = new ByteArrayOutputStream(); 236 IOUtils.copy(in, out); 259 String result = out.toString(charset); 260 out.close(); 347 OutputStream out = tempBody.getOutputStream(); 349 IOUtils.copy(in, out); 353 //out.write(warning.getBytes()); 355 out.close(); 361 * Recursively scan a Part (usually a Message) and sort out which of its children will be
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
H A D | DictionaryBackupAgent.java | 173 String out = name + SEPARATOR + frequency + SEPARATOR + locale + SEPARATOR + appId 175 byte[] line = out.getBytes(); 278 * @param out byte array 283 private int writeInt(byte[] out, int pos, int value) { argument 284 out[pos + 0] = (byte) ((value >> 24) & 0xFF); 285 out[pos + 1] = (byte) ((value >> 16) & 0xFF); 286 out[pos + 2] = (byte) ((value >> 8) & 0xFF); 287 out[pos + 3] = (byte) ((value >> 0) & 0xFF);
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
H A D | StringUtil.java | 224 * definition will filter empty tokens out but will do so <i>after</i> 1434 * code. Also, make sure that we don't write out {@code -->} or 1444 * code. Also, make sure that we don't write out {@code -->} or 1486 * out buffer. 1500 * @param out the buffer to append output to. 1511 JsEscapingMode jsEscapingMode, Appendable out) 1513 int pos = 0; // Index just past the last char in plainText written to out. 1523 out.append(plainText, pos, i); 1526 case '\b': out.append("\\b"); break; 1527 case '\t': out 1509 escapeStringBody( CharSequence plainText, boolean escapeToAscii, JsEscapingMode jsEscapingMode, Appendable out) argument 1591 appendHexJavaScriptRepresentation( int codePoint, Appendable out) argument 1620 appendOctalJavaScriptRepresentation( char ch, boolean pad, Appendable out) argument 2025 stringToMapImpl(T out, String in, String delimEntry, String delimKey, boolean doStripEntry) argument [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | StringUtil.java | 225 * definition will filter empty tokens out but will do so <i>after</i> 1442 * code. Also, make sure that we don't write out {@code -->} or 1452 * code. Also, make sure that we don't write out {@code -->} or 1494 * out buffer. 1508 * @param out the buffer to append output to. 1519 JsEscapingMode jsEscapingMode, Appendable out) 1521 int pos = 0; // Index just past the last char in plainText written to out. 1531 out.append(plainText, pos, i); 1534 case '\b': out.append("\\b"); break; 1535 case '\t': out 1517 escapeStringBody( CharSequence plainText, boolean escapeToAscii, JsEscapingMode jsEscapingMode, Appendable out) argument 1599 appendHexJavaScriptRepresentation( int codePoint, Appendable out) argument 1628 appendOctalJavaScriptRepresentation( char ch, boolean pad, Appendable out) argument 2033 stringToMapImpl(T out, String in, String delimEntry, String delimKey, boolean doStripEntry) argument [all...] |
/packages/apps/Camera/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/Email/src/com/android/email/mail/transport/ |
H A D | MailTransport.java | 279 OutputStream out = getOutputStream(); 280 out.write(s.getBytes()); 281 out.write('\r'); 282 out.write('\n'); 283 out.flush();
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | PhotoAppWidgetProvider.java | 53 Log.d(TAG, "sending out views=" + views 63 // Clean deleted photos out of our database 129 ByteArrayOutputStream out = new ByteArrayOutputStream(size); 130 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); 131 out.flush(); 132 out.close(); 137 out.toByteArray());
|
/packages/apps/Gallery2/jni/filters/ |
H A D | redEyeMath.c | 72 unsigned char *out, short *rect) { 85 out[row + x] = 1; 87 out[row + x] = mask[row + x]; 92 void dialateMask(unsigned char *mask, unsigned char *out, int mw, int mh) { argument 97 out[row + x] = (mask[row + x] | mask[row + x + 1] 71 dialateMaskIfRed(unsigned char *src, int iw, int ih, unsigned char *mask, unsigned char *out, short *rect) argument
|
/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/experimental/PrintService2/src/foo/bar/printservice2/ |
H A D | MyPrintService.java | 77 OutputStream out = null; 79 out = new BufferedOutputStream(new FileOutputStream(file)); 86 out.write(buffer, 0, readByteCount); 96 if (out != null) { 98 out.close();
|
/packages/apps/Email/src/com/android/email/view/ |
H A D | CertificateSelector.java | 142 public void writeToParcel(Parcel out, int flags) { argument 143 super.writeToParcel(out, flags); 144 out.writeString(mValue);
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
H A D | RegisteredServicesCache.java | 414 XmlSerializer out = new FastXmlSerializer(); 415 out.setOutput(fos, "utf-8"); 416 out.startDocument(null, true); 417 out.setFeature(XML_INDENT_OUTPUT_FEATURE, true); 418 out.startTag(null, "services"); 422 out.startTag(null, "service"); 423 out.attribute(null, "component", service.getKey().flattenToString()); 424 out.attribute(null, "uid", Integer.toString(service.getValue().uid)); 426 group.writeAsXml(out); 428 out [all...] |
/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/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/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/OMA-DM/engine/dmlib/tool-src/dmt_validate/com/mot/treetest/ |
H A D | TreeTest.java | 18 System.out.println("Test file has been created..."); 314 //System.out.println(modifiedFileName + " modifiedFileName.length()=" +modifiedFileName.length() + "dmtDir.length()="+dmtDir.length()); 350 BufferedWriter out = new BufferedWriter(new FileWriter(path)); 351 out.write(data); 352 out.close(); 381 System.out.println( 384 System.out.println(err.toString()); 389 System.out.println("\n-Test completed successfully..."); 394 System.out.println( 415 //System.out [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/lib/html/parser/ |
H A D | HtmlDocument.java | 33 * entire html document. It contains toHTML() method which prints out the html 34 * text, toXHTML for printing out XHTML text and toString() which prints out in 817 * Writes out the attribute in HTML format with all necessary preceding 839 * Writes out the attribute in XHTML format (value is always appended, 876 * Writes out the attribute in its original form as it was parsed.. 932 * @param out Destination to which this object appends nodes to replace 935 void filter(Node originalNode, List<Node> out); argument 939 * @param out Destination to which this object appends nodes at the end of 942 void finish(List<Node> out); argument 960 filter(Node originalNode, List<Node> out) argument 983 finish(List<Node> out) argument 998 filter(Node originalNode, List<Node> out) argument 1017 filterTag(Tag originalTag, List<Node> out) argument 1019 filterText(Text originalText, List<Node> out) argument 1021 filterEndTag(EndTag originalEndTag, List<Node> out) argument 1023 filterComment(Comment originalComment, List<Node> out) argument 1055 filter(Node originalNode, List<Node> out) argument 1080 finish(List<Node> out) argument [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
H A D | HtmlDocument.java | 34 * entire html document. It contains toHTML() method which prints out the html 35 * text, toXHTML for printing out XHTML text and toString() which prints out in 818 * Writes out the attribute in HTML format with all necessary preceding 840 * Writes out the attribute in XHTML format (value is always appended, 877 * Writes out the attribute in its original form as it was parsed.. 933 * @param out Destination to which this object appends nodes to replace 936 void filter(Node originalNode, List<Node> out); argument 940 * @param out Destination to which this object appends nodes at the end of 943 void finish(List<Node> out); argument 961 filter(Node originalNode, List<Node> out) argument 984 finish(List<Node> out) argument 999 filter(Node originalNode, List<Node> out) argument 1018 filterTag(Tag originalTag, List<Node> out) argument 1020 filterText(Text originalText, List<Node> out) argument 1022 filterEndTag(EndTag originalEndTag, List<Node> out) argument 1024 filterComment(Comment originalComment, List<Node> out) argument 1056 filter(Node originalNode, List<Node> out) argument 1081 finish(List<Node> out) argument [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
H A D | IOUtils.java | 113 PrintWriter out = new PrintWriter(buf); 114 out.println(); 1159 OutputStreamWriter out = new OutputStreamWriter(output); 1160 copy(input, out); 1163 out.flush(); 1194 OutputStreamWriter out = new OutputStreamWriter(output, encoding); 1195 copy(input, out); 1198 out.flush();
|