Home
last modified time | relevance | path

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

12345678910>>...14

/packages/apps/Launcher3/
Dprint_db.py70 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/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DDvrStorageManager.java264 private void writeFormatInt(DataOutputStream out, MediaFormat mediaFormat, String key) in writeFormatInt() argument
267 out.writeInt(mediaFormat.getInteger(key)); in writeFormatInt()
269 out.writeInt(NO_VALUE); in writeFormatInt()
273 private void writeFormatLong(DataOutputStream out, MediaFormat mediaFormat, String key) in writeFormatLong() argument
276 out.writeLong(mediaFormat.getLong(key)); in writeFormatLong()
278 out.writeLong(NO_VALUE_LONG); in writeFormatLong()
282 private void writeFormatFloat(DataOutputStream out, MediaFormat mediaFormat, String key) in writeFormatFloat() argument
285 out.writeFloat(mediaFormat.getFloat(key)); in writeFormatFloat()
287 out.writeFloat(NO_VALUE); in writeFormatFloat()
291 private void writeString(DataOutputStream out, String str) throws IOException { in writeString() argument
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DDvrStorageManager.java264 private void writeFormatInt(DataOutputStream out, MediaFormat format, String key) in writeFormatInt() argument
267 out.writeInt(format.getInteger(key)); in writeFormatInt()
269 out.writeInt(NO_VALUE); in writeFormatInt()
273 private void writeFormatLong(DataOutputStream out, MediaFormat format, String key) in writeFormatLong() argument
276 out.writeLong(format.getLong(key)); in writeFormatLong()
278 out.writeLong(NO_VALUE_LONG); in writeFormatLong()
282 private void writeFormatFloat(DataOutputStream out, MediaFormat format, String key) in writeFormatFloat() argument
285 out.writeFloat(format.getFloat(key)); in writeFormatFloat()
287 out.writeFloat(NO_VALUE); in writeFormatFloat()
291 private void writeString(DataOutputStream out, String str) throws IOException { in writeString() argument
[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 …]
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 …]
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()
DImageUtils.cpp28 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 …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java66 public void mapRect(int left, int top, int right, int bottom, Rect out) {
67 out.left = top;
68 out.top = right;
69 out.right = bottom;
70 out.bottom = left;
74 public void mapInsets(Context context, Rect insets, Rect out) {
79 out.top = Math.max(insets.top, insets.left);
80 out.bottom = Math.max(insets.right, insets.bottom);
81 out.left = out.right = 0;
83 out.top = Math.max(insets.top, insets.left);
[all …]
/packages/apps/Messaging/src/com/android/messaging/sms/
DDatabaseMessages.java241 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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java240 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/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DMoreKeysResources.java119 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/apps/Launcher3/src/com/android/launcher3/widget/custom/
DCustomAppWidgetProviderInfo.java73 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument
74 super.writeToParcel(out, flags); in writeToParcel()
75 out.writeInt(providerId); in writeToParcel()
76 out.writeString(provider.getPackageName()); in writeToParcel()
78 out.writeString(label); in writeToParcel()
79 out.writeInt(initialLayout); in writeToParcel()
80 out.writeInt(icon); in writeToParcel()
81 out.writeInt(previewImage); in writeToParcel()
83 out.writeInt(resizeMode); in writeToParcel()
84 out.writeInt(spanX); in writeToParcel()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java404 private void getSnappedRectRelativeToDragLayer(Rect out) { in getSnappedRectRelativeToDragLayer() argument
407 mDragLayer.getViewRectRelativeToSelf(mWidgetView, out); in getSnappedRectRelativeToDragLayer()
410 + (int) (scale * (out.width() - mWidgetPadding.left - mWidgetPadding.right)); in getSnappedRectRelativeToDragLayer()
412 + (int) (scale * (out.height() - mWidgetPadding.top - mWidgetPadding.bottom)); in getSnappedRectRelativeToDragLayer()
414 int x = (int) (out.left - mBackgroundPadding + scale * mWidgetPadding.left); in getSnappedRectRelativeToDragLayer()
415 int y = (int) (out.top - mBackgroundPadding + scale * mWidgetPadding.top); in getSnappedRectRelativeToDragLayer()
417 out.left = x; in getSnappedRectRelativeToDragLayer()
418 out.top = y; in getSnappedRectRelativeToDragLayer()
419 out.right = out.left + width; in getSnappedRectRelativeToDragLayer()
420 out.bottom = out.top + height; in getSnappedRectRelativeToDragLayer()
[all …]
/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_scaler.c432 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/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDiff.java62 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()
146 System.out.println("Added: " + word1Property.mWord + " " in diffWords()
[all …]
DInfo.java40 System.out.println("Header attributes :"); in showInfo()
41 System.out.print(dict.mOptions.toString(2, plumbing)); in showInfo()
52 System.out.println("Words in the dictionary : " + wordCount); in showInfo()
53 System.out.println("Bigram count : " + bigramCount); in showInfo()
54 System.out.println("Shortcuts : " + shortcutCount + " (out of which " + allowlistCount in showInfo()
61 System.out.println(word + " is not in the dictionary"); in showWordInfo()
64 System.out.println("Word: " + word); in showWordInfo()
65 System.out.println(" Freq: " + ptNode.getProbability()); in showWordInfo()
67 System.out.println(" Is not a word"); in showWordInfo()
70 System.out.println(" Is possibly offensive"); in showWordInfo()
[all …]
DHeader.java60 System.out.println("Dictionary : " + dictFile.getAbsolutePath()); in run()
61 System.out.println("Size : " + dictFile.length() + " bytes"); in run()
62 System.out.println("Format : Binary dictionary format"); in run()
63 System.out.println("Format version : " + header.mFormatOptions.mVersion); in run()
64 System.out.println("Packaging : " + spec.describeChain()); in run()
65 System.out.println("Header attributes :"); in run()
66 System.out.print(header.mDictionaryOptions.toString(2 /* indentCount */, plumbing)); in run()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java152 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument
153 out.writeInt(action); in writeToParcel()
154 out.writeStringArray(acceptMimes); in writeToParcel()
155 out.writeInt(allowMultiple ? 1 : 0); in writeToParcel()
156 out.writeInt(localOnly ? 1 : 0); in writeToParcel()
157 out.writeInt(showDeviceStorageOption ? 1 : 0); in writeToParcel()
158 out.writeInt(showAdvanced ? 1 : 0); in writeToParcel()
159 DurableUtils.writeToParcel(out, stack); in writeToParcel()
160 out.writeMap(dirConfigs); in writeToParcel()
161 out.writeList(excludedAuthorities); in writeToParcel()
[all …]
/packages/apps/Camera2/tests/src/com/android/camera/stress/
DCameraLatency.java127 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/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/TV/src/com/android/tv/data/
DProgramImpl.java965 public void writeToParcel(Parcel out, int paramInt) { in writeToParcel() argument
966 out.writeLong(mId); in writeToParcel()
967 out.writeString(mPackageName); in writeToParcel()
968 out.writeLong(mChannelId); in writeToParcel()
969 out.writeString(mTitle); in writeToParcel()
970 out.writeString(mSeriesId); in writeToParcel()
971 out.writeString(mEpisodeTitle); in writeToParcel()
972 out.writeString(mSeasonNumber); in writeToParcel()
973 out.writeString(mSeasonTitle); in writeToParcel()
974 out.writeString(mEpisodeNumber); in writeToParcel()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMailTransport.java62 private BufferedOutputStream out; field in MailTransport
144 out = new BufferedOutputStream(socket.getOutputStream(), 512); in open()
217 out = new BufferedOutputStream(socket.getOutputStream(), 512); in reopenTls()
267 && out != null in isOpen()
281 out.close(); in close()
291 out = null; in close()
304 return out; in getOutputStream()
315 OutputStream out = getOutputStream(); in writeLine() local
316 out.write(s.getBytes()); in writeLine()
317 out.write('\r'); in writeLine()
[all …]
/packages/modules/DnsResolver/
DResolverStats.h50 void encode(std::vector<int32_t>* out) const;
58 static void encodeAll(const std::vector<ResolverStats>& stats, std::vector<int32_t>* out);
64 inline void ResolverStats::encode(std::vector<int32_t>* out) const { in encode() argument
65 size_t ofs = out->size(); in encode()
66 out->resize(ofs + STATS_COUNT); in encode()
67 int32_t* cur = &(*out)[ofs]; in encode()
94 std::vector<int32_t>* out) { in encodeAll() argument
96 s.encode(out); in encodeAll()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickResult.java196 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument
197 out.writeInt(mActionCount); in writeToParcel()
198 out.writeLong(mDuration); in writeToParcel()
199 out.writeInt(mFileCount); in writeToParcel()
200 out.writeInt(mIsSearching ? 1 : 0); in writeToParcel()
201 out.writeInt(mRoot); in writeToParcel()
202 out.writeInt(mMimeType); in writeToParcel()
203 out.writeInt(mRepeatedPickTimes); in writeToParcel()
/packages/apps/TV/src/com/android/tv/dvr/data/
DSeriesRecording.java648 public void writeToParcel(Parcel out, int paramInt) { in writeToParcel() argument
649 out.writeLong(mId); in writeToParcel()
650 out.writeLong(mPriority); in writeToParcel()
651 out.writeString(mTitle); in writeToParcel()
652 out.writeString(mDescription); in writeToParcel()
653 out.writeString(mLongDescription); in writeToParcel()
654 out.writeString(mInputId); in writeToParcel()
655 out.writeLong(mChannelId); in writeToParcel()
656 out.writeString(mSeriesId); in writeToParcel()
657 out.writeInt(mStartFromSeason); in writeToParcel()
[all …]

12345678910>>...14