/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | AttachmentUtilities.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 77 * the chooser is only opened with the first item in the list. 107 * Entries in this list are compared to the end of the lower-cased filename, so they must 121 * Entries in this list are compared to the end of the lower-cased filename, so they must 130 * so we should probably factor that in. A 5MB attachment will generally be around 137 * so we should probably factor that in. A 5MB attachment will generally be around 197 * NOTE: Since mime types on Android are case-*sensitive*, return values are always in 373 private static long copyFile(InputStream in, OutputStream out) throws IOException { argument 374 long size = IOUtils.copy(in, ou 384 saveAttachment(Context context, InputStream in, Attachment attachment) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | saturation.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 148 uchar4 __attribute__((kernel)) selectiveAdjust(const uchar4 in, uint32_t x, 150 float4 pixel = rsUnpackColor8888(in); 153 int hue = rgb2hue(in);
|
H A D | vignette.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 67 uchar4 __attribute__((kernel)) vignette(const uchar4 in, uint32_t x, uint32_t y) { 68 float4 pixel = rsUnpackColor8888(in);
|
H A D | convolve3x3.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 28 void root(const uchar4 *in, uchar4 *out, const void *usrData, uint32_t x, uint32_t y) {
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
H A D | ImapTestUtils.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 103 ByteArrayInputStream in = new ByteArrayInputStream(Utility.toAscii(content + "#trailing")); 104 return new FixedLengthInputStream(in, content.length());
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | GalParser.java | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 32 public GalParser(InputStream in, EasSyncService service) throws IOException { argument 33 super(in);
|
H A D | PingParser.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 63 public PingParser(final InputStream in) throws IOException { argument 64 super(in); 77 * @return The list of folders to sync, or null if sync was not indicated in the response. 90 * indicated in the response. 143 LogUtils.i(TAG, "Changes found in: %s", serverId); 222 throw new IOException("No status set in ping response"); 225 throw new IOException("No changes found in ping response");
|
H A D | AttachmentLoader.java | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 86 // These four characters are commonly received in EAS 2.5 attachment names and are 108 InputStream in = null; 110 in = new FileInputStream(file); 111 AttachmentUtilities.saveAttachment(mContext, in, mAttachment); 117 close(in); 122 * Loads an attachment, based on the PartRequest passed in the constructor 134 // The method of attachment loading is different in EAS 14.0 than in earlie [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | Attachment.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 79 * Attachment size in bytes. See {@link AttachmentColumns#SIZE}. 126 * handles file:// uris not content:// uris. We do the same workaround in 175 public Attachment(Parcel in) { argument 176 name = in.readString(); 177 size = in.readInt(); 178 uri = in.readParcelable(null); 179 contentType = in.readString(); 180 state = in [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | UserLogRingCharBuffer.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 57 private static int normalize(final int in) { argument 58 int ret = in % BUFSIZE;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppTransferHistory.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 290 Intent in = new Intent(this, BluetoothOppTransferActivity.class); 291 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 292 in.setDataAndNormalize(contentUri); 293 this.startActivity(in); 299 * ContentObserver in OppService, so need update manually.
|
/packages/apps/Email/emailcommon/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software
|
/packages/apps/Gallery2/ |
H A D | Android.mk | 37 # the libraries in the APK, otherwise just put them in /system/lib and
|
/packages/apps/UnifiedEmail/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
H A D | FileSystemUtils.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
103 * Instances should NOT be constructed in standard programming.
115 * As this is not very useful, this method is deprecated in favour
116 * of {@link #freeSpaceKb(String)} which returns a result in kilobytes.
130 * @throws IllegalStateException if an error occurred in initialisation
132 * @since Commons IO 1.1, enhanced OS support in 1.2 and 1.3
134 * Deprecated from 1.3, may be removed in 2.0
142 * Returns the free space on a drive or volume in kilobytes by invoking
159 * @return the amount of free drive space on the drive or volume in kilobyte [all...] |
/packages/inputmethods/LatinIME/java/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
H A D | BinaryDictOffdeviceUtils.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 74 final BufferedInputStream in = new BufferedInputStream(input); 76 for (int readBytes = in.read(buffer); readBytes >= 0; readBytes = in.read(buffer)) 78 in.close(); 98 // over and over, ending in a stack overflow. Hence we limit the depth at which we try
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
H A D | DictionaryBackupAgent.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 258 * Write an int in BigEndian into the byte array. 260 * @param pos current pos in array 272 private int readInt(byte[] in, int pos) { argument 274 ((in[pos ] & 0xFF) << 24) | 275 ((in[pos + 1] & 0xFF) << 16) | 276 ((in[pos + 2] & 0xFF) << 8) | 277 ((in[pos + 3] & 0xFF) << 0);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherBackupHelper.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 159 * <P>Keys may come back in any order, so each key/value is one complete row of the database. 171 Journal in = readJournal(oldState); 174 long lastBackupTime = in.t; 183 backupFavorites(in, data, out, keys); 184 backupScreens(in, data, out, keys); 185 backupIcons(in, data, out, keys); 186 backupWidgets(in, data, out, keys); 193 Log.v(TAG, "onBackup: wrote " + out.bytes + "b in " 279 backupFavorites(Journal in, BackupDataOutput data, Journal out, ArrayList<Key> keys) argument 347 backupScreens(Journal in, BackupDataOutput data, Journal out, ArrayList<Key> keys) argument 414 backupIcons(Journal in, BackupDataOutput data, Journal out, ArrayList<Key> keys) argument 531 backupWidgets(Journal in, BackupDataOutput data, Journal out, ArrayList<Key> keys) argument 930 getSavedIdsByType(int type, Journal in) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | NotificationActionUtils.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 67 * If a {@link Conversation} exists in this set, then the undo notification for this 68 * {@link Conversation} was tapped by the user in the notification drawer. 490 public NotificationAction createFromParcel(final Parcel in) { 491 return new NotificationAction(in, null); 501 final Parcel in, final ClassLoader loader) { 502 return new NotificationAction(in, loader); 506 private NotificationAction(final Parcel in, final ClassLoader loader) { argument 507 mNotificationActionType = NotificationActionType.values()[in [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | TextFieldsEditorView.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 221 // Show the "next" button in IME to navigate between text fields 358 private SavedState(Parcel in) { argument 359 super(in); 360 mVisibilities = new int[in.readInt()]; 361 in.readIntArray(mVisibilities); 375 public SavedState createFromParcel(Parcel in) { 376 return new SavedState(in);
|
/packages/inputmethods/LatinIME/native/jni/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 131 # All code in LOCAL_WHOLE_STATIC_LIBRARIES will be built into this shared library.
|
/packages/apps/Email/src/com/android/email/mail/store/ |
H A D | Pop3Store.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 54 // when code is checked in or released. 375 * has been queried so that uids are available in the local cache. 536 * Fetch the items contained in the FetchProfile into the given set of 537 * Messages in as efficient a manner as possible. 605 InputStream in = mTransport.getInputStream(); 607 in = new LoggingInputStream(in); 609 message.parse(new Pop3ResponseInputStream(in), callbac 780 parse(InputStream in) argument 811 Pop3ResponseInputStream(InputStream in) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
H A D | FilterEnvironment.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 111 Allocation in, Allocation out) { 116 filter.apply(in, out); 124 // we allow instances of FilterUserPresetRepresentation in a preset only to know if one 125 // has been applied (so we can show this in the UI). But as all the filters in them are 110 applyRepresentation(FilterRepresentation representation, Allocation in, Allocation out) argument
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | PointerSpeedPreference.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 138 // Didn't save state for us in onSaveInstanceState 174 public SavedState createFromParcel(Parcel in) { 175 return new SavedState(in);
|