Searched refs:equals (Results 1 - 25 of 1397) 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/OMA-DM/engine/dmlib/tool-src/dmt_validate/com/mot/treetest/
H A DUtil.java8 if (nodeType.equals("node")) {
11 else if (nodeType.equals("chr")) {
14 else if (nodeType.equals("bin")) {
17 else if (nodeType.equals("bool")) {
20 else if (nodeType.equals("int")) {
23 else if (nodeType.equals("date")) {
26 else if (nodeType.equals("time")) {
29 else if (nodeType.equals("float")) {
38 if (nodeType.equals("chr")) {
41 else if (nodeType.equals("bi
[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/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/Dialer/tests/src/com/android/dialer/calllog/
H A DTestPhoneNumberUtilsWrapper.java32 return mVoicemailNumber.equals(number);
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiPickerActivity.java42 if (WifiSettings.class.getName().equals(fragmentName)
43 || WifiP2pSettings.class.getName().equals(fragmentName)
44 || SavedAccessPointsWifiSettings.class.getName().equals(fragmentName)
45 || AdvancedWifiSettings.class.getName().equals(fragmentName)) return true;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DIntentUtils.java53 return "content".equals(uri.getScheme());
60 return "intent".equals(uri.getScheme());
/packages/apps/InCallUI/src/com/android/incallui/
H A DInCallApp.java73 if (action.equals(ACTION_ANSWER_VIDEO_INCOMING_CALL)) {
76 } else if (action.equals(ACTION_ANSWER_VOICE_INCOMING_CALL)) {
79 } else if (action.equals(ACTION_DECLINE_INCOMING_CALL)) {
81 } else if (action.equals(ACTION_HANG_UP_ONGOING_CALL)) {
83 } else if (action.equals(ACTION_ACCEPT_VIDEO_UPGRADE_REQUEST)) {
85 } else if (action.equals(ACTION_DECLINE_VIDEO_UPGRADE_REQUEST)) {
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DContactInfo.java63 public boolean equals(Object obj) { method in class:ContactInfo
69 if (!TextUtils.equals(name, other.name)) return false;
71 if (!TextUtils.equals(label, other.label)) return false;
72 if (!TextUtils.equals(number, other.number)) return false;
73 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) return false;
74 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) return false;
77 if (!TextUtils.equals(objectId, other.objectId)) return false;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DScanResultComparator.java56 if (result1.SSID.equals(mConnectedSSID)
57 && security1.equals(mConnectedSecurity)) {
60 if (result2.SSID.equals(mConnectedSSID)
61 && security2.equals(mConnectedSecurity)) {
69 if (result1.SSID.equals(result2.SSID)) {
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DWeightedString.java56 public boolean equals(Object o) { method in class:WeightedString
60 return mWord.equals(w.mWord) && mProbabilityInfo.equals(w.mProbabilityInfo);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DUncachedInputMethodManagerUtils.java43 if (packageName.equals(imi.getPackageName())) {
63 return imi != null && imi.getId().equals(currentImeId);
78 if (packageName.equals(imi.getPackageName())) {
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
H A DPair.java36 public boolean equals(Object o) { method in class:Pair
40 return ((mFirst == null && p.mFirst == null) || mFirst.equals(p.mFirst))
41 && ((mSecond == null && p.mSecond == null) || mSecond.equals(p.mSecond));
/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/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)) {

Completed in 739 milliseconds

1234567891011>>