/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
D | SimpleIcsWriter.java | 75 if ("CALSCALE".equals(name) in writeTag() 76 || "METHOD".equals(name) in writeTag() 77 || "PRODID".equals(name) in writeTag() 78 || "VERSION".equals(name) in writeTag() 79 || "CATEGORIES".equals(name) in writeTag() 80 || "CLASS".equals(name) in writeTag() 81 || "COMMENT".equals(name) in writeTag() 82 || "DESCRIPTION".equals(name) in writeTag() 83 || "LOCATION".equals(name) in writeTag() 84 || "RESOURCES".equals(name) in writeTag() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsIntentResolver.java | 62 if (UI.LIST_DEFAULT.equals(action) ) { in resolveIntent() 64 } else if (UI.LIST_ALL_CONTACTS_ACTION.equals(action)) { in resolveIntent() 66 } else if (UI.LIST_CONTACTS_WITH_PHONES_ACTION.equals(action)) { in resolveIntent() 68 } else if (UI.LIST_STARRED_ACTION.equals(action)) { in resolveIntent() 70 } else if (UI.LIST_FREQUENT_ACTION.equals(action)) { in resolveIntent() 72 } else if (UI.LIST_STREQUENT_ACTION.equals(action)) { in resolveIntent() 74 } else if (UI.LIST_GROUP_ACTION.equals(action)) { in resolveIntent() 77 } else if (Intent.ACTION_PICK.equals(action)) { in resolveIntent() 79 if (Contacts.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent() 81 } else if (People.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Cling.java | 124 if (mDrawIdentifier.equals(WORKSPACE_PORTRAIT)) { in getPunchThroughPositions() 126 } else if (mDrawIdentifier.equals(WORKSPACE_LANDSCAPE)) { in getPunchThroughPositions() 128 } else if (mDrawIdentifier.equals(WORKSPACE_LARGE)) { in getPunchThroughPositions() 133 } else if (mDrawIdentifier.equals(ALLAPPS_PORTRAIT) || in getPunchThroughPositions() 134 mDrawIdentifier.equals(ALLAPPS_LANDSCAPE) || in getPunchThroughPositions() 135 mDrawIdentifier.equals(ALLAPPS_LARGE)) { in getPunchThroughPositions() 153 return (mDrawIdentifier.equals(WORKSPACE_PORTRAIT) in onHoverEvent() 154 || mDrawIdentifier.equals(WORKSPACE_LANDSCAPE) in onHoverEvent() 155 || mDrawIdentifier.equals(WORKSPACE_LARGE) in onHoverEvent() 156 || mDrawIdentifier.equals(ALLAPPS_PORTRAIT) in onHoverEvent() [all …]
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
D | VoiceDialerReceiver.java | 39 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) { in onReceive() 44 else if (Intent.ACTION_PACKAGE_ADDED.equals(action) || in onReceive() 45 Intent.ACTION_PACKAGE_CHANGED.equals(action) || in onReceive() 46 Intent.ACTION_PACKAGE_REMOVED.equals(action) || in onReceive() 47 Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action) || in onReceive() 48 Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) { in onReceive() 53 else if (TelephonyIntents.SECRET_CODE_ACTION.equals(action) && "8351".equals(host)) { in onReceive() 59 else if (TelephonyIntents.SECRET_CODE_ACTION.equals(action) && "8350".equals(host)) { in onReceive()
|
/packages/apps/Browser/src/com/android/browser/ |
D | IntentHandler.java | 81 if (Intent.ACTION_MAIN.equals(action) || in onNewIntent() 86 if (BrowserActivity.ACTION_SHOW_BOOKMARKS.equals(action)) { in onNewIntent() 94 if (Intent.ACTION_VIEW.equals(action) in onNewIntent() 95 || NfcAdapter.ACTION_NDEF_DISCOVERED.equals(action) in onNewIntent() 96 || Intent.ACTION_SEARCH.equals(action) in onNewIntent() 97 || MediaStore.INTENT_ACTION_MEDIA_SEARCH.equals(action) in onNewIntent() 98 || Intent.ACTION_WEB_SEARCH.equals(action)) { in onNewIntent() 130 if (Intent.ACTION_VIEW.equals(action) in onNewIntent() 140 if (Intent.ACTION_VIEW.equals(action) in onNewIntent() 141 && !mActivity.getPackageName().equals(appId)) { in onNewIntent() [all …]
|
D | BrowserYesNoPreference.java | 39 if (PreferenceKeys.PREF_PRIVACY_CLEAR_CACHE.equals(getKey())) { in onDialogClosed() 42 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_COOKIES.equals(getKey())) { in onDialogClosed() 44 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_HISTORY.equals(getKey())) { in onDialogClosed() 46 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_FORM_DATA.equals(getKey())) { in onDialogClosed() 48 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_PASSWORDS.equals(getKey())) { in onDialogClosed() 50 } else if (PreferenceKeys.PREF_RESET_DEFAULT_PREFERENCES.equals( in onDialogClosed() 54 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_GEOLOCATION_ACCESS.equals( in onDialogClosed()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | VideoEditorBaseActivity.java | 78 if (!projectPath.equals(mProjectPath)) { in onProjectEditState() 92 if (!projectPath.equals(mProjectPath)) { in onVideoEditorCreated() 116 if (!projectPath.equals(mProjectPath)) { in onVideoEditorLoaded() 143 if (!projectPath.equals(mProjectPath)) { in onVideoEditorAspectRatioSet() 164 if (!projectPath.equals(mProjectPath)) { in onVideoEditorThemeApplied() 188 if (!projectPath.equals(mProjectPath)) { in onVideoEditorGeneratePreviewProgress() 204 } else if (MediaItem.class.getCanonicalName().equals(className)) { in onVideoEditorGeneratePreviewProgress() 206 } else if (Transition.class.getCanonicalName().equals(className)) { in onVideoEditorGeneratePreviewProgress() 208 } else if (AudioTrack.class.getCanonicalName().equals(className)) { in onVideoEditorGeneratePreviewProgress() 219 if (!projectPath.equals(mProjectPath)) { in onVideoEditorExportProgress() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | DataItem.java | 65 if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom() 67 } else if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom() 69 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom() 71 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom() 73 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom() 75 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom() 77 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom() 79 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom() 81 } else if (Note.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom() 83 } else if (Website.CONTENT_ITEM_TYPE.equals(mimeType)) { in createFrom() [all …]
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/ |
D | RequestTests.java | 37 assertFalse(req1.equals(req2)); in testPartRequestEquals() 41 assertTrue(req1.equals(req3)); in testPartRequestEquals() 43 assertFalse(req1.equals(req4)); in testPartRequestEquals() 50 assertTrue(req1.equals(req2)); in testRequestEquals() 52 assertFalse(req3.equals(req2)); in testRequestEquals() 54 assertFalse(req4.equals(req1)); in testRequestEquals() 56 assertTrue(req5.equals(req4)); in testRequestEquals()
|
/packages/apps/Exchange/tests/src/com/android/exchange/ |
D | RequestTests.java | 37 assertFalse(req1.equals(req2)); in testPartRequestEquals() 41 assertTrue(req1.equals(req3)); in testPartRequestEquals() 43 assertFalse(req1.equals(req4)); in testPartRequestEquals() 50 assertTrue(req1.equals(req2)); in testRequestEquals() 52 assertFalse(req3.equals(req2)); in testRequestEquals() 54 assertFalse(req4.equals(req1)); in testRequestEquals() 56 assertTrue(req5.equals(req4)); in testRequestEquals()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ReverseGeocoder.java | 149 if (currentCity.equals(addr1Locality) || currentCity.equals(addr2Locality)) { in computeAddress() 151 if (currentCity.equals(addr1Locality)) { in computeAddress() 155 if (!currentCountry.equals(addr2CountryCode)) { in computeAddress() 166 if (!currentCountry.equals(addr1CountryCode)) { in computeAddress() 175 if (closestCommonLocation != null && !("null".equals(closestCommonLocation))) { in computeAddress() 176 if (!currentCity.equals(otherCity)) { in computeAddress() 184 if (closestCommonLocation != null && !("null".equals(closestCommonLocation))) { in computeAddress() 191 if (closestCommonLocation != null && !("".equals(closestCommonLocation))) { in computeAddress() 195 if (!countryCode.equals(currentCountry)) { in computeAddress() 206 if (currentAdminArea.equals(addr1AdminArea) && currentAdminArea.equals(addr2AdminArea)) { in computeAddress() [all …]
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | ProvisionParser.java | 338 if (!value.equals("-1")) { in parseProvisionDocWbxml() 409 if (tagName.equals("wap-provisioningdoc")) { in parseProvisionDocXml() 429 if (type == XmlPullParser.END_TAG && parser.getName().equals("characteristic")) { in parseSecurityPolicy() 433 if (tagName.equals("parm")) { in parseSecurityPolicy() 435 if (name.equals("4131")) { in parseSecurityPolicy() 437 if (value.equals("1")) { in parseSecurityPolicy() 452 if (type == XmlPullParser.END_TAG && parser.getName().equals("characteristic")) { in parseCharacteristic() 455 if (parser.getName().equals("parm")) { in parseCharacteristic() 458 if (name.equals("AEFrequencyValue")) { in parseCharacteristic() 460 if (value.equals("0")) { in parseCharacteristic() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarEventModel.java | 54 public boolean equals(Object obj) { in equals() method in CalendarEventModel.Attendee 62 if (!TextUtils.equals(mEmail, other.mEmail)) { in equals() 142 public boolean equals(Object obj) { in equals() method in CalendarEventModel.ReminderEntry 516 public boolean equals(Object obj) { in equals() method in CalendarEventModel 536 } else if (!mLocation.equals(other.mLocation)) { in equals() 544 } else if (!mTitle.equals(other.mTitle)) { in equals() 552 } else if (!mDescription.equals(other.mDescription)) { in equals() 560 } else if (!mDuration.equals(other.mDuration)) { in equals() 589 } else if (!mOriginalSyncId.equals(other.mOriginalSyncId)) { in equals() 597 } else if (!mRrule.equals(other.mRrule)) { in equals() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
D | GoogleSearch.java | 65 if (Intent.ACTION_WEB_SEARCH.equals(action) || Intent.ACTION_SEARCH.equals(action)) { in onCreate() 92 if ("en".equals(language)) { in useLangCountryHl() 93 return "GB".equals(country); in useLangCountryHl() 94 } else if ("zh".equals(language)) { in useLangCountryHl() 95 return "CN".equals(country) || "TW".equals(country); in useLangCountryHl() 96 } else if ("pt".equals(language)) { in useLangCountryHl() 97 return "BR".equals(country) || "PT".equals(country); in useLangCountryHl()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SuggestionData.java | 123 return Intent.ACTION_WEB_SEARCH.equals(getSuggestionIntentAction()); in isWebSearchSuggestion() 241 public boolean equals(Object obj) { in equals() method in SuggestionData 252 } else if (!mFormat.equals(other.mFormat)) in equals() 257 } else if (!mIcon1.equals(other.mIcon1)) in equals() 262 } else if (!mIcon2.equals(other.mIcon2)) in equals() 267 } else if (!mIntentAction.equals(other.mIntentAction)) in equals() 272 } else if (!mIntentData.equals(other.mIntentData)) in equals() 277 } else if (!mIntentExtraData.equals(other.mIntentExtraData)) in equals() 282 } else if (!mLogType.equals(other.mLogType)) in equals() 287 } else if (!mShortcutId.equals(other.mShortcutId)) in equals() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | ExternalAccountType.java | 301 if (!TAG_CONTACTS_ACCOUNT_TYPE.equals(rootTag) && in inflate() 302 !TAG_CONTACTS_SOURCE_LEGACY.equals(rootTag)) { in inflate() 316 if (ATTR_EDIT_CONTACT_ACTIVITY.equals(attr)) { in inflate() 318 } else if (ATTR_CREATE_CONTACT_ACTIVITY.equals(attr)) { in inflate() 320 } else if (ATTR_INVITE_CONTACT_ACTIVITY.equals(attr)) { in inflate() 322 } else if (ATTR_INVITE_CONTACT_ACTION_LABEL.equals(attr)) { in inflate() 324 } else if (ATTR_VIEW_CONTACT_NOTIFY_SERVICE.equals(attr)) { in inflate() 326 } else if (ATTR_VIEW_GROUP_ACTIVITY.equals(attr)) { in inflate() 328 } else if (ATTR_VIEW_GROUP_ACTION_LABEL.equals(attr)) { in inflate() 330 } else if (ATTR_VIEW_STREAM_ITEM_ACTIVITY.equals(attr)) { in inflate() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
D | ContactInfo.java | 55 public boolean equals(Object obj) { in equals() method in ContactInfo 61 if (!TextUtils.equals(name, other.name)) return false; in equals() 63 if (!TextUtils.equals(label, other.label)) return false; in equals() 64 if (!TextUtils.equals(number, other.number)) return false; in equals() 65 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) return false; in equals() 66 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) return false; in equals()
|
D | PhoneNumberHelper.java | 39 || number.equals(CallerInfo.UNKNOWN_NUMBER) in canPlaceCallsTo() 40 || number.equals(CallerInfo.PRIVATE_NUMBER) in canPlaceCallsTo() 41 || number.equals(CallerInfo.PAYPHONE_NUMBER)); in canPlaceCallsTo() 59 if (number.equals(CallerInfo.UNKNOWN_NUMBER)) { in getDisplayNumber() 62 if (number.equals(CallerInfo.PRIVATE_NUMBER)) { in getDisplayNumber() 65 if (number.equals(CallerInfo.PAYPHONE_NUMBER)) { in getDisplayNumber()
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
D | ElementParallelTimeContainerImpl.java | 55 if (ENDSYNC_FIRST.equals(endsync) || ENDSYNC_LAST.equals(endsync) || in getEndSync() 56 ENDSYNC_ALL.equals(endsync) || ENDSYNC_MEDIA.equals(endsync)) { in getEndSync() 67 if (ENDSYNC_FIRST.equals(endSync) || ENDSYNC_LAST.equals(endSync) || in setEndSync() 68 ENDSYNC_ALL.equals(endSync) || ENDSYNC_MEDIA.equals(endSync)) { in setEndSync() 87 if (ENDSYNC_LAST.equals(getEndSync())) { in getImplicitDuration()
|
D | SmilDocumentImpl.java | 158 if (tagName.equals("text") || in createElement() 159 tagName.equals("img") || in createElement() 160 tagName.equals("video")) { in createElement() 162 } else if (tagName.equals("audio")) { in createElement() 164 } else if (tagName.equals("layout")) { in createElement() 166 } else if (tagName.equals("root-layout")) { in createElement() 168 } else if (tagName.equals("region")) { in createElement() 170 } else if (tagName.equals("ref")) { in createElement() 172 } else if (tagName.equals("par")) { in createElement() 284 if ("Event".equals(eventType)) { in createEvent()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | Sources.java | 128 if (Intent.ACTION_PACKAGE_REMOVED.equals(action) in onReceive() 129 || Intent.ACTION_PACKAGE_ADDED.equals(action) in onReceive() 130 || Intent.ACTION_PACKAGE_CHANGED.equals(action) || in onReceive() 131 Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action) || in onReceive() 132 Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) { in onReceive() 135 if (Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action) || in onReceive() 136 Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) { in onReceive() 154 } else if (Intent.ACTION_LOCALE_CHANGED.equals(action)) { in onReceive() 161 if (TextUtils.equals(packageName, source.resPackageName)) { in invalidateCache() 197 if (!ContactsContract.AUTHORITY.equals(sync.authority)) { in queryAccounts() [all …]
|
D | TypePrecedence.java | 94 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList() 96 } else if (mimetype.equals(Constants.MIME_SMS_ADDRESS)) { in getTypePrecedenceList() 98 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList() 100 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList() 102 } else if (mimetype.equals(Im.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList() 104 } else if (mimetype.equals(Organization.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
D | MovieTransition.java | 261 if (TransitionCrossfade.class.equals(mTypeClass)) { in buildTransition() 264 } else if (TransitionAlpha.class.equals(mTypeClass)) { in buildTransition() 269 } else if (TransitionFadeBlack.class.equals(mTypeClass)) { in buildTransition() 272 } else if (TransitionSliding.class.equals(mTypeClass)) { in buildTransition() 286 if (TransitionCrossfade.class.equals(mTypeClass)) { in toType() 288 } else if (TransitionAlpha.class.equals(mTypeClass)) { in toType() 303 } else if (TransitionFadeBlack.class.equals(mTypeClass)) { in toType() 305 } else if (TransitionSliding.class.equals(mTypeClass)) { in toType() 336 public boolean equals(Object object) { in equals() method in MovieTransition 340 return mUniqueId.equals(((MovieTransition)object).mUniqueId); in equals()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiStatusTest.java | 90 if (intent.getAction().equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) { 93 } else if (intent.getAction().equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) { 96 } else if (intent.getAction().equals(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)) { 98 } else if (intent.getAction().equals(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION)) { 100 } else if (intent.getAction().equals(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION)) { 105 } else if (intent.getAction().equals(WifiManager.RSSI_CHANGED_ACTION)) { 107 } else if (intent.getAction().equals(WifiManager.NETWORK_IDS_CHANGED_ACTION)) { 202 if(SupplicantState.FOUR_WAY_HANDSHAKE.equals(supplicantState)) { in setSupplicantStateText() 204 } else if(SupplicantState.ASSOCIATED.equals(supplicantState)) { in setSupplicantStateText() 206 } else if(SupplicantState.ASSOCIATING.equals(supplicantState)) { in setSupplicantStateText() [all …]
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
D | GeneralPreferencesFragment.java | 90 if (pref.getKey().equals(PREF_HOMEPAGE_PICKER)) { in onPreferenceChange() 92 if (CURRENT.equals(objValue)) { in onPreferenceChange() 95 if (BLANK.equals(objValue)) { in onPreferenceChange() 98 if (DEFAULT.equals(objValue)) { in onPreferenceChange() 102 if (MOST_VISITED.equals(objValue)) { in onPreferenceChange() 105 if (OTHER.equals(objValue)) { in onPreferenceChange() 167 if (HomeProvider.MOST_VISITED.equals(homepage)) { in getHomepageValue() 172 if (TextUtils.equals(defaultHomepage, homepage)) { in getHomepageValue() 175 if (TextUtils.equals(mCurrentPage, homepage)) { in getHomepageValue() 187 if (TextUtils.isEmpty(homepage) || BLANK_URL.equals(homepage)) { in getHomepageSummary() [all …]
|