/packages/apps/Email/src/com/android/email/mail/store/imap/ |
H A D | ImapElement.java | 47 * An element that is returned by {@link ImapList#getElementOrNone} to indicate an index 69 public boolean equalsForTest(ImapElement that) { 70 return super.equalsForTest(that); 102 * Return a string that represents this object; it's purely for the debug purpose. Don't 111 * The equals implementation that is intended to be used only for unit testing. 114 public boolean equalsForTest(ImapElement that) { argument 115 if (that == null) { 118 return this.getClass() == that.getClass(); // Has to be the same class.
|
H A D | ImapResponse.java | 133 public boolean equalsForTest(ImapElement that) { argument 134 if (!super.equalsForTest(that)) { 137 final ImapResponse thatResponse = (ImapResponse) that;
|
H A D | ImapString.java | 31 * Class represents an IMAP "element" that is not a list. 180 public final boolean equalsForTest(ImapElement that) { argument 181 if (!super.equalsForTest(that)) { 184 ImapString thatString = (ImapString) that;
|
H A D | ImapList.java | 220 public boolean equalsForTest(ImapElement that) { argument 221 if (!super.equalsForTest(that)) { 224 ImapList thatList = (ImapList) that;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
H A D | QuickResponse.java | 33 * A user-modifiable message that may be quickly inserted into the body while user is composing 171 QuickResponse that = (QuickResponse) objectThat; 173 mText.equals(that.mText) && 174 mId == that.mId && 175 mAccountKey == that.mAccountKey;
|
H A D | HostAuth.java | 113 * If a {@code clientAlias} is provided, this indicates that a secure connection must be used. 253 * that flags indicates use of a secure connection 276 // (e.g. for tests, provider templates and account restore) that may or may not 369 HostAuth that = (HostAuth)o; 370 return mPort == that.mPort 371 && mFlags == that.mFlags 372 && Utility.areStringsEqual(mProtocol, that.mProtocol) 373 && Utility.areStringsEqual(mAddress, that.mAddress) 374 && Utility.areStringsEqual(mLogin, that.mLogin) 375 && Utility.areStringsEqual(mPassword, that [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | LevenshteinDistance.java | 103 * token that was unchanged/replaced, or the position in the source after which a target 170 public boolean prefixOf(final Token that) { argument 172 if (len > that.length()) return false; 174 final int thatStart = that.mStart; 176 final char[] thatContainer = that.mContainer;
|
/packages/providers/ContactsProvider/ |
H A D | Android.mk | 17 # leaving out code which is tested by other means (e.g. static libraries) that 24 # leaving out code which is tested by other means (e.g. static libraries) that
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | DataAction.java | 142 // Note that this item will get a SIP-specific variant 328 DataAction that = (DataAction)t; 329 if (!ContactsUtils.shouldCollapse(mMimeType, mBody, that.mMimeType, that.mBody)) { 332 if (!TextUtils.equals(mMimeType, that.mMimeType) 333 || !ContactsUtils.areIntentActionEqual(mIntent, that.mIntent)) {
|
/packages/apps/BasicSmsReceiver/tests/ |
H A D | Android.mk | 26 # Notice that we don't have to include the src files of Email because, by
|
/packages/apps/Browser/tests/ |
H A D | Android.mk | 26 # Notice that we don't have to include the src files of Browser because, by
|
/packages/apps/Email/tests/ |
H A D | Android.mk | 26 # Notice that we don't have to include the src files of Email because, by
|
/packages/apps/Exchange/exchange2/tests/ |
H A D | Android.mk | 26 # Notice that we don't have to include the src files of Exchange because, by
|
/packages/apps/Exchange/tests/ |
H A D | Android.mk | 26 # Notice that we don't have to include the src files of Exchange because, by
|
/packages/apps/Mms/tests/ |
H A D | Android.mk | 26 # Notice that we don't have to include the src files of Email because, by
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | StorageMeasurement.java | 118 // Start the thread that will measure the disk usage. 127 * @param storageVolume The {@link StorageVolume} that will be measured 538 public int compareTo(FileInfo that) { argument 539 if (this == that || mSize == that.mSize) return 0; 540 else return (mSize < that.mSize) ? 1 : -1; // for descending sort
|
/packages/apps/CellBroadcastReceiver/tests/ |
H A D | Android.mk | 26 # Notice that we don't have to include the src files of Email because, by
|
/packages/apps/Email/ |
H A D | Android.mk | 44 # leaving out code which is tested by other means (e.g. static libraries) that
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactPhotoManager.java | 83 * Returns the resource id of the default avatar. Tries to find a resource that is bigger 109 * or height). If darkTheme is set, the avatar is one that looks better on dark background 181 * This is useful if the source image can be a lot bigger that the target, so that the decoding 202 * {@link #DEFAULT_AVATAR} and with the assumption, that the image is a thumbnail 235 * @param photoBytes The bytes that were parsed to create the bitmap. 240 * Initiates a background process that over time will fill up cache with 267 * Type of message sent by the UI thread to itself to indicate that some photos 273 * Type of message sent by the loader thread to indicate that some photos have 321 * Level 2 LRU cache for bitmaps. This is a smaller cache that hold [all...] |
/packages/inputmethods/LatinIME/native/jni/src/ |
H A D | correction.cpp | 64 // TODO: Make sure that editDistance[0 ~ MAX_WORD_LENGTH_INTERNAL] is not touched. 66 // Assuming that dp[0][0] ... dp[outputLength - 1][inputLength] are already calculated, 446 // but we already know that "excessive char correction" just happened 447 // so that we just need to check "mProximityCount == 0". 460 // we will try other correction-types. Please note that mCorrectionStates[mOutputIndex] 569 // If inputIndex is greater than mInputLength, that means there is no 874 to the output word, we'll promote that word a bit because 875 that word can be considered the combination of skipped and matched characters. 876 This means that the 'sm' pattern wins over the 'ma' pattern.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
H A D | AndroidSpellCheckerService.java | 259 // mBestSuggestion. This is so that we know whether the best suggestion makes 260 // the score cutoff, since we need to know that to return a meaningful 448 // without regard for their locale, so we need to fix that first. 534 * Returns whether the code point is a letter that makes sense for the specified 553 // Unicode range, but they are archaic characters that are not used in modern 565 * This will loosely match URLs, numbers, symbols. To avoid always underlining words that 566 * we know we will never recognize, this accepts a script identifier that should be one 581 // Filter out words that don't start with a letter or an apostrophe 592 // words or a URI - in either case we don't want to spell check that 700 // Note that a [all...] |