/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | Rfc822Output.java | 132 final Writer writer = new OutputStreamWriter(stream); in writeTo() local 138 writeHeader(writer, "Date", date); in writeTo() 140 writeEncodedHeader(writer, "Subject", message.mSubject); in writeTo() 142 writeHeader(writer, "Message-ID", message.mMessageId); in writeTo() 144 writeAddressHeader(writer, "From", message.mFrom); in writeTo() 145 writeAddressHeader(writer, "To", message.mTo); in writeTo() 146 writeAddressHeader(writer, "Cc", message.mCc); in writeTo() 150 writeAddressHeader(writer, "Bcc", message.mBcc); in writeTo() 152 writeAddressHeader(writer, "Reply-To", message.mReplyTo); in writeTo() 153 writeHeader(writer, "MIME-Version", "1.0"); in writeTo() [all …]
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CaptureDataSerializer.java | 48 public void write(Writer writer) throws IOException; in write() argument 58 StringWriter writer = new StringWriter(); in toString() local 59 dumpMetadata(title, metadata, writer); in toString() 60 return writer.toString(); in toString() 70 FileWriter writer = new FileWriter(file, true); in toFile() local 72 dumpMetadata(title, (CaptureRequest) metadata, writer); in toFile() 74 dumpMetadata(title, (CaptureResult) metadata, writer); in toFile() 76 writer.close(); in toFile() 80 writer.close(); in toFile() 91 Writer writer) { in dumpMetadata() argument [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
D | ObjectCursorLoader.java | 172 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 173 super.dump(prefix, fd, writer, args); in dump() 174 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump() 175 writer.print(prefix); writer.print("mProjection="); in dump() 176 writer.println(Arrays.toString(mProjection)); in dump() 177 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection); in dump() 178 writer.print(prefix); writer.print("mSelectionArgs="); in dump() 179 writer.println(Arrays.toString(mSelectionArgs)); in dump() 180 writer.print(prefix); writer.print("mSortOrder="); writer.println(mSortOrder); in dump() 181 writer.print(prefix); writer.print("mCursor="); writer.println(mCursor); in dump()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterVignetteRepresentation.java | 186 public void serializeRepresentation(JsonWriter writer) throws IOException { in serializeRepresentation() argument 187 writer.beginObject(); in serializeRepresentation() 188 writer.name(ELLIPSE); in serializeRepresentation() 189 writer.beginArray(); in serializeRepresentation() 190 writer.value(mCenterX); in serializeRepresentation() 191 writer.value(mCenterY); in serializeRepresentation() 192 writer.value(mRadiusX); in serializeRepresentation() 193 writer.value(mRadiusY); in serializeRepresentation() 194 writer.endArray(); in serializeRepresentation() 196 writer.name(ARGS); in serializeRepresentation() [all …]
|
D | FilterChanSatRepresentation.java | 166 public void serializeRepresentation(JsonWriter writer) throws IOException { in serializeRepresentation() argument 167 writer.beginObject(); in serializeRepresentation() 169 writer.name(ARGS); in serializeRepresentation() 170 writer.beginArray(); in serializeRepresentation() 171 writer.value(getValue(MODE_MASTER)); in serializeRepresentation() 172 writer.value(getValue(MODE_RED)); in serializeRepresentation() 173 writer.value(getValue(MODE_YELLOW)); in serializeRepresentation() 174 writer.value(getValue(MODE_GREEN)); in serializeRepresentation() 175 writer.value(getValue(MODE_CYAN)); in serializeRepresentation() 176 writer.value(getValue(MODE_BLUE)); in serializeRepresentation() [all …]
|
D | FilterCurvesRepresentation.java | 118 public void serializeRepresentation(JsonWriter writer) throws IOException { in serializeRepresentation() argument 119 writer.beginObject(); in serializeRepresentation() 121 writer.name(NAME_TAG); in serializeRepresentation() 122 writer.value(getName()); in serializeRepresentation() 124 writer.name(SERIALIZATION_NAME + i); in serializeRepresentation() 125 writer.beginArray(); in serializeRepresentation() 129 writer.beginArray(); in serializeRepresentation() 130 writer.value(p.x); in serializeRepresentation() 131 writer.value(p.y); in serializeRepresentation() 132 writer.endArray(); in serializeRepresentation() [all …]
|
D | FilterDrawRepresentation.java | 317 public void serializeRepresentation(JsonWriter writer) throws IOException { in serializeRepresentation() argument 318 writer.beginObject(); in serializeRepresentation() 326 writer.name(SERIAL_PATH + i); in serializeRepresentation() 327 writer.beginObject(); in serializeRepresentation() 329 writer.name(SERIAL_COLOR).value(mark.mColor); in serializeRepresentation() 330 writer.name(SERIAL_RADIUS).value(mark.mRadius); in serializeRepresentation() 331 writer.name(SERIAL_TYPE).value(mark.mType); in serializeRepresentation() 332 writer.name(SERIAL_POINTS_COUNT).value(mark.noPoints); in serializeRepresentation() 333 writer.name(SERIAL_POINTS); in serializeRepresentation() 335 writer.beginArray(); in serializeRepresentation() [all …]
|
D | FilterGradRepresentation.java | 433 public void serializeRepresentation(JsonWriter writer) throws IOException { in serializeRepresentation() argument 434 writer.beginObject(); in serializeRepresentation() 443 writer.name(LINE_NAME + count); in serializeRepresentation() 445 writer.beginArray(); in serializeRepresentation() 446 writer.value(point.xPos1); in serializeRepresentation() 447 writer.value(point.yPos1); in serializeRepresentation() 448 writer.value(point.xPos2); in serializeRepresentation() 449 writer.value(point.yPos2); in serializeRepresentation() 450 writer.value(point.brightness); in serializeRepresentation() 451 writer.value(point.contrast); in serializeRepresentation() [all …]
|
D | FilterColorBorderRepresentation.java | 173 public void serializeRepresentation(JsonWriter writer) throws IOException { in serializeRepresentation() argument 174 writer.beginObject(); in serializeRepresentation() 176 writer.name("size"); in serializeRepresentation() 177 writer.value(mParamSize.getValue()); in serializeRepresentation() 178 writer.name("radius"); in serializeRepresentation() 179 writer.value(mParamRadius.getValue()); in serializeRepresentation() 180 writer.name("color"); in serializeRepresentation() 181 writer.value(mParamColor.getValue()); in serializeRepresentation() 183 writer.endObject(); in serializeRepresentation()
|
D | FilterCropRepresentation.java | 153 public void serializeRepresentation(JsonWriter writer) throws IOException { in serializeRepresentation() argument 154 writer.beginObject(); in serializeRepresentation() 155 writer.name(BOUNDS[0]).value(mCrop.left); in serializeRepresentation() 156 writer.name(BOUNDS[1]).value(mCrop.top); in serializeRepresentation() 157 writer.name(BOUNDS[2]).value(mCrop.right); in serializeRepresentation() 158 writer.name(BOUNDS[3]).value(mCrop.bottom); in serializeRepresentation() 159 writer.endObject(); in serializeRepresentation()
|
D | FilterRepresentation.java | 226 public void serializeRepresentation(JsonWriter writer) throws IOException { in serializeRepresentation() argument 227 writer.beginObject(); in serializeRepresentation() 231 writer.name(rep[k][0]); in serializeRepresentation() 232 writer.value(rep[k][1]); in serializeRepresentation() 235 writer.endObject(); in serializeRepresentation()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | JsonUtils.java | 73 final JsonWriter writer = new JsonWriter(sw); in listToJsonStr() local 75 writer.beginArray(); in listToJsonStr() 77 writer.beginObject(); in listToJsonStr() 79 writer.name(INTEGER_CLASS_NAME).value((Integer)o); in listToJsonStr() 81 writer.name(STRING_CLASS_NAME).value((String)o); in listToJsonStr() 83 writer.endObject(); in listToJsonStr() 85 writer.endArray(); in listToJsonStr() 89 close(writer); in listToJsonStr()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeMultipart.java | 87 BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out), 1024); in writeTo() local 90 writer.write(mPreamble + "\r\n"); in writeTo() 95 writer.write("--" + mBoundary + "\r\n"); in writeTo() 96 writer.flush(); in writeTo() 98 writer.write("\r\n"); in writeTo() 101 writer.write("--" + mBoundary + "--\r\n"); in writeTo() 102 writer.flush(); in writeTo()
|
/packages/services/Telephony/src/com/android/phone/common/mail/internet/ |
D | MimeMultipart.java | 86 BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out), 1024); in writeTo() local 89 writer.write(mPreamble + "\r\n"); in writeTo() 94 writer.write("--" + mBoundary + "\r\n"); in writeTo() 95 writer.flush(); in writeTo() 97 writer.write("\r\n"); in writeTo() 100 writer.write("--" + mBoundary + "--\r\n"); in writeTo() 101 writer.flush(); in writeTo()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | MailLogService.java | 165 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 169 writer.print(HEADER); in dump() 173 writer.append("Logging for tag: \""); in dump() 174 writer.append(tag); in dump() 175 writer.append("\"\n"); in dump() 177 writer.append(sLogs.get(tag).toString()); in dump() 180 super.dump(fd, writer,args); in dump()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
D | FileWriterWithEncoding.java | 231 Writer writer = null; in initWriter() local 235 writer = new OutputStreamWriter(stream, (Charset)encoding); in initWriter() 237 writer = new OutputStreamWriter(stream, (CharsetEncoder)encoding); in initWriter() 239 writer = new OutputStreamWriter(stream, (String)encoding); in initWriter() 242 IOUtils.closeQuietly(writer); in initWriter() 249 IOUtils.closeQuietly(writer); in initWriter() 256 return writer; in initWriter()
|
D | LockableFileWriter.java | 233 Writer writer = null; in initWriter() local 236 writer = new FileWriter(file.getAbsolutePath(), append); in initWriter() 239 writer = new OutputStreamWriter(stream, encoding); in initWriter() 242 IOUtils.closeQuietly(writer); in initWriter() 250 IOUtils.closeQuietly(writer); in initWriter() 258 return writer; in initWriter()
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
D | HtmlDocument.java | 1218 private final PrintWriter writer; field in HtmlDocument.DebugPrinter 1220 public DebugPrinter(PrintWriter writer) { in DebugPrinter() argument 1221 this.writer = writer; in DebugPrinter() 1236 writer.print(type); in writeCollapsed() 1237 writer.print(": "); in writeCollapsed() 1241 writer.print(collapsed); in writeCollapsed() 1245 writer.print("==<" + tag.getName() + ">"); in visitTag() 1259 writer.print(" " + array[i]); in visitTag() 1262 writer.println(); in visitTag() 1266 writer.println("==</" + endtag.getName() + ">"); in visitEndTag()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
D | Multipart.java | 172 …BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out, CharsetUtil.getCharset(getC… in writeTo() local 174 writer.write(getPreamble() + "\r\n"); in writeTo() 177 writer.write(boundary + "\r\n"); in writeTo() 181 writer.write(getEpilogue() + "\r\n"); in writeTo() 182 writer.write(boundary + "--" + "\r\n"); in writeTo()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ImagePreset.java | 629 JsonWriter writer = new JsonWriter(swriter); in getJsonString() local 630 writeJson(writer, name); in getJsonString() 631 writer.close(); in getJsonString() 638 public void writeJson(JsonWriter writer, String name) { in writeJson() argument 641 writer.beginObject(); in writeJson() 654 writer.name(sname); in writeJson() 655 filter.serializeRepresentation(writer); in writeJson() 657 writer.endObject(); in writeJson()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | IntentStore.java | 210 StringWriter writer = new StringWriter(); in accountToString() local 213 serializer.setOutput(writer); in accountToString() 225 return writer.toString(); in accountToString() 263 StringWriter writer = new StringWriter(); in persistableBundleToString() local 266 serializer.setOutput(writer); in persistableBundleToString() 277 return writer.toString(); in persistableBundleToString()
|
/packages/apps/Camera2/src/com/android/camera/stats/profiler/ |
D | GuardingProfiler.java | 31 public GuardingProfiler(Writer writer, Writer verbose) { in GuardingProfiler() argument 32 this(writer, verbose, DEFAULT_GUARD_DURATION_MILLIS); in GuardingProfiler() 36 public GuardingProfiler(Writer writer, Writer verbose, int maxDurationMillis) { in GuardingProfiler() argument 37 mGuardWriter = writer; in GuardingProfiler()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | LogSaver.java | 48 public abstract void dump(PrintWriter writer); in dump() argument 132 public void dump(PrintWriter writer) { in dump() argument 137 writer.println(String.format("%s %5d %5d %s %s: %s", in dump() 226 public void dump(PrintWriter writer) { in dump() argument 239 writer.println(line); in dump()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | AbstractMailActivity.java | 94 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 95 super.dump(prefix, fd, writer, args); in dump() 98 getLoaderManager().dump(prefix, fd, writer, args); in dump() 99 getFragmentManager().dump(prefix, fd, writer, args); in dump()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | ExportProcessor.java | 102 Writer writer = null; in runInternal() local 140 writer = new BufferedWriter(new OutputStreamWriter(outputStream)); in runInternal() 172 writer.write(composer.createOneEntry()); in runInternal() 209 if (writer != null) { in runInternal() 211 writer.close(); in runInternal()
|