/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
H A D | MimeMessage.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 49 * An implementation of Message that stores all of its metadata in RFC 822 and 60 // the values found in the headers. Use caution to prevent any out-of-phase errors. In 61 // particular, any adds/changes/deletes here must be echoed by changes in the parse() function. 77 // "Jan", not the other localized format like "Ene" (meaning January in locale es). 116 * @param in 120 public MimeMessage(InputStream in) throws IOException, MessagingException { argument 121 parse(in); 142 protected void parse(InputStream in) throw argument 148 parse(InputStream in, EOLConvertingInputStream.Callback callback) argument 615 body(BodyDescriptor bd, InputStream in) argument [all...] |
/packages/apps/Exchange/src/com/android/exchange/service/ |
H A D | EasAttachmentLoader.java | 55 LogUtils.e(TAG, "RemoteException in loadAttachment: %s", e.getMessage()); 82 * @param attachmentId The local id of the attachment (i.e. its id in the database). 129 // These four characters are commonly received in EAS 2.5 attachment names and are 154 // The method of attachment loading is different in EAS 14.0 than in earlier versions 167 // For Exchange 2003 (EAS 2.5), we have to look for illegal chars in the file name 204 final InputStream in; 206 in = new FileInputStream(file); 212 AttachmentUtilities.saveAttachment(mContext, in, attachment); 213 close(in); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ImageFilter.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 36 // feedback. Remove this when filters actually work in low memory 71 public void apply(Allocation in, Allocation out) { argument 104 // should implement in subclass which like to transport
|
H A D | grad.rs | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 99 uchar4 __attribute__((kernel)) selectiveAdjust(const uchar4 in, uint32_t x, 101 float4 pixel = rsUnpackColor8888(in);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
H A D | AccountWithDataSet.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 62 public AccountWithDataSet(Parcel in) { argument 63 super(in); 64 this.dataSet = in.readString(); 90 * Return {@code true} if this account has any contacts in the database. 91 * Touches DB. Don't use in the UI thread.
|
/packages/apps/Music/tests/src/com/android/music/functional/ |
H A D | TestSongs.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 87 InputStream in = new FileInputStream(src); 90 // Transfer bytes from in to out 93 while ((len = in.read(buf)) > 0) { 96 in.close(); 116 * Verification: The new playlist title should be sorted in alphabetical order 156 //This only check if there only 1 ringtone set in music player
|
/packages/experimental/PrintService2/src/foo/bar/printservice2/ |
H A D | MyPrintService.java | 75 InputStream in = new BufferedInputStream( 82 final int readByteCount = in.read(buffer); 92 in.close();
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
H A D | EmailContent.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 53 * necessarily be cloned for use in these two cases. 55 * Conventions used in naming columns: 134 * String for both the EmailProvider call, and the key for the value in the response. 304 // Replied-to or forwarded body (in html form) 307 // Replied-to or forwarded body (in text form) 310 // A reference to a message's unique id used in reply/forward. 311 // Protocol code can be expected to use this column in determining whether a message can be 538 // Basic columns used in messag 1520 Attachment(Parcel in) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppManager.java | 6 * Redistribution and use in source and binary forms, with or without 12 * - Redistributions in binary form must reproduce the above copyright notice, 13 * this list of conditions and the following disclaimer in the documentation 210 if (V) Log.v(TAG, "Uri in batch: " + Uri.parse(splitUri[i])); 343 Intent in = new Intent(mContext, BluetoothOppBtErrorActivity.class); 344 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 345 in.putExtra("title", mContext.getString(R.string.enabling_progress_title)); 346 in.putExtra("content", mContext.getString(R.string.ErrorTooManyRequests)); 347 mContext.startActivity(in);
|
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | FireflyRenderer.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 254 InputStream in = null; 257 in = mContext.getAssets().open("star.png"); 259 Bitmap bitmap = BitmapFactory.decodeStream(in); 272 if (in != null) { 274 in.close();
|
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/ |
H A D | ProgressBar.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 59 * Visual indicator of progress in some operation. Displays a bar to the user 94 * // Start lengthy operation in a background thread 333 StateListDrawable in = (StateListDrawable) drawable; 335 int numStates = in.getStateCount(); 337 out.addState(in.getStateSet(i), tileify(in.getStateDrawable(i), clip)); 367 * Each frame of the animation is wrapped in a ClipDrawable and 415 * <p>Indicate whether this progress bar is in indeterminat 1045 SavedState(Parcel in) argument [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | FolderSyncParser.java | 6 * you may not use this file except in compliance with the License. 11 * Unless required by applicable law or agreed to in writing, software 58 * Handles the addition, deletion, and changes to folders in the user's Exchange account. 69 * If an EAS type is not in the map, or is inserted with a value of {@link Mailbox#TYPE_NONE}, 142 /** Mailbox.NO_MAILBOX, as a string (convenience since this is used in several places). */ 177 final InputStream in, final Account account, final boolean statusOnly) 179 super(context, resolver, in, null, account); 185 public FolderSyncParser(InputStream in, AbstractSyncAdapter adapter) throws IOException { argument 186 this(in, adapter, false); 189 public FolderSyncParser(InputStream in, AbstractSyncAdapte argument 176 FolderSyncParser(final Context context, final ContentResolver resolver, final InputStream in, final Account account, final boolean statusOnly) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
H A D | ImagePreset.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 132 // TODO: add concept of position in the filters (to allow multiple instances) 515 // for now, let's skip the border as it will be applied in 534 public void applyBorder(Allocation in, Allocation out, argument 540 Allocation bitmapIn = in; 543 CachingPipeline.getRenderScriptContext(), in.getType()); 550 public void applyFilters(int from, int to, Allocation in, Allocation out, argument 566 in.copyFrom(out); 568 environment.applyRepresentation(representation, in, ou [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
H A D | AttachmentProvider.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 196 InputStream in = 198 Bitmap thumbnail = createThumbnail(type, in); 206 in.close(); 240 * Returns a cursor based on the data in the attachments table, or null if the attachment 241 * is not recorded in the table. 332 * Need this to suppress warning in unit tests.
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
H A D | IOUtils.java | 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
53 * Two methods are provided in each case, one that uses the platform default
59 * All the methods in this class that read a stream are buffered internally.
62 * to be efficient in tests.
64 * Wherever possible, the methods in this class do <em>not</em> flush or close
124 * Instances should NOT be constructed in standard programming.
135 * This is typically used in finally blocks.
153 * This is typically used in finally blocks.
171 * This is typically used in finall [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
H A D | AddressList.java | 7 * "License"); you may not use this file except in compliance *
12 * Unless required by applicable law or agreed to in writing, *
49 * The number of elements in this list.
66 * in this address list. Use this if you don't care
70 // in the common case, all addresses are mailboxes
120 java.io.BufferedReader reader = new java.io.BufferedReader(new java.io.InputStreamReader(System.in));
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
H A D | MyPrintService.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 232 InputStream in = new BufferedInputStream(new FileInputStream( 242 final int readByteCount = in.read(buffer); 251 if (in != null) { 253 in.close();
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupEditorFragment.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 245 // Account specified in Intent - no data set can be specified in this manner. 439 return; // just in case 733 // In either case, update the UI so the contact is no longer in the list of 911 private Member(Parcel in) { argument 912 mRawContactId = in.readLong(); 913 mContactId = in.readLong(); 914 mLookupUri = in [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
H A D | MailTransport.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 74 * and {@link #setHost(String)} were invoked), but not opened or connected in any way. 176 * service but is not in the public API. 203 // we should be reporting the bad name in the certificate. Unfortunately this is buried 204 // in the verifier code and is not available in the verifier API, and extracting the 279 * delimiter char(s) are not included in the result. 283 InputStream in = getInputStream(); 285 while ((d = in [all...] |
/packages/apps/Gallery2/jni_jpegstream/src/ |
H A D | jpeg_reader.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 41 int32_t JpegReader::setup(JNIEnv *env, jobject in, int32_t* width, int32_t* height, argument 61 int32_t flags = MakeSrc(&mInfo, env, in); 84 // Always use cmyk for output in a 4 channel jpeg. 159 // Do in-place pixel formatting 178 // Does in-place pixel formatting
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | ListDialogPreference.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 241 // Didn't save state for us in onSaveInstanceState 308 public SavedState createFromParcel(Parcel in) { 309 return new SavedState(in);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | EntitySet.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 91 // For each entity in the remote set, try matching over existing 139 // If we are going to split all contacts, there is no point in first combining them 327 public EntitySet createFromParcel(Parcel in) { 329 state.readFromParcel(in);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | UpdateHandler.java | 5 * use this file except in compliance with the License. You may obtain a copy of 10 * Unless required by applicable law or agreed to in writing, software 64 * This class is in charge of coordinating the update process for the various dictionaries 65 * stored in the dictionary pack. 76 // in SQLite, so it should never return anything < 0. 221 // Adding a disambiguator to circumvent a bug in older versions of DownloadManager. 264 // If there is already a download in progress, it's been there for a while and 316 * Registers a download request and flags it as downloading in the metadata table. 410 * Take appropriate action after a download finished, in success or in erro 683 copyFile(final InputStream in, final OutputStream out) argument 709 copyFileFallback(final InputStream in, final OutputStream out) argument [all...] |
/packages/providers/ContactsProvider/ |
H A D | Android.mk | 6 # Only compile source java files in this apk.
|
/packages/apps/Camera/jni/ |
H A D | feature_mos_jni.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 70 /* return current time in milliseconds*/ 347 void ConvertYVUAiToPlanarYVU(unsigned char *planar, unsigned char *in, int width, argument 357 *Yptr++ = *in++; 358 *Vptr++ = *in++; 359 *Uptr++ = *in++; 360 in++; // Alpha 605 LOGE("Error in creating the image."); 628 // Convert YVU to NV21 format in [all...] |