Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 230) sorted by relevance

12345678910

/packages/apps/Launcher2/
Dprint_db.py50 def print_intent(out, id, i, cell): argument
52 out.write("""<span class="intent" title="%s">shortcut</span>""" % (
57 def print_icon(out, id, i, cell): argument
60 out.write("""<img src="%s">""" % ( icon_fn ))
65 def print_cell(out, id, i, cell): argument
67 out.write(cgi.escape(str(cell)))
74 def render_cell_info(out, cell, occupied): argument
76 out.write(" <td width=%d height=%d></td>\n" %
90 out.write((" <td colspan=%d rowspan=%d width=%d height=%d"
97 out.write("""<img src="icon_%d.png">\n""" % ( cell["_id"] ))
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DMatrixUtils.h63 static void convert9to33(double out[3][3], double in[9]) { in convert9to33()
64 out[0][0] = in[0]; in convert9to33()
65 out[0][1] = in[1]; in convert9to33()
66 out[0][2] = in[2]; in convert9to33()
68 out[1][0] = in[3]; in convert9to33()
69 out[1][1] = in[4]; in convert9to33()
70 out[1][2] = in[5]; in convert9to33()
72 out[2][0] = in[6]; in convert9to33()
73 out[2][1] = in[7]; in convert9to33()
74 out[2][2] = in[8]; in convert9to33()
[all …]
DtrsMatrix.cpp79 void inv33d(const double m[3][3], double out[3][3]) in inv33d()
83 out[0][0] = (m[1][1]*m[2][2] - m[1][2]*m[2][1]) / det; in inv33d()
84 out[1][0] = (m[1][2]*m[2][0] - m[1][0]*m[2][2]) / det; in inv33d()
85 out[2][0] = (m[1][0]*m[2][1] - m[1][1]*m[2][0]) / det; in inv33d()
87 out[0][1] = (m[0][2]*m[2][1] - m[0][1]*m[2][2]) / det; in inv33d()
88 out[1][1] = (m[0][0]*m[2][2] - m[0][2]*m[2][0]) / det; in inv33d()
89 out[2][1] = (m[0][1]*m[2][0] - m[0][0]*m[2][1]) / det; in inv33d()
91 out[0][2] = (m[0][1]*m[1][2] - m[0][2]*m[1][1]) / det; in inv33d()
92 out[1][2] = (m[0][2]*m[1][0] - m[0][0]*m[1][2]) / det; in inv33d()
93 out[2][2] = (m[0][0]*m[1][1] - m[0][1]*m[1][0]) / det; in inv33d()
DPyramid.cpp148 void PyramidShort::BorderExpandOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr, in BorderExpandOdd() argument
169 for (j = -out->border; j < out->height + out->border; j++) { in BorderExpandOdd()
170 out->ptr[j][i2] = (short) (out->ptr[j][i2] + in BorderExpandOdd()
173 out->ptr[j][i2+1] = (short) (out->ptr[j][i2+1] + in BorderExpandOdd()
207 void PyramidShort::BorderReduceOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr) in BorderReduceOdd() argument
230 s = out->ptr[-(off >> 1)] - out->border; in BorderReduceOdd()
231 ns = s + out->pitch; in BorderReduceOdd()
232 ls = s + out->pitch * (out->height + off); in BorderReduceOdd()
233 p = scr->ptr[-off] - out->border; in BorderReduceOdd()
237 for (; s < ls; s = ns, ns += out->pitch, p = np, np += pitch2) { in BorderReduceOdd()
[all …]
DImageUtils.h62 static void rgb2yvu(ImageType out, ImageType in, int width, int height);
64 static void rgba2yvu(ImageType out, ImageType in, int width, int height);
76 static void yvu2rgb(ImageType out, ImageType in, int width, int height);
77 static void yvu2bgr(ImageType out, ImageType in, int width, int height);
92 static ImageType rgb2gray(ImageType out, ImageType in, int width, int height);
114 static ImageType *imageTypeToRowPointers(ImageType out, int width, int height);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DMatrixUtils.h63 static void convert9to33(double out[3][3], double in[9]) { in convert9to33()
64 out[0][0] = in[0]; in convert9to33()
65 out[0][1] = in[1]; in convert9to33()
66 out[0][2] = in[2]; in convert9to33()
68 out[1][0] = in[3]; in convert9to33()
69 out[1][1] = in[4]; in convert9to33()
70 out[1][2] = in[5]; in convert9to33()
72 out[2][0] = in[6]; in convert9to33()
73 out[2][1] = in[7]; in convert9to33()
74 out[2][2] = in[8]; in convert9to33()
[all …]
DtrsMatrix.cpp79 void inv33d(const double m[3][3], double out[3][3]) in inv33d()
83 out[0][0] = (m[1][1]*m[2][2] - m[1][2]*m[2][1]) / det; in inv33d()
84 out[1][0] = (m[1][2]*m[2][0] - m[1][0]*m[2][2]) / det; in inv33d()
85 out[2][0] = (m[1][0]*m[2][1] - m[1][1]*m[2][0]) / det; in inv33d()
87 out[0][1] = (m[0][2]*m[2][1] - m[0][1]*m[2][2]) / det; in inv33d()
88 out[1][1] = (m[0][0]*m[2][2] - m[0][2]*m[2][0]) / det; in inv33d()
89 out[2][1] = (m[0][1]*m[2][0] - m[0][0]*m[2][1]) / det; in inv33d()
91 out[0][2] = (m[0][1]*m[1][2] - m[0][2]*m[1][1]) / det; in inv33d()
92 out[1][2] = (m[0][2]*m[1][0] - m[0][0]*m[1][2]) / det; in inv33d()
93 out[2][2] = (m[0][0]*m[1][1] - m[0][1]*m[1][0]) / det; in inv33d()
DPyramid.cpp148 void PyramidShort::BorderExpandOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr, in BorderExpandOdd() argument
170 int limit = out->height + out->border; in BorderExpandOdd()
171 for (j = -out->border; j < limit; j++) { in BorderExpandOdd()
176 out->ptr[j][i2] = (short) (out->ptr[j][i2] + in BorderExpandOdd()
179 out->ptr[j][i2+1] = (short) (out->ptr[j][i2+1] + in BorderExpandOdd()
213 void PyramidShort::BorderReduceOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr) in BorderReduceOdd() argument
236 s = out->ptr[-(off >> 1)] - out->border; in BorderReduceOdd()
237 ns = s + out->pitch; in BorderReduceOdd()
238 ls = s + out->pitch * (out->height + off); in BorderReduceOdd()
239 p = scr->ptr[-off] - out->border; in BorderReduceOdd()
[all …]
DImageUtils.h62 static void rgb2yvu(ImageType out, ImageType in, int width, int height);
64 static void rgba2yvu(ImageType out, ImageType in, int width, int height);
76 static void yvu2rgb(ImageType out, ImageType in, int width, int height);
77 static void yvu2bgr(ImageType out, ImageType in, int width, int height);
92 static ImageType rgb2gray(ImageType out, ImageType in, int width, int height);
114 static ImageType *imageTypeToRowPointers(ImageType out, int width, int height);
/packages/apps/Email/src/com/beetstra/jutf7/
DUTF7StyleCharsetEncoder.java105 protected CoderResult implFlush(ByteBuffer out) { in implFlush() argument
107 if (out.remaining() < 2) in implFlush()
110 out.put(base64.getChar(sextet)); in implFlush()
111 out.put(unshift); in implFlush()
144 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { in encodeLoop() argument
146 if (out.remaining() < 4) in encodeLoop()
150 unshift(out, ch); in encodeLoop()
151 out.put((byte)ch); in encodeLoop()
153 out.put(shift); in encodeLoop()
154 out.put(unshift); in encodeLoop()
[all …]
DUTF7StyleCharsetDecoder.java64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { in decodeLoop() argument
72 if (!out.hasRemaining()) in decodeLoop()
74 out.put((char)shift); in decodeLoop()
79 if (!out.hasRemaining()) in decodeLoop()
81 CoderResult result = handleBase64(in, out, b); in decodeLoop()
94 if (!out.hasRemaining()) in decodeLoop()
96 out.put((char)b); in decodeLoop()
120 private CoderResult handleBase64(ByteBuffer in, CharBuffer out, byte lastRead) { in handleBase64() argument
130 out.put((char)tempChar); in handleBase64()
136 out.put((char)lastRead); in handleBase64()
[all …]
/packages/apps/Email/src/com/android/email/mail/internet/
DEmailHtmlUtil.java39 StringBuilder out = new StringBuilder(); in escapeCharacterToDisplay() local
43 out.append(text.substring(end, start)); in escapeCharacterToDisplay()
49 out.append("&nbsp;"); in escapeCharacterToDisplay()
51 out.append(' '); in escapeCharacterToDisplay()
53 out.append("<br>"); in escapeCharacterToDisplay()
55 out.append("&lt;"); in escapeCharacterToDisplay()
57 out.append("&gt;"); in escapeCharacterToDisplay()
59 out.append("&amp;"); in escapeCharacterToDisplay()
62 out.append(text.substring(end)); in escapeCharacterToDisplay()
63 text = out.toString(); in escapeCharacterToDisplay()
/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/
DMoreKeysResources.java97 ps = System.out; in writeToJava()
115 private void inflateTemplate(final LineNumberReader in, final PrintStream out) in inflateTemplate() argument
120 dumpNames(out); in inflateTemplate()
122 dumpDefaultTexts(out); in inflateTemplate()
124 dumpTexts(out); in inflateTemplate()
126 dumpLanguageMap(out); in inflateTemplate()
128 out.println(line); in inflateTemplate()
133 private void dumpNames(final PrintStream out) { in dumpNames() argument
137 out.format(" /* %2d */ \"%s\",\n", id, res.mName); in dumpNames()
143 private void dumpDefaultTexts(final PrintStream out) { in dumpDefaultTexts() argument
[all …]
/packages/apps/Email/src/org/apache/commons/io/output/
DProxyWriter.java52 out.write(idx); in write()
61 out.write(chr); in write()
72 out.write(chr, st, end); in write()
81 out.write(str); in write()
92 out.write(str, st, end); in write()
100 out.flush(); in flush()
108 out.close(); in close()
DFileWriterWithEncoding.java55 private final Writer out; field in FileWriterWithEncoding
155 this.out = initWriter(file, encoding, append); in FileWriterWithEncoding()
181 this.out = initWriter(file, encoding, append); in FileWriterWithEncoding()
207 this.out = initWriter(file, encoding, append); in FileWriterWithEncoding()
266 out.write(idx); in write()
275 out.write(chr); in write()
286 out.write(chr, st, end); in write()
295 out.write(str); in write()
306 out.write(str, st, end); in write()
314 out.flush(); in flush()
[all …]
DProxyOutputStream.java50 out.write(idx); in write()
59 out.write(bts); in write()
70 out.write(bts, st, end); in write()
78 out.flush(); in flush()
86 out.close(); in close()
DLockableFileWriter.java58 private final Writer out; field in LockableFileWriter
183 out = initWriter(file, encoding, append); in LockableFileWriter()
269 out.close(); in close()
282 out.write(idx); in write()
291 out.write(chr); in write()
302 out.write(chr, st, end); in write()
311 out.write(str); in write()
322 out.write(str, st, end); in write()
330 out.flush(); in flush()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeySpecParser.java253 ArrayList<String> out = null; in filterOutEmptyString() local
257 if (out == null) { in filterOutEmptyString()
258 out = arrayAsList(array, 0, i); in filterOutEmptyString()
260 } else if (out != null) { in filterOutEmptyString()
261 out.add(entry); in filterOutEmptyString()
264 if (out == null) { in filterOutEmptyString()
267 return out.toArray(new String[out.size()]); in filterOutEmptyString()
276 ArrayList<String> out = null; in insertAdditionalMoreKeys() local
284 if (out != null) { in insertAdditionalMoreKeys()
285 out.add(additionalMoreKey); in insertAdditionalMoreKeys()
[all …]
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
DCameraLatency.java112 BufferedWriter out = new BufferedWriter(fstream); in testImageCapture() local
113 out.write("Camera Latency : \n"); in testImageCapture()
114 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n"); in testImageCapture()
115 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n"); in testImageCapture()
116 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n"); in testImageCapture()
117 out.write("Avg mShutterToPictureDisplayedTime = " in testImageCapture()
119 out.write("Avg mPictureDisplayedToJpegCallbackTime = " in testImageCapture()
121 out.write("Avg mJpegCallbackFinishTime = " + in testImageCapture()
123 out.close(); in testImageCapture()
/packages/apps/Camera/tests/src/com/android/camera/stress/
DCameraLatency.java112 BufferedWriter out = new BufferedWriter(fstream); in testImageCapture() local
113 out.write("Camera Latency : \n"); in testImageCapture()
114 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n"); in testImageCapture()
115 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n"); in testImageCapture()
116 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n"); in testImageCapture()
117 out.write("Avg mShutterToPictureDisplayedTime = " in testImageCapture()
119 out.write("Avg mPictureDisplayedToJpegCallbackTime = " in testImageCapture()
121 out.write("Avg mJpegCallbackFinishTime = " + in testImageCapture()
123 out.close(); in testImageCapture()
/packages/apps/Email/src/org/apache/james/mime4j/message/
DMemoryBinaryBody.java59 ByteArrayOutputStream out = new ByteArrayOutputStream(); in MemoryBinaryBody() local
60 IOUtils.copy(is, out); in MemoryBinaryBody()
61 out.close(); in MemoryBinaryBody()
62 tempFile = out.toByteArray(); in MemoryBinaryBody()
89 public void writeTo(OutputStream out) throws IOException { in writeTo() argument
90 IOUtils.copy(getInputStream(),out); in writeTo() local
DMemoryTextBody.java64 ByteArrayOutputStream out = new ByteArrayOutputStream(); in MemoryTextBody() local
65 IOUtils.copy(is, out); in MemoryTextBody()
66 out.close(); in MemoryTextBody()
67 tempFile = out.toByteArray(); in MemoryTextBody()
115 public void writeTo(OutputStream out) throws IOException { in writeTo() argument
116 IOUtils.copy(new ByteArrayInputStream(tempFile), out); in writeTo()
/packages/apps/Email/src/org/apache/james/mime4j/field/address/
DDomainList.java67 StringBuffer out = new StringBuffer(); in toRouteString() local
69 out.append("@"); in toRouteString()
70 out.append(get(i)); in toRouteString()
72 out.append(","); in toRouteString()
74 return out.toString(); in toRouteString()
/packages/apps/Browser/src/com/android/browser/
DBrowserBackupAgent.java192 FileOutputStream out = new FileOutputStream(file); in copyBackupToFile() local
198 out.write(buf, 0, numRead); in copyBackupToFile()
202 if (out != null) { in copyBackupToFile()
203 out.close(); in copyBackupToFile()
212 DataOutputStream out = new DataOutputStream( in writeBackupState() local
215 out.writeLong(fileSize); in writeBackupState()
216 out.writeLong(crc); in writeBackupState()
217 out.writeInt(BACKUP_AGENT_VERSION); in writeBackupState()
219 if (out != null) { in writeBackupState()
220 out.close(); in writeBackupState()
/packages/experimental/procstatlog/
Dprocstatreport.py152 out = []
154 out.append(PAGE_BEGIN % {
199 out.append(CHART % {
241 out.append(CHART % {
273 out.append(CHART % {
337 out.append(CHART % {
368 out.append(CHART % {
386 if out[-1] != SPACER: out.append(SPACER)
420 out.append(CHART % {
442 if out[-1] != SPACER: out.append(SPACER)
[all …]

12345678910