/packages/apps/Launcher3/ |
D | print_db.py | 70 def print_intent(out, id, i, cell): argument 72 out.write("""<span class="intent" title="%s">shortcut</span>""" % ( 77 def print_icon(out, id, i, cell): argument 80 out.write("""<img style="width: 3em; height: 3em;" src="%s">""" % ( icon_fn )) 85 def print_icon_type(out, id, i, cell): argument 87 out.write("Application (%d)" % cell) 89 out.write("Shortcut (%d)" % cell) 91 out.write("Folder (%d)" % cell) 93 out.write("Widget (%d)" % cell) 95 out.write("%d" % cell) [all …]
|
/packages/apps/Launcher2/ |
D | print_db.py | 50 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/TV/src/com/android/tv/tuner/exoplayer/buffer/ |
D | DvrStorageManager.java | 191 private void writeFormatInt(DataOutputStream out, MediaFormat format, String key) in writeFormatInt() argument 194 out.writeInt(format.getInteger(key)); in writeFormatInt() 196 out.writeInt(NO_VALUE); in writeFormatInt() 200 private void writeFormatLong(DataOutputStream out, MediaFormat format, String key) in writeFormatLong() argument 203 out.writeLong(format.getLong(key)); in writeFormatLong() 205 out.writeLong(NO_VALUE_LONG); in writeFormatLong() 209 private void writeFormatFloat(DataOutputStream out, MediaFormat format, String key) in writeFormatFloat() argument 212 out.writeFloat(format.getFloat(key)); in writeFormatFloat() 214 out.writeFloat(NO_VALUE); in writeFormatFloat() 218 private void writeString(DataOutputStream out, String str) throws IOException { in writeString() argument [all …]
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | DatabaseMessages.java | 241 public void writeToParcel(final Parcel out, final int flags) { in writeToParcel() argument 242 out.writeString(mUri); in writeToParcel() 243 out.writeLong(mRowId); in writeToParcel() 244 out.writeLong(mTimestampInMillis); in writeToParcel() 245 out.writeLong(mTimestampSentInMillis); in writeToParcel() 246 out.writeInt(mType); in writeToParcel() 247 out.writeLong(mThreadId); in writeToParcel() 248 out.writeInt(mStatus); in writeToParcel() 249 out.writeInt(mRead ? 1 : 0); in writeToParcel() 250 out.writeInt(mSeen ? 1 : 0); in writeToParcel() [all …]
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
D | WaveHeader.java | 230 public int write(OutputStream out) throws IOException { in write() argument 232 writeId(out, "RIFF"); in write() 233 writeInt(out, 36 + mNumBytes); in write() 234 writeId(out, "WAVE"); in write() 237 writeId(out, "fmt "); in write() 238 writeInt(out, 16); in write() 239 writeShort(out, mFormat); in write() 240 writeShort(out, mNumChannels); in write() 241 writeInt(out, mSampleRate); in write() 242 writeInt(out, mNumChannels * mSampleRate * mBitsPerSample / 8); in write() [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | MatrixUtils.h | 63 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 …]
|
D | Pyramid.cpp | 148 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 …]
|
D | ImageUtils.cpp | 28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) in rgba2yvu() argument 31 ImageType yimg = out; in rgba2yvu() 73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) in rgb2yvu() argument 76 ImageType yimg = out; in rgb2yvu() 121 ImageType out = ImageUtils::allocateImage(width, height, 1); in rgb2gray() local 122 ImageType outCopy = out; in rgb2gray() 143 return out; in rgb2gray() 146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) in rgb2gray() argument 149 ImageType gray = out; in rgb2gray() 151 ImageType outCopy = out; in rgb2gray() [all …]
|
D | trsMatrix.cpp | 79 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()
|
/packages/services/Car/car-support-lib/src/android/support/car/app/ |
D | CarFragmentActivity.java | 465 StringBuilder out = new StringBuilder(128); in viewToString() local 466 out.append(view.getClass().getName()); in viewToString() 467 out.append('{'); in viewToString() 468 out.append(Integer.toHexString(System.identityHashCode(view))); in viewToString() 469 out.append(' '); in viewToString() 471 case View.VISIBLE: out.append('V'); break; in viewToString() 472 case View.INVISIBLE: out.append('I'); break; in viewToString() 473 case View.GONE: out.append('G'); break; in viewToString() 474 default: out.append('.'); break; in viewToString() 476 out.append(view.isFocusable() ? 'F' : '.'); in viewToString() [all …]
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
D | UTF7StyleCharsetEncoder.java | 105 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 …]
|
D | UTF7StyleCharsetDecoder.java | 64 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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpec.java | 240 ArrayList<String> out = null; in filterOutEmptyString() local 244 if (out == null) { in filterOutEmptyString() 245 out = CollectionUtils.arrayAsList(array, 0, i); in filterOutEmptyString() 247 } else if (out != null) { in filterOutEmptyString() 248 out.add(entry); in filterOutEmptyString() 251 if (out == null) { in filterOutEmptyString() 254 return out.toArray(new String[out.size()]); in filterOutEmptyString() 263 ArrayList<String> out = null; in insertAdditionalMoreKeys() local 271 if (out != null) { in insertAdditionalMoreKeys() 272 out.add(additionalMoreKey); in insertAdditionalMoreKeys() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppWidgetResizeFrame.java | 377 private void getSnappedRectRelativeToDragLayer(Rect out) { in getSnappedRectRelativeToDragLayer() argument 380 mDragLayer.getViewRectRelativeToSelf(mWidgetView, out); in getSnappedRectRelativeToDragLayer() 383 + (int) (scale * (out.width() - mWidgetPadding.left - mWidgetPadding.right)); in getSnappedRectRelativeToDragLayer() 385 + (int) (scale * (out.height() - mWidgetPadding.top - mWidgetPadding.bottom)); in getSnappedRectRelativeToDragLayer() 387 int x = (int) (out.left - mBackgroundPadding + scale * mWidgetPadding.left); in getSnappedRectRelativeToDragLayer() 388 int y = (int) (out.top - mBackgroundPadding + scale * mWidgetPadding.top); in getSnappedRectRelativeToDragLayer() 390 out.left = x; in getSnappedRectRelativeToDragLayer() 391 out.top = y; in getSnappedRectRelativeToDragLayer() 392 out.right = out.left + width; in getSnappedRectRelativeToDragLayer() 393 out.bottom = out.top + height; in getSnappedRectRelativeToDragLayer() [all …]
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | MoreKeysResources.java | 119 ps = System.out; in writeToJava() 137 private void inflateTemplate(final LineNumberReader in, final PrintStream out) in inflateTemplate() argument 142 dumpNames(out); in inflateTemplate() 144 dumpDefaultTexts(out); in inflateTemplate() 146 dumpTexts(out); in inflateTemplate() 148 dumpLocalesMap(out); in inflateTemplate() 150 out.println(line); in inflateTemplate() 155 private void dumpNames(final PrintStream out) { in dumpNames() argument 160 out.format(" /* %3d:%2d */ \"%s\",\n", index, histogramValue, name); in dumpNames() 164 private void dumpDefaultTexts(final PrintStream out) { in dumpDefaultTexts() argument [all …]
|
/packages/services/BuiltInPrintService/jni/plugins/ |
D | wprint_scaler.c | 432 uint8 *_RESTRICT_ in6, uint8 *_RESTRICT_ in7, uint8 *_RESTRICT_ in8, uint8 *_RESTRICT_ out, in _scale_row_down_9in() argument 487 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_9in() 488 out[(x * 3) + 0] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_9in() 489 out[(x * 3) + 0] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_9in() 495 uint8 *_RESTRICT_ in6, uint8 *_RESTRICT_ in7, uint8 *_RESTRICT_ out, uint64 position_x, in _scale_row_down_8in() argument 548 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_8in() 549 out[(x * 3) + 1] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_8in() 550 out[(x * 3) + 2] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_8in() 556 uint8 *_RESTRICT_ in6, uint8 *_RESTRICT_ out, uint64 position_x, uint64 x_factor_inv, in _scale_row_down_7in() argument 604 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_7in() [all …]
|
/packages/apps/TV/src/com/android/tv/data/ |
D | Program.java | 856 public void writeToParcel(Parcel out, int paramInt) { in writeToParcel() argument 857 out.writeLong(mId); in writeToParcel() 858 out.writeString(mPackageName); in writeToParcel() 859 out.writeLong(mChannelId); in writeToParcel() 860 out.writeString(mTitle); in writeToParcel() 861 out.writeString(mSeriesId); in writeToParcel() 862 out.writeString(mEpisodeTitle); in writeToParcel() 863 out.writeString(mSeasonNumber); in writeToParcel() 864 out.writeString(mSeasonTitle); in writeToParcel() 865 out.writeString(mEpisodeNumber); in writeToParcel() [all …]
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Info.java | 40 System.out.println("Header attributes :"); in showInfo() 41 System.out.print(dict.mOptions.toString(2, plumbing)); in showInfo() 61 System.out.println("Words in the dictionary : " + wordCount); in showInfo() 62 System.out.println("Bigram count : " + bigramCount); in showInfo() 63 System.out.println("Shortcuts : " + shortcutCount + " (out of which " + whitelistCount in showInfo() 70 System.out.println(word + " is not in the dictionary"); in showWordInfo() 73 System.out.println("Word: " + word); in showWordInfo() 74 System.out.println(" Freq: " + ptNode.getProbability()); in showWordInfo() 76 System.out.println(" Is not a word"); in showWordInfo() 79 System.out.println(" Is possibly offensive"); in showWordInfo() [all …]
|
D | Diff.java | 62 System.out.println("Header :"); in run() 71 System.out.println("Body :"); in run() 92 System.out.println(" " + optionKey + " : " in diffHeaders() 100 System.out.println(" " + optionKey + " : null <=> " + options1.get(optionKey)); in diffHeaders() 104 System.out.println(" No differences"); in diffHeaders() 115 System.out.println("Deleted: " + word0Property.mWord + " " in diffWords() 121 System.out.println("Probability changed: " + word0Property.mWord + " " in diffWords() 127 System.out.println("Not a word: " + word0Property.mWord + " " in diffWords() 132 System.out.println("Possibly-offensive: " + word0Property.mWord + " " in diffWords() 149 System.out.println("Added: " + word1Property.mWord + " " in diffWords() [all …]
|
/packages/experimental/procstatlog/ |
D | procstatreport.py | 152 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 …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | State.java | 124 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument 125 out.writeInt(action); in writeToParcel() 126 out.writeStringArray(acceptMimes); in writeToParcel() 127 out.writeInt(allowMultiple ? 1 : 0); in writeToParcel() 128 out.writeInt(localOnly ? 1 : 0); in writeToParcel() 129 out.writeInt(showDeviceStorageOption ? 1 : 0); in writeToParcel() 130 out.writeInt(showAdvanced ? 1 : 0); in writeToParcel() 131 DurableUtils.writeToParcel(out, stack); in writeToParcel() 132 out.writeMap(dirConfigs); in writeToParcel() 133 out.writeList(excludedAuthorities); in writeToParcel() [all …]
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
D | EmailHtmlUtil.java | 39 StringBuilder out = new StringBuilder(); in escapeCharacterToDisplay() local 43 out.append(text.substring(end, start)); in escapeCharacterToDisplay() 49 out.append(" "); in escapeCharacterToDisplay() 51 out.append(' '); in escapeCharacterToDisplay() 53 out.append("<br>"); in escapeCharacterToDisplay() 55 out.append("<"); in escapeCharacterToDisplay() 57 out.append(">"); in escapeCharacterToDisplay() 59 out.append("&"); in escapeCharacterToDisplay() 62 out.append(text.substring(end)); in escapeCharacterToDisplay() 63 text = out.toString(); in escapeCharacterToDisplay()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
D | FileWriterWithEncoding.java | 55 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 …]
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
D | CameraLatency.java | 127 BufferedWriter out = new BufferedWriter(fstream); in testImageCapture() local 128 out.write("Camera Latency : \n"); in testImageCapture() 129 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n"); in testImageCapture() 130 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n"); in testImageCapture() 131 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n"); in testImageCapture() 132 out.write("Avg mShutterToPictureDisplayedTime = " in testImageCapture() 134 out.write("Avg mPictureDisplayedToJpegCallbackTime = " in testImageCapture() 136 out.write("Avg mJpegCallbackFinishTime = " + in testImageCapture() 138 out.write("Avg FirstPreviewTime = " + in testImageCapture() 140 out.close(); in testImageCapture()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | ScheduledRecording.java | 813 public void writeToParcel(Parcel out, int paramInt) { in writeToParcel() argument 814 out.writeLong(mId); in writeToParcel() 815 out.writeLong(mPriority); in writeToParcel() 816 out.writeString(mInputId); in writeToParcel() 817 out.writeLong(mChannelId); in writeToParcel() 818 out.writeLong(mProgramId); in writeToParcel() 819 out.writeString(mProgramTitle); in writeToParcel() 820 out.writeInt(mType); in writeToParcel() 821 out.writeLong(mStartTimeMs); in writeToParcel() 822 out.writeLong(mEndTimeMs); in writeToParcel() [all …]
|