/packages/inputmethods/PinyinIME/lib/com/android/inputmethod/pinyin/ |
H A D | IPinyinDecoderService.aidl | 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 23 int imSearch(in byte[] pyBuf, int pyLen); 38 int imGetPredictsNum(in String fixedStr); 42 String syncUserDict(in String tomerge); 45 int syncPutLemmas(in String tomerge);
|
/packages/services/Telephony/common/src/com/android/services/telephony/common/ |
H A D | CallIdentification.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 109 private CallIdentification(Parcel in) { argument 110 mCallId = in.readInt(); 111 mNumber = in.readString(); 112 mNumberPresentation = in.readInt(); 113 mCnapNamePresentation = in.readInt(); 114 mCnapName = in.readString(); 128 public CallIdentification createFromParcel(Parcel in) { 129 return new CallIdentification(in); [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | ImageUtils.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 43 * Default number of channels in image. 58 * in: Input image 62 static void rgb2yvu(ImageType out, ImageType in, int width, int height); 64 static void rgba2yvu(ImageType out, ImageType in, int width, int height); 72 * in: Input image 76 static void yvu2rgb(ImageType out, ImageType in, int width, int height); 77 static void yvu2bgr(ImageType out, ImageType in, int width, int height); 83 * in [all...] |
/packages/apps/Camera2/jni/feature_mos/src/mosaic/ |
H A D | ImageUtils.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 43 * Default number of channels in image. 58 * in: Input image 62 static void rgb2yvu(ImageType out, ImageType in, int width, int height); 64 static void rgba2yvu(ImageType out, ImageType in, int width, int height); 72 * in: Input image 76 static void yvu2rgb(ImageType out, ImageType in, int width, int height); 77 static void yvu2bgr(ImageType out, ImageType in, int width, int height); 83 * in [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | ImageUtils.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 43 * Default number of channels in image. 58 * in: Input image 62 static void rgb2yvu(ImageType out, ImageType in, int width, int height); 64 static void rgba2yvu(ImageType out, ImageType in, int width, int height); 72 * in: Input image 76 static void yvu2rgb(ImageType out, ImageType in, int width, int height); 77 static void yvu2bgr(ImageType out, ImageType in, int width, int height); 83 * in [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
H A D | CopyUtils.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 * let you specify the buffer size because in modern VMs the impact on speed
58 * to the <code>copy</code> methods in <code>Buffered*</code> streams. For
61 * copy( new BufferedInputStream( in ), new BufferedOutputStream( out ) );
66 * would usually suggest wrapping in a BufferedInputStream. The
109 * @deprecated Use IOUtils. Will be removed in 2.0.
111 * Null handling behaviour changed in IOUtils (null data does not
122 * Instances should NOT be constructed in standard programming.
155 ByteArrayInputStream in [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | Persist.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 DataInputStream in = new DataInputStream(is); 54 int version = in.readInt(); 56 mDeleteMode = in.readInt(); 60 history = new History(version, in); 61 in.close();
|
H A D | HistoryEntry.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 33 HistoryEntry(int version, DataInput in) throws IOException { argument 35 mBase = in.readUTF(); 36 mEdited = in.readUTF();
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
H A D | EOLConvertingInputStream.java | 7 * "License"); you may not use this file except in compliance *
12 * Unless required by applicable law or agreed to in writing, *
42 private PushbackInputStream in = null;
field in class:EOLConvertingInputStream 57 * instance converting bytes in the given <code>InputStream</code>.
60 * @param in the <code>InputStream</code> to read from.
64 in = new PushbackInputStream(_in, 2);
69 * instance converting bytes in the given <code>InputStream</code>.
89 in.close();
93 int b = in.read();
106 in [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | MessageInfo.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 41 private MessageInfo(Parcel in) { argument 42 read = (in.readInt() != 0); 43 starred = (in.readInt() != 0); 44 sender = in.readString(); 45 priority = in.readInt(); 46 senderEmail = in.readString();
|
H A D | ListParams.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 52 public ListParams createFromParcel(Parcel in) { 53 return new ListParams(in); 82 public ListParams(Parcel in) { argument 83 mLimit = in.readInt(); 84 mUseNetwork = in.readInt() != 0; 111 // in cases something breaks.
|
H A D | Conversation.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 181 * @deprecated Keeping this in sync with the desired value is a not always done properly, is a 182 * source of bugs, and is a bad idea in general. Do not trust this value. Try to 189 // Conversation is no longer in the ConversationList for the current folder, 190 // that is it's now in some other folder(s) 199 // shown in the list Delete/Archive of a mostly-dead item will NOT propagate 245 private Conversation(Parcel in, ClassLoader loader) { argument 246 id = in.readLong(); 247 uri = in 634 listOf(Conversation in) argument 707 emptyIfNull(String in) argument [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
H A D | Crypt.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 32 public static InputStream getDecryptedStream(final InputStream in) { argument 34 return in;
|
/packages/apps/UnifiedEmail/src/com/android/bitmap/ |
H A D | DecodeTask.java | 19 * decode is complete, even if the task is cancelled, the result is placed in the given cache. 51 * When {@link DecodeTask} is used in conjunction with a {@link BitmapCache}, objects of this 98 InputStream in = null; 117 in = reset(in); 118 if (in == null) { 137 in = orientationFd.createInputStream(); 140 final int orientation = Exif.getOrientation(in, byteSize); 144 in.close(); 166 in 333 decodeCropped(final AssetFileDescriptor fd, final InputStream in, final int orientation, final Rect outSrcRect) argument 382 reset(InputStream in) argument 399 decode(AssetFileDescriptor fd, InputStream in) argument [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | SetupData.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 39 // either return to the caller (if we're in an account type flow) or go to the message list 175 public SetupData createFromParcel(Parcel in) { 176 return new SetupData(in); 197 public SetupData(Parcel in) { argument 199 mFlowMode = in.readInt(); 200 mAccount = in.readParcelable(loader); 201 mUsername = in.readString(); 202 mPassword = in [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | LoggingInputStream.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 28 * in addition to the tokenized version. 37 public LoggingInputStream(InputStream in) { argument 38 this(in, "RAW", false); 41 public LoggingInputStream(InputStream in, String tag, boolean dumpEmptyLines) { argument 42 super(in);
|
/packages/apps/Music/src/com/android/music/ |
H A D | IMediaPlaybackService.aidl | 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 25 void open(in long [] list, int position); 41 void enqueue(in long [] list, int action);
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
H A D | BinaryTempFileBody.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 72 InputStream in = getInputStream(); 75 IOUtils.copy(in, base64Out); 81 public BinaryTempFileBodyInputStream(InputStream in) { argument 82 super(in);
|
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | ImageCacheService.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 115 * @param in input string 118 public static final long crc64Long(String in) { argument 119 if (in == null || in.length() == 0) { 122 return crc64Long(getBytes(in)); 146 public static byte[] getBytes(String in) { argument 147 byte[] result = new byte[in.length() * 2]; 149 for (char ch : in [all...] |
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
H A D | BugReportPreviewActivity.java | 45 InputStream in = null; 47 // TODO: do this in a background thread, using handlers and all that nonsense. 48 in = getContentResolver().openInputStream(uri); 49 String text = BugReportParser.extractSystemLogs(in, section); 61 if (in != null) { 62 in.close();
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | BrowserBackupAgent.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 DataInputStream in = new DataInputStream( 70 savedFileSize = in.readLong(); 71 savedCrc = in.readLong(); 72 savedVersion = in.readInt(); 77 if (in != null) { 78 in.close(); 86 * Restore from backup -- reads in the flattened bookmark file as supplied from 87 * the backup service, parses that out, and rebuilds the bookmarks table in th [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/service/ |
H A D | SearchParams.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 37 // search terms in the query) 127 public SearchParams createFromParcel(Parcel in) { 128 return new SearchParams(in); 160 public SearchParams(Parcel in) { argument 161 mMailboxId = in.readLong(); 162 mIncludeChildren = in.readInt() == 1; 163 mFilter = in.readString(); 164 mLimit = in [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | CountedDataInputStream.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 35 protected CountedDataInputStream(InputStream in) { argument 36 super(in); 45 int r = in.read(b); 52 int r = in.read(b, off, len); 59 int r = in.read(); 66 long skip = in.skip(length);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | IEmailService.aidl | 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 27 Bundle validate(in HostAuth hostauth); 57 int searchMessages(long accountId, in SearchParams params, long destMailboxId); 62 int getCapabilities(in Account acct);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Fingerprint.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 35 * Name of the digest algorithm we use in {@link java.security.MessageDigest} 83 DigestInputStream in = null; 86 in = new DigestInputStream(stream, DIGESTER); 90 int n = in.read(bytes); 95 if (in != null) in.close(); 98 return new Fingerprint(in.getMessageDigest().digest()); 175 throw new IllegalArgumentException("illegal hex digit in " [all...] |