/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);
|
/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 InputStream providing message content 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 610 body(BodyDescriptor bd, InputStream in) argument [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/OMA-DM/engine/dmlib/linux_java/samples/conui/hdr/ |
H A D | dmSocketConnector.h | 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 33 #include <netinet/in.h> // Needed for internet address structure.
|
/packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/tool/ |
H A D | DMTS.java | 151 throw new Exception("DMTS file in read only mode: " + outputDir + 172 throw new Exception("DMTS file in read only mode: " + dmtsPath); 223 FileInputStream in = new FileInputStream(f); 224 byte[] b = new byte[in.available()]; 225 in.read(b); 234 in.close();
|
/packages/apps/OMA-DM/engine/xpl/hdr/ |
H A D | dmSocketConnector.h | 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 25 #include <netinet/in.h> // Needed for internet address structure.
|
/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/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 63 * necessarily be cloned for use in these two cases. 65 * Conventions used in naming columns: 122 * in the ContentResolver in case it is not properly disposed of using {@link #close(Context)} 160 * String for both the EmailProvider call, and the key for the value in the response. 449 // Replied-to or forwarded body (in html form) 452 // Replied-to or forwarded body (in text form) 455 // A reference to a message's unique id used in repl 1617 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])); 348 Intent in = new Intent(mContext, BluetoothOppBtErrorActivity.class); 349 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 350 in.putExtra("title", mContext.getString(R.string.enabling_progress_title)); 351 in.putExtra("content", mContext.getString(R.string.ErrorTooManyRequests)); 352 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/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapbMessageMms.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 90 /* TODO: If errata 4176 is adopted in the current form (it is not in either 1.1 or 1.2), 143 // Include "=_" as these cannot occur in quoted printable text 325 if(lineLength + partLength >= 998) // max line length in RFC2822 340 * characters be present in headers. Non-7-bit characters in an address 342 * characters in the local part of an address, the message MUST be 343 * rejected. Non-7-bit characters elsewhere in [all...] |
/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/OMA-DM/engine/dmlib/dmt-tools/ |
H A D | generateDMT | 14 # you may not use this file except in compliance with the License. 19 # Unless required by applicable law or agreed to in writing, software 53 echo " looking in the current ('.') directory" 149 case "$1" in 179 case "$1" in 205 printOut "Debug info can be found in the $DEBUG_INFO_DIR"
|
/packages/apps/OMA-DM/engine/dmlib/tool-src/db_wizard_tool/com/mot/dm/dbtool/ |
H A D | Util.java | 203 " in the text file " + f.getAbsolutePath() + 210 " in the csv file " + f.getAbsolutePath() + 269 FileInputStream in = new FileInputStream(inputFileName); 270 int wbxmlLen = in.available(); 272 in.read(wbxml_content); 273 in.close(); 292 //System.out.println("in: " + wbxmlLen + " out: " + wbxml_zip.length);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | BitmapWorkerTask.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 199 private Bitmap decodeBitmap(InputStream in, BitmapWorkerOptions options) argument 204 bufferedStream = new CachedInputStream(in); 272 InputStream in = new BufferedInputStream(connection.getInputStream()); 273 return decodeBitmap(in, options); 295 * caching Bitmap in Resources. So that caller can maintain a different caching 309 Log.e(TAG, "Couldn't get resource " + r.resourceName + " in resources of "
|
H A D | DrawableLoader.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 184 private Drawable decodeBitmap(InputStream in, BitmapWorkerOptions options) argument 189 bufferedStream = new CachedInputStream(in); 283 InputStream in = connection.getInputStream(); 284 return decodeBitmap(in, options); 319 * caching Bitmap in Resources. So that caller can maintain a different caching 333 Log.e(TAG, "Couldn't get resource " + r.resourceName + " in resources of "
|
/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));
|