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

1234567891011>>

/packages/apps/Exchange/src/com/android/exchange/utility/
H A DSimpleIcsWriter.java71 // (These property names should be all interned, so using equals() should be faster than
75 if ("CALSCALE".equals(name)
76 || "METHOD".equals(name)
77 || "PRODID".equals(name)
78 || "VERSION".equals(name)
79 || "CATEGORIES".equals(name)
80 || "CLASS".equals(name)
81 || "COMMENT".equals(name)
82 || "DESCRIPTION".equals(name)
83 || "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(
H A DIntentHandler.java83 if (Intent.ACTION_MAIN.equals(action) ||
88 if (BrowserActivity.ACTION_SHOW_BOOKMARKS.equals(action)) {
97 .ACTION_VOICE_SEARCH_RESULTS.equals(action);
98 if (Intent.ACTION_VIEW.equals(action)
99 || NfcAdapter.ACTION_NDEF_DISCOVERED.equals(action)
100 || Intent.ACTION_SEARCH.equals(action)
101 || MediaStore.INTENT_ACTION_MEDIA_SEARCH.equals(action)
102 || Intent.ACTION_WEB_SEARCH.equals(action)
106 if (title != null && title.equals(intent.getStringExtra(
112 if (Intent.ACTION_SEARCH.equals(actio
[all...]
/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 (Intents.SECRET_CODE_ACTION.equals(action) && "8351".equals(host)) {
59 else if (Intents.SECRET_CODE_ACTION.equals(action) && "8350".equals(hos
[all...]
/packages/apps/Exchange/tests/src/com/android/exchange/
H A DRequestTests.java37 assertFalse(req1.equals(req2));
41 assertTrue(req1.equals(req3));
43 assertFalse(req1.equals(req4));
50 assertTrue(req1.equals(req2));
52 assertFalse(req3.equals(req2));
54 assertFalse(req4.equals(req1));
56 assertTrue(req5.equals(req4));
/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/Launcher2/src/com/android/launcher2/
H A DCling.java111 if (mDrawIdentifier.equals(WORKSPACE_PORTRAIT)) {
113 } else if (mDrawIdentifier.equals(WORKSPACE_LANDSCAPE)) {
115 } else if (mDrawIdentifier.equals(WORKSPACE_LARGE)) {
120 } else if (mDrawIdentifier.equals(ALLAPPS_PORTRAIT) ||
121 mDrawIdentifier.equals(ALLAPPS_LANDSCAPE) ||
122 mDrawIdentifier.equals(ALLAPPS_LARGE)) {
130 if (mDrawIdentifier.equals(WORKSPACE_PORTRAIT) ||
131 mDrawIdentifier.equals(WORKSPACE_LANDSCAPE) ||
132 mDrawIdentifier.equals(WORKSPACE_LARGE) ||
133 mDrawIdentifier.equals(ALLAPPS_PORTRAI
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DAbstractCorpus.java54 public boolean equals(Object o) { method in class:AbstractCorpus
55 if (o != null && getClass().equals(o.getClass())) {
56 return getName().equals(((Corpus) o).getName());
/packages/apps/Exchange/src/com/android/exchange/
H A DRequest.java33 // we force them to implement the equals method
34 public abstract boolean equals(Object o); method in class:Request
H A DMeetingResponseRequest.java32 public boolean equals(Object o) { method in class:MeetingResponseRequest
H A DMessageMoveRequest.java32 public boolean equals(Object o) { method in class:MessageMoveRequest
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DNameNormalizerTest.java38 assertFalse(name2.equals(name1));
44 assertTrue(name2.equals(name1));
50 assertTrue(name2.equals(name1));
58 assertTrue(name2.equals(name1));
/packages/apps/Contacts/src/com/android/contacts/util/
H A DPhonebookCollatorFactory.java35 if ("ja".equals(defaultLocaleString) || "ja_JP".equals(defaultLocaleString)) {
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/Contacts/src/com/android/contacts/calllog/
H A DContactInfo.java55 public boolean equals(Object obj) { method in class:ContactInfo
61 if (!TextUtils.equals(name, other.name)) return false;
63 if (!TextUtils.equals(label, other.label)) return false;
64 if (!TextUtils.equals(number, other.number)) return false;
65 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) return false;
66 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) return false;
H A DPhoneNumberHelper.java40 || number.equals(CallerInfo.UNKNOWN_NUMBER)
41 || number.equals(CallerInfo.PRIVATE_NUMBER)
42 || number.equals(CallerInfo.PAYPHONE_NUMBER));
60 if (number.equals(CallerInfo.UNKNOWN_NUMBER)) {
63 if (number.equals(CallerInfo.PRIVATE_NUMBER)) {
66 if (number.equals(CallerInfo.PAYPHONE_NUMBER)) {
/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/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/
H A DWord.java59 public boolean equals(Object o) { method in class:Word
62 return mFrequency == w.mFrequency && mWord.equals(w.mWord)
63 && mBigrams.equals(w.mBigrams);
/packages/apps/Contacts/src/com/android/contacts/
H A DTypePrecedence.java101 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) {
103 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) {
105 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) {
107 } else if (mimetype.equals(Im.CONTENT_ITEM_TYPE)) {
109 } else if (mimetype.equals(Constants.MIME_TYPE_VIDEO_CHAT)) {
111 } else if (mimetype.equals(Organization.CONTENT_ITEM_TYPE)) {
/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/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/apps/Contacts/tests/src/com/android/contacts/calllog/
H A DTestPhoneNumberHelper.java35 return mVoicemailNumber.equals(number);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DDictionaryPackInstallBroadcastReceiver.java49 if (action.equals(Intent.ACTION_PACKAGE_ADDED)) {
65 if (BinaryDictionary.DICTIONARY_PACK_AUTHORITY.equals(info.authority)) {
73 } else if (action.equals(Intent.ACTION_PACKAGE_REMOVED)
85 } else if (action.equals(NEW_DICTIONARY_INTENT_ACTION)) {
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaScannerReceiver.java39 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) {
43 if (uri.getScheme().equals("file")) {
49 if (action.equals(Intent.ACTION_MEDIA_MOUNTED)) {
52 } else if (action.equals(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE) &&

Completed in 472 milliseconds

1234567891011>>