Searched refs:out (Results 176 - 200 of 279) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A Dgrad.rs116 uchar4 out = rsPackColorTo8888(clamp(pixel, 0.f, 1.0f));
117 return out;
H A DImageFilterRS.java70 public void apply(Allocation in, Allocation out) { argument
91 run(in, out);
108 protected void run(Allocation in, Allocation out) {} argument
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetDatabaseHelper.java199 ByteArrayOutputStream out = new ByteArrayOutputStream(size);
200 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
201 out.close();
207 values.put(FIELD_PHOTO_BLOB, out.toByteArray());
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DSimpleNode.java73 out its children. */
76 System.out.println(toString(prefix));
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
H A DEntity.java166 * @param out the outputstream to write to
169 public abstract void writeTo(OutputStream out) throws IOException; argument
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapMessageListingElement.java238 char out[] = new char[text.length()];
243 out[o++] = c;
250 return new String(out,0,o);
H A DBluetoothMapbMessageMms.java50 // Figure out if we support the charset, else fall back to UTF-8, as this is what
68 /* This cannot happen unless Charset.isSupported() is out of sync with String */
389 sb.append("\r\n"); // If no headers exists, we still need two CRLF, hence keep it out of the if above.
477 /* We need to figure out if any headers are present, in cases where devices do not follow the e-mail RFCs.
712 int in, out, stopCnt = input.length-2; // Leave room for peaking the next two bytes
717 for(in=0, out=0; in < stopCnt; in++){
738 output[out++] = (byte)(b1<<4 | b2); // valid hex char, append
739 if(V)Log.v(TAG, "Resulting value: " + String.format("0x%2x", output[out-1]));
745 output[out++] = b0;
749 output[out
[all...]
/packages/apps/Email/tests/src/com/android/email/activity/
H A DContactStatusLoaderTest.java172 ByteArrayOutputStream out = new ByteArrayOutputStream();
173 bitmap.compress(Bitmap.CompressFormat.JPEG, 50, out);
174 return out.toByteArray();
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DFileSystemUtils.java401 OutputStream out = null;
407 out = proc.getOutputStream();
438 IOUtils.closeQuietly(out);
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
H A DCharEscapers.java48 public Appendable escape(final Appendable out) {
49 checkNotNull(out);
51 // we can't simply return out because the CharEscaper contract says that
57 out.append(csq);
64 out.append(csq, start, end);
69 out.append(c);
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DCharEscapers.java48 public Appendable escape(final Appendable out) {
49 checkNotNull(out);
51 // we can't simply return out because the CharEscaper contract says that
57 out.append(csq);
64 out.append(csq, start, end);
69 out.append(c);
/packages/experimental/PrintService/src/foo/bar/printservice/
H A DMyPrintService.java234 OutputStream out = null;
236 out = new BufferedOutputStream(new FileOutputStream(file));
246 out.write(buffer, 0, readByteCount);
258 if (out != null) {
260 out.close();
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadThread.java439 OutputStream out = null;
454 out = new DrmOutputStream(drmClient, outPfd, mInfoDelta.mMimeType);
456 out = new ParcelFileDescriptor.AutoCloseOutputStream(outPfd);
490 transferData(in, out, outFd);
493 if (out instanceof DrmOutputStream) {
494 ((DrmOutputStream) out).finish();
508 if (out != null) out.flush();
512 IoUtils.closeQuietly(out);
521 private void transferData(InputStream in, OutputStream out, FileDescripto argument
[all...]
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifOutputStream.java42 * // Write the original jpeg out, the header will be add into the file.
114 * Writes the image out. The input data should be a valid JPEG format. After
129 out.write(buffer, offset, byteToProcess);
149 out.write(mBuffer.array(), 0, 2);
164 out.write(mBuffer.array(), 0, 2);
177 out.write(mBuffer.array(), 0, 4);
180 out.write(mBuffer.array(), 0, 4);
187 out.write(buffer, offset, length);
192 * Writes the one bytes out. The input data should be a valid JPEG format.
222 OrderedDataOutputStream dataOutputStream = new OrderedDataOutputStream(out);
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifOutputStream.java42 * // Write the original jpeg out, the header will be add into the file.
114 * Writes the image out. The input data should be a valid JPEG format. After
129 out.write(buffer, offset, byteToProcess);
149 out.write(mBuffer.array(), 0, 2);
164 out.write(mBuffer.array(), 0, 2);
177 out.write(mBuffer.array(), 0, 4);
180 out.write(mBuffer.array(), 0, 4);
187 out.write(buffer, offset, length);
192 * Writes the one bytes out. The input data should be a valid JPEG format.
222 OrderedDataOutputStream dataOutputStream = new OrderedDataOutputStream(out);
[all...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
H A DExifOutputStream.java42 * // Write the original jpeg out, the header will be add into the file.
114 * Writes the image out. The input data should be a valid JPEG format. After
129 out.write(buffer, offset, byteToProcess);
149 out.write(mBuffer.array(), 0, 2);
164 out.write(mBuffer.array(), 0, 2);
177 out.write(mBuffer.array(), 0, 4);
180 out.write(mBuffer.array(), 0, 4);
187 out.write(buffer, offset, length);
192 * Writes the one bytes out. The input data should be a valid JPEG format.
222 OrderedDataOutputStream dataOutputStream = new OrderedDataOutputStream(out);
[all...]
/packages/apps/Mms/src/com/android/mms/exif/
H A DExifOutputStream.java44 * // Write the original jpeg out, the header will be add into the file.
116 * Writes the image out. The input data should be a valid JPEG format. After
131 out.write(buffer, offset, byteToProcess);
151 out.write(mBuffer.array(), 0, 2);
166 out.write(mBuffer.array(), 0, 2);
179 out.write(mBuffer.array(), 0, 4);
182 out.write(mBuffer.array(), 0, 4);
189 out.write(buffer, offset, length);
194 * Writes the one bytes out. The input data should be a valid JPEG format.
224 OrderedDataOutputStream dataOutputStream = new OrderedDataOutputStream(out);
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DGeometryMathUtils.java259 public static void unpackGeometry(GeometryHolder out, argument
261 out.wipe();
268 out.rotation = ((FilterRotateRepresentation) r).getRotation();
271 out.straighten = ((FilterStraightenRepresentation) r).getStraighten();
273 ((FilterCropRepresentation) r).getCrop(out.crop);
275 out.mirror = ((FilterMirrorRepresentation) r).getMirror();
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DImagePreset.java534 public void applyBorder(Allocation in, Allocation out, argument
544 bitmapIn.copyFrom(out);
546 environment.applyRepresentation(border, bitmapIn, out);
550 public void applyFilters(int from, int to, Allocation in, Allocation out, argument
566 in.copyFrom(out);
568 environment.applyRepresentation(representation, in, out);
/packages/apps/Email/src/com/android/email/provider/
H A DAttachmentProvider.java203 FileOutputStream out = new FileOutputStream(file);
204 thumbnail.compress(Bitmap.CompressFormat.PNG, 100, out);
205 out.close();
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DParser.java226 final FileOutputStream out = context.openFileOutput(file,
228 out.write(captureArray.toString().getBytes());
229 out.close();
347 // Otherwise, we've prematurely hit end of document, so exception out
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
H A DExportDialog.java176 ByteArrayOutputStream out = new ByteArrayOutputStream();
177 bitmap.compress(Bitmap.CompressFormat.JPEG, mQuality, out);
178 mCompressedSize = out.size();
/packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/tool/
H A DDMTS.java41 System.out.println("Done");
264 System.out.println("Wrong arguments");
278 System.out.println("Wrong arguments");
/packages/apps/Camera2/src/com/android/camera/
H A DStorage.java290 FileOutputStream out = null;
292 out = new FileOutputStream(path);
293 out.write(data);
299 out.close();
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DTextFieldsEditorView.java374 public void writeToParcel(Parcel out, int flags) { argument
375 super.writeToParcel(out, flags);
376 out.writeInt(mVisibilities.length);
377 out.writeIntArray(mVisibilities);

Completed in 867 milliseconds

1234567891011>>