/packages/apps/Browser/src/com/android/browser/preferences/ |
H A D | WebsiteSettingsFragment.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 117 * position in the list of features for this site. This is used both 173 private Site(Parcel in) { argument 174 mOrigin = in.readString(); 175 mTitle = in.readString(); 176 mFeatures = in.readInt(); 177 mIcon = in.readParcelable(null); 182 public Site createFromParcel(Parcel in) { 183 return new Site(in); [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | History.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 History(int version, DataInput in) throws IOException { argument 39 int size = in.readInt(); 41 mEntries.add(new HistoryEntry(version, in)); 43 mPos = in.readInt();
|
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/Camera/jni/feature_mos/src/mosaic/ |
H A D | ImageUtils.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 28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) argument 34 ImageType image = in; 73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) argument 79 ImageType image = in; 116 ImageType ImageUtils::rgb2gray(ImageType in, int width, int height) argument 120 ImageType image = in; 146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) argument 150 ImageType image = in; 176 imageTypeToRowPointers(ImageType in, int width, int height) argument 190 yvu2rgb(ImageType out, ImageType in, int width, int height) argument 235 yvu2bgr(ImageType out, ImageType in, int width, int height) argument [all...] |
H A D | Interp.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 51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; local 54 tmpf[0] = in[0] * ciTable[off + 40]; 55 tmpf[0] += in[1] * ciTable[off]; 56 tmpf[0] += in[2] * ciTable[40 - off]; 57 tmpf[0] += in[3] * ciTable[80 - off]; 58 in += img->pitch; 59 tmpf[1] = in[0] * ciTable[off + 40]; 60 tmpf[1] += in[ [all...] |
H A D | MatrixUtils.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 63 static void convert9to33(double out[3][3], double in[9]) { argument 64 out[0][0] = in[0]; 65 out[0][1] = in[1]; 66 out[0][2] = in[2]; 68 out[1][0] = in[3]; 69 out[1][1] = in[4]; 70 out[1][2] = in[5]; 72 out[2][0] = in[ 121 convert33to9(double out[9], double in[3][3]) argument [all...] |
H A D | Pyramid.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 125 // spread in X 135 // spread in Y 148 void PyramidShort::BorderExpandOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr, argument 152 int off = in->border / 2; 155 for (j = -off; j < in->height + off; j++) { 159 int t1 = in->ptr[j][i]; 160 int t2 = in->ptr[j+1][i]; 162 ((6 * t1 + (in 213 BorderReduceOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr) argument [all...] |
/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...] |
/packages/apps/Camera/jni/feature_stab/src/dbreg/ |
H A D | vp_motionmodel.c | 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 60 Writing the formula out in closed form is unnecessarily complicated 90 int inv4Mat(const VP_MOTION* in, VP_MOTION* out) argument 102 if (((VP_MOTION *) NULL == in) || ((VP_MOTION *) NULL == out)) { 108 inmat[i][j]=(double)in->par[k]; 155 vp_invert_motion(const VP_MOTION* in,VP_MOTION* out) 157 This inverts the motion given in 'in'. 161 use the VP_KEEP_ macro's defined in vp_motionmode 179 vp_invert_motion(const VP_MOTION* in,VP_MOTION* out) argument 338 vp_zoom_motion2d(VP_MOTION* in, VP_MOTION* out, int n, int w, int h, double zoom) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
H A D | DatePicker.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 128 * If the user is in a locale where the month names are numeric, 222 * If the user is in a locale where the medium date format is 237 // Shouldn't happen, but just in case. 241 /* Remove the 3 pickers from their parent and then add them back in the 270 // Shouldn't happen, but just in case. 321 private SavedState(Parcel in) { argument 322 super(in); 323 mYear = in [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | StructuredNameEditorView.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 98 // synced (in order to provide aggregate suggestions). 229 private SavedState(Parcel in) { argument 231 mSuperState = in.readParcelable(loader); 233 mChanged = in.readInt() != 0; 234 mSnapshot = in.readParcelable(loader); 249 public SavedState createFromParcel(Parcel in) { 250 return new SavedState(in);
|
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 211 // Show the "next" button in IME to navigate between text fields 348 private SavedState(Parcel in) { argument 349 super(in); 350 mVisibilities = new int[in.readInt()]; 351 in.readIntArray(mVisibilities); 365 public SavedState createFromParcel(Parcel in) { 366 return new SavedState(in);
|
/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 729 // In either case, update the UI so the contact is no longer in the list of 907 private Member(Parcel in) { argument 908 mRawContactId = in.readLong(); 909 mContactId = in.readLong(); 910 mLookupUri = in [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | PhoneNumberInteraction.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 101 private PhoneItem(Parcel in) { argument 102 this.id = in.readLong(); 103 this.phoneNumber = in.readString(); 104 this.accountType = in.readString(); 105 this.dataSet = in.readString(); 106 this.type = in.readLong(); 107 this.label = in.readString(); 108 this.mimeType = in [all...] |
/packages/apps/Contacts/src/com/android/contacts/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/Contacts/tests/src/com/android/contacts/ |
H A D | CallDetailActivityTest.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 281 public void copyBetweenStreams(InputStream in, OutputStream out) throws IOException { argument 285 while ((bytesRead = in.read(buffer)) != -1) {
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | TimePicker.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 144 // Update the time displayed in the picker: 150 // Put "-" in digits that was not entered by passing -1 235 // Clicking on the bottom right button will add "00" to the time in AM/PM 266 // Enable/disable keys in the numeric key pad according to the data entered 391 // If 0 was entered as the first digit in AM/PM mode, do not allow a second 0 415 // Returns the time already entered in decimal representation. if time is H1 H2 : M1 M2 532 private SavedState(Parcel in) { argument 533 super(in); [all...] |
/packages/apps/Email/emailcommon/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 70 InputStream in = getInputStream(); 73 IOUtils.copy(in, base64Out); 79 public BinaryTempFileBodyInputStream(InputStream in) { argument 80 super(in);
|
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 48 * An implementation of Message that stores all of its metadata in RFC 822 and 59 // the values found in the headers. Use caution to prevent any out-of-phase errors. In 60 // particular, any adds/changes/deletes here must be echoed by changes in the parse() function. 75 // "Jan", not the other localized format like "Ene" (meaning January in locale es). 114 * @param in 118 public MimeMessage(InputStream in) throws IOException, MessagingException { argument 119 parse(in); 122 protected void parse(InputStream in) throw argument 567 body(BodyDescriptor bd, InputStream in) argument [all...] |
H A D | MimeUtility.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 118 * character following the sequence resulting in a line longer than 76 175 * parameter is returned, or if there are no additional parameters in the 177 * searched for in a case insensitive fashion and returned. If the parameter 184 * TODO: Need to decode %-escaped strings, as in: filename="ab%22d". 257 * @return a String containing the converted text in the body, or null if there was no text 263 InputStream in = part.getBody().getInputStream(); 271 IOUtils.copy(in, out); 272 in 357 getInputStreamForContentTransferEncoding(InputStream in, String contentTransferEncoding) argument 375 decodeBody(InputStream in, String contentTransferEncoding) argument [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
H A D | Account.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 70 // Whether or not the user has asked for notifications of new mail in this account 77 // Whether the account is in the process of being created; any account reconciliation code 78 // MUST ignore accounts with this bit set; in addition, ContentObservers for this data 81 // Security hold is used when the device is not in compliance with security policies 82 // required by the server; in this state, the user MUST be alerted to the need to update 90 // Whether the account should try to cache attachments in the background 95 // sync mailboxes in this account automatically. A manual sync request to sync a mailbox 460 * @return a string in th 929 Account(Parcel in) argument [all...] |
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 50 * necessarily be cloned for use in these two cases. 52 * Conventions used in naming columns: 262 // Replied-to or forwarded body (in html form) 264 // Replied-to or forwarded body (in text form) 266 // A reference to a message's unique id used in reply/forward. 267 // Protocol code can be expected to use this column in determining whether a message can be 481 // Basic columns used in message list presentation 482 // The name as shown to the user in 1349 Attachment(Parcel in) argument [all...] |
H A D | HostAuth.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 // TODO the three following constants duplicate constants in Store.java; remove those and 273 // SSL implies a different port - TLS runs in the "regular" port 274 // NOTE: Although the port should be setup in the various setup screens, this 321 public HostAuth createFromParcel(Parcel in) { 322 return new HostAuth(in); 351 public HostAuth(Parcel in) { argument 353 mId = in.readLong(); 354 mProtocol = in [all...] |
H A D | Mailbox.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 186 // Types after this are used for non-mail mailboxes (as in EAS) 206 /** Has children in the mailbox hierarchy */ 208 /** Children are visible in the UI */ 268 * paths for a particular account must be unique. Paths are stored in the column 269 * {@link MailboxColumns#SERVER_ID} for want of yet another column in the table. 299 * Returns a {@link Mailbox} for the given path. If the path is not in the database, a new 369 * EmailProvider; therefore, we warn if the mailbox is not found in the cache 535 * @return true if messages in 630 Mailbox(Parcel in) argument [all...] |
H A D | Policy.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 229 // that EAS can erroneously send non-zero values in this case 444 public Policy createFromParcel(Parcel in) { 445 return new Policy(in); 487 public Policy(Parcel in) { argument 489 mId = in.readLong(); 490 mPasswordMode = in.readInt(); 491 mPasswordMinLength = in.readInt(); 492 mPasswordMaxFails = in [all...] |