Searched refs:equals (Results 1 - 25 of 1189) sorted by relevance

1234567891011>>

/packages/apps/Exchange/src/com/android/exchange/utility/
H A DSimpleIcsWriter.java70 // (These property names should be all interned, so using equals() should be faster than
74 if ("CALSCALE".equals(name)
75 || "METHOD".equals(name)
76 || "PRODID".equals(name)
77 || "VERSION".equals(name)
78 || "CATEGORIES".equals(name)
79 || "CLASS".equals(name)
80 || "COMMENT".equals(name)
81 || "DESCRIPTION".equals(name)
82 || "LOCATION".equals(nam
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DBrowserYesNoPreference.java39 if (PreferenceKeys.PREF_PRIVACY_CLEAR_CACHE.equals(getKey())) {
42 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_COOKIES.equals(getKey())) {
44 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_HISTORY.equals(getKey())) {
46 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_FORM_DATA.equals(getKey())) {
48 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_PASSWORDS.equals(getKey())) {
50 } else if (PreferenceKeys.PREF_RESET_DEFAULT_PREFERENCES.equals(
54 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_GEOLOCATION_ACCESS.equals(
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DVoiceDialerReceiver.java39 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) {
44 else if (Intent.ACTION_PACKAGE_ADDED.equals(action) ||
45 Intent.ACTION_PACKAGE_CHANGED.equals(action) ||
46 Intent.ACTION_PACKAGE_REMOVED.equals(action) ||
47 Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action) ||
48 Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
53 else if (TelephonyIntents.SECRET_CODE_ACTION.equals(action) && "8351".equals(host)) {
59 else if (TelephonyIntents.SECRET_CODE_ACTION.equals(action) && "8350".equals(hos
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
H A DPredicate.java50 * returns exactly the same value. Thus, {@code predicate1.equals(predicate2)}
56 * {@link Object#equals}.
58 boolean equals(Object obj); method in interface:Predicate
H A DFunction.java55 * exactly the same value. Thus, {@code function1.equals(function2)} implies
57 * both null, or {@code function1.apply(o).equals(function2.apply(o))}.
60 * {@link Object#equals}.
62 boolean equals(Object obj); method in interface:Function
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DPredicate.java50 * returns exactly the same value. Thus, {@code predicate1.equals(predicate2)}
56 * {@link Object#equals}.
58 boolean equals(Object obj); method in interface:Predicate
H A DFunction.java56 * exactly the same value. Thus, {@code function1.equals(function2)} implies
58 * both null, or {@code function1.apply(o).equals(function2.apply(o))}.
61 * {@link Object#equals}.
63 boolean equals(Object obj); method in interface:Function
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsIntentResolver.java62 if (UI.LIST_DEFAULT.equals(action) ) {
64 } else if (UI.LIST_ALL_CONTACTS_ACTION.equals(action)) {
66 } else if (UI.LIST_CONTACTS_WITH_PHONES_ACTION.equals(action)) {
68 } else if (UI.LIST_STARRED_ACTION.equals(action)) {
70 } else if (UI.LIST_FREQUENT_ACTION.equals(action)) {
72 } else if (UI.LIST_STREQUENT_ACTION.equals(action)) {
74 } else if (UI.LIST_GROUP_ACTION.equals(action)) {
77 } else if (Intent.ACTION_PICK.equals(action)) {
79 if (Contacts.CONTENT_TYPE.equals(resolvedType)) {
81 } else if (People.CONTENT_TYPE.equals(resolvedTyp
[all...]
/packages/apps/Exchange/tests/src/com/android/exchange/
H A DRequestTests.java38 assertFalse(req1.equals(req2));
42 assertTrue(req1.equals(req3));
44 assertFalse(req1.equals(req4));
51 assertTrue(req1.equals(req2));
53 assertFalse(req3.equals(req2));
55 assertFalse(req4.equals(req1));
57 assertTrue(req5.equals(req4));
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCling.java124 if (mDrawIdentifier.equals(WORKSPACE_PORTRAIT)) {
126 } else if (mDrawIdentifier.equals(WORKSPACE_LANDSCAPE)) {
128 } else if (mDrawIdentifier.equals(WORKSPACE_LARGE)) {
133 } else if (mDrawIdentifier.equals(ALLAPPS_PORTRAIT) ||
134 mDrawIdentifier.equals(ALLAPPS_LANDSCAPE) ||
135 mDrawIdentifier.equals(ALLAPPS_LARGE)) {
153 return (mDrawIdentifier.equals(WORKSPACE_PORTRAIT)
154 || mDrawIdentifier.equals(WORKSPACE_LANDSCAPE)
155 || mDrawIdentifier.equals(WORKSPACE_LARGE)
156 || mDrawIdentifier.equals(ALLAPPS_PORTRAI
[all...]
/packages/apps/Email/emailsync/src/com/android/emailsync/
H A DRequest.java33 // we force them to implement the equals method
35 public abstract boolean equals(Object o); method in class:Request
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
H A DDataItem.java57 if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) {
59 } else if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) {
61 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) {
63 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) {
65 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) {
67 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType)) {
69 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) {
71 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimeType)) {
73 } else if (Note.CONTENT_ITEM_TYPE.equals(mimeType)) {
75 } else if (Website.CONTENT_ITEM_TYPE.equals(mimeTyp
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DRedEyeCandidate.java35 public boolean equals(RedEyeCandidate candidate) { method in class:RedEyeCandidate
36 if (candidate.mRect.equals(mRect)
37 && candidate.mBounds.equals(mBounds)) {
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DFolderUri.java65 public boolean equals(final Object o) { method in class:FolderUri
67 return getComparisonUri().equals(((FolderUri) o).getComparisonUri());
70 return getComparisonUri().equals(o);
/packages/experimental/LoaderApp/src/com/android/loaderapp/
H A DFrontDoor.java32 if ("com.android.loaderapp.FrontDoorNormal".equals(componentName)) {
35 } else if ("com.android.loaderapp.FrontDoorXLarge".equals(componentName)) {
38 } else if ("com.android.loaderapp.FrontDoorGroupsXLarge".equals(componentName)) {
/packages/apps/Contacts/src/com/android/contacts/
H A DTypePrecedence.java102 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) {
104 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) {
106 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) {
108 } else if (mimetype.equals(Im.CONTENT_ITEM_TYPE)) {
110 } else if (mimetype.equals(MIME_TYPE_VIDEO_CHAT)) {
112 } else if (mimetype.equals(Organization.CONTENT_ITEM_TYPE)) {
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DContactInfo.java60 public boolean equals(Object obj) { method in class:ContactInfo
66 if (!TextUtils.equals(name, other.name)) return false;
68 if (!TextUtils.equals(label, other.label)) return false;
69 if (!TextUtils.equals(number, other.number)) return false;
70 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) return false;
71 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) return false;
/packages/apps/MusicFX/src/com/android/musicfx/
H A DControlPanelReceiver.java64 if (action.equals(AudioEffect.ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION)) {
76 if (action.equals(AudioEffect.ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION)) {
82 if (action.equals("AudioEffect.ACTION_SET_PARAM")) {
85 if (param.equals("GLOBAL_ENABLED")) {
93 if (action.equals("AudioEffect.ACTION_GET_PARAM")) {
96 if (param.equals("GLOBAL_ENABLED")) {
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DTypePrecedence.java94 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) {
96 } else if (mimetype.equals(Constants.MIME_SMS_ADDRESS)) {
98 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) {
100 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) {
102 } else if (mimetype.equals(Im.CONTENT_ITEM_TYPE)) {
104 } else if (mimetype.equals(Organization.CONTENT_ITEM_TYPE)) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DUriUtils.java36 return uri1.equals(uri2);
53 return uri.getLastPathSegment().equals(Constants.LOOKUP_URI_ENCODED);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDiscoveryReceiver.java42 if (action.equals(BluetoothAdapter.ACTION_DISCOVERY_STARTED) ||
43 action.equals(BluetoothAdapter.ACTION_DISCOVERY_FINISHED)) {
/packages/experimental/TestBack/src/foo/bar/testback/
H A DFoo.java16 public boolean equals(Object obj) { method in class:Foo
27 } else if (!mValue.equals(other.mValue))
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
H A DMotionEventReader.java152 if (key.equals("_ty")) {
154 } else if (key.equals("_ut")) {
156 } else if (key.equals("x")) {
158 } else if (key.equals("y")) {
160 } else if (key.equals("action")) {
162 if (s.equals("UP")) {
164 } else if (s.equals("DOWN")) {
166 } else if (s.equals("MOVE")) {
169 } else if (key.equals("loggingRelated")) {
171 } else if (logStatementType != null && logStatementType.equals("MotionEven
[all...]
/packages/apps/Contacts/src/com/android/contacts/util/
H A DContactLoaderUtils.java49 if (ContactsContract.AUTHORITY.equals(authority)) {
52 if (ContactsContract.Contacts.CONTENT_ITEM_TYPE.equals(type)) {
57 if (RawContacts.CONTENT_ITEM_TYPE.equals(type)) {
69 if (OBSOLETE_AUTHORITY.equals(authority)) {
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DTestPhoneNumberUtilsWrapper.java34 return mVoicemailNumber.equals(number);

Completed in 1085 milliseconds

1234567891011>>