Home
last modified time | relevance | path

Searched refs:hashCode (Results 1 – 25 of 169) sorted by relevance

1234567

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java55 notification.setDeleteIntent(PendingIntent.getBroadcast(context, instance.hashCode(), in showLowPriorityNotification()
63 PendingIntent.getBroadcast(context, instance.hashCode(), in showLowPriorityNotification()
68 notification.setContentIntent(PendingIntent.getActivity(context, instance.hashCode(), in showLowPriorityNotification()
71 nm.cancel(instance.hashCode()); in showLowPriorityNotification()
72 nm.notify(instance.hashCode(), notification.build()); in showLowPriorityNotification()
85 .setGroup(Integer.toString(instance.hashCode())) in showHighPriorityNotification()
97 PendingIntent.getBroadcast(context, instance.hashCode(), in showHighPriorityNotification()
102 notification.setContentIntent(PendingIntent.getActivity(context, instance.hashCode(), in showHighPriorityNotification()
105 nm.cancel(instance.hashCode()); in showHighPriorityNotification()
106 nm.notify(instance.hashCode(), notification.build()); in showHighPriorityNotification()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarEventModel.java50 public int hashCode() { in hashCode() method in CalendarEventModel.Attendee
51 return (mEmail == null) ? 0 : mEmail.hashCode(); in hashCode()
138 public int hashCode() { in hashCode() method in CalendarEventModel.ReminderEntry
482 public int hashCode() { in hashCode() method in CalendarEventModel
486 result = prime * result + ((mAttendeesList == null) ? 0 : getAttendeesString().hashCode()); in hashCode()
488 result = prime * result + ((mDescription == null) ? 0 : mDescription.hashCode()); in hashCode()
489 result = prime * result + ((mDuration == null) ? 0 : mDuration.hashCode()); in hashCode()
502 result = prime * result + ((mLocation == null) ? 0 : mLocation.hashCode()); in hashCode()
503 result = prime * result + ((mOrganizer == null) ? 0 : mOrganizer.hashCode()); in hashCode()
504 result = prime * result + ((mOriginalAllDay == null) ? 0 : mOriginalAllDay.hashCode()); in hashCode()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestionData.java221 public int hashCode() { in hashCode() method in SuggestionData
224 result = prime * result + ((mFormat == null) ? 0 : mFormat.hashCode()); in hashCode()
225 result = prime * result + ((mIcon1 == null) ? 0 : mIcon1.hashCode()); in hashCode()
226 result = prime * result + ((mIcon2 == null) ? 0 : mIcon2.hashCode()); in hashCode()
227 result = prime * result + ((mIntentAction == null) ? 0 : mIntentAction.hashCode()); in hashCode()
228 result = prime * result + ((mIntentData == null) ? 0 : mIntentData.hashCode()); in hashCode()
229 result = prime * result + ((mIntentExtraData == null) ? 0 : mIntentExtraData.hashCode()); in hashCode()
230 result = prime * result + ((mLogType == null) ? 0 : mLogType.hashCode()); in hashCode()
231 result = prime * result + ((mShortcutId == null) ? 0 : mShortcutId.hashCode()); in hashCode()
232 result = prime * result + ((mSource == null) ? 0 : mSource.hashCode()); in hashCode()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java88 public int hashCode() { in hashCode() method in MoreKeySpec
89 int hashCode = 1; in hashCode() local
90 hashCode = 31 + mCode; in hashCode()
91 hashCode = hashCode * 31 + mIconId; in hashCode()
93 hashCode = hashCode * 31 + (label == null ? 0 : label.hashCode()); in hashCode()
95 hashCode = hashCode * 31 + (outputText == null ? 0 : outputText.hashCode()); in hashCode()
96 return hashCode; in hashCode()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndSubtypeUtil.java97 private static void putSelectedInputMethodSubtype(ContentResolver resolver, int hashCode) { in putSelectedInputMethodSubtype() argument
98 Settings.Secure.putInt(resolver, Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE, hashCode); in putSelectedInputMethodSubtype()
197 final String subtypeHashCodeStr = String.valueOf(subtype.hashCode()); in saveInputMethodSubtypeList()
215 if (selectedInputMethodSubtype == subtype.hashCode()) { in saveInputMethodSubtypeList()
321 .findPreference(id + subtype.hashCode()); in setSubtypesPreferenceEnabled()
344 final String hashCode = String.valueOf(subtype.hashCode()); in updateSubtypesPreferenceChecked() local
346 Log.d(TAG, "--- Set checked state: " + "id" + ", " + hashCode + ", " in updateSubtypesPreferenceChecked()
347 + enabledSubtypesSet.contains(hashCode)); in updateSubtypesPreferenceChecked()
350 .findPreference(id + hashCode); in updateSubtypesPreferenceChecked()
352 pref.setChecked(enabledSubtypesSet.contains(hashCode)); in updateSubtypesPreferenceChecked()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLookupKey.java64 return (accountTypeWithDataSet.hashCode() ^ accountName.hashCode()) & 0xFFF; in getAccountHashCode()
125 int hashCode = 0; in parse() local
135 hashCode = 0; in parse()
141 hashCode = hashCode * 10 + (c - '0'); in parse()
246 segment.accountHashCode = hashCode; in parse()
DAccountWithDataSet.java80 public int hashCode() { in hashCode() method in AccountWithDataSet
81 int result = mAccountName != null ? mAccountName.hashCode() : 0; in hashCode()
82 result = 31 * result + (mAccountType != null ? mAccountType.hashCode() : 0); in hashCode()
83 result = 31 * result + (mDataSet != null ? mDataSet.hashCode() : 0); in hashCode()
/packages/apps/Settings/src/com/android/settings/location/
DInjectedSetting.java130 public int hashCode() { in hashCode() method in InjectedSetting
131 int result = packageName.hashCode(); in hashCode()
132 result = 31 * result + className.hashCode(); in hashCode()
133 result = 31 * result + title.hashCode(); in hashCode()
135 result = 31 * result + mUserHandle.hashCode(); in hashCode()
136 result = 31 * result + settingsActivity.hashCode(); in hashCode()
/packages/apps/InCallUI/src/com/android/incallui/
DInCallAnimationUtils.java123 + "(" + Integer.toHexString(from.hashCode()) + " -> " in startCrossFade()
124 + Integer.toHexString(to.hashCode()) + ")"); in startCrossFade()
136 + Integer.toHexString(from.hashCode()) + " -> " in startCrossFade()
137 + Integer.toHexString(to.hashCode()) + ")"); in startCrossFade()
145 + Integer.toHexString(from.hashCode()) + " -> " in startCrossFade()
146 + Integer.toHexString(to.hashCode()) + ")"); in startCrossFade()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DCommonNicknameCache.java79 int hashCode = normalizedName.hashCode(); in preloadNicknameBloomFilter() local
80 mNicknameBloomFilter.set(hashCode & NICKNAME_BLOOM_FILTER_SIZE); in preloadNicknameBloomFilter()
95 int hashCode = normalizedName.hashCode(); in getCommonNicknameClusters() local
96 if (!mNicknameBloomFilter.get(hashCode & NICKNAME_BLOOM_FILTER_SIZE)) { in getCommonNicknameClusters()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAttachment.java594 public int hashCode() { in hashCode() method in Attachment
595 int result = partId != null ? partId.hashCode() : 0; in hashCode()
596 result = 31 * result + (name != null ? name.hashCode() : 0); in hashCode()
598 result = 31 * result + (uri != null ? uri.hashCode() : 0); in hashCode()
599 result = 31 * result + (contentType != null ? contentType.hashCode() : 0); in hashCode()
603 result = 31 * result + (contentUri != null ? contentUri.hashCode() : 0); in hashCode()
604 result = 31 * result + (thumbnailUri != null ? thumbnailUri.hashCode() : 0); in hashCode()
605 result = 31 * result + (previewIntentUri != null ? previewIntentUri.hashCode() : 0); in hashCode()
607 result = 31 * result + (providerData != null ? providerData.hashCode() : 0); in hashCode()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DContactRequest.java73 public int hashCode() { in hashCode() method in ContactRequest
76 return mEmail != null ? mEmail.hashCode() : 0; in hashCode()
148 public int hashCode() { in hashCode() method in ContactRequest.ContactRequestHolder
149 int result = contactRequest != null ? contactRequest.hashCode() : 0; in hashCode()
150 result = 31 * result + (destination != null ? destination.hashCode() : 0); in hashCode()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java509 public int hashCode() { in hashCode() method in HostAuth
510 int hashCode = 29; in hashCode() local
512 hashCode += mPassword.hashCode(); in hashCode()
515 hashCode += (mClientCertAlias.hashCode() << 8); in hashCode()
517 return (hashCode << 8) + mFlags; in hashCode()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java93 conversations.add(createConversationDetailsMap(accountId, name.hashCode(), in initializeAccount()
100 createMessageDetailsMap(accountId, "zeroConv0".hashCode(), "zeroConv0", 1, false); in initializeAccount()
107 createMessageDetailsMap(accountId, "zeroConv1".hashCode(), "zeroConv1", 1, false); in initializeAccount()
110 createMessageDetailsMap(accountId, "zeroConv1a".hashCode(), "zeroConv1a", 2, false); in initializeAccount()
139 createConversationDetailsMap(accountId, "zeroConv3".hashCode(), "zeroConv3", in initializeAccount()
144 createConversationDetailsMap(accountId, "zeroConv4".hashCode(), "zeroConv4", in initializeAccount()
152 createMessageDetailsMap(accountId, "zeroConv3".hashCode(), "zeroConv3", 0, true); in initializeAccount()
157 createMessageDetailsMap(accountId, "zeroConv4".hashCode(), "zeroConv4", 0, true); in initializeAccount()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java126 public int hashCode() { in hashCode() method in BluetoothMapAccountItem
129 result = prime * result + ((mId == null) ? 0 : mId.hashCode()); in hashCode()
130 result = prime * result + ((mName == null) ? 0 : mName.hashCode()); in hashCode()
132 + ((mPackageName == null) ? 0 : mPackageName.hashCode()); in hashCode()
134 + ((mProviderAuthority == null) ? 0 : mProviderAuthority.hashCode()); in hashCode()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.java122 public int hashCode() { in hashCode() method in CalendarAppWidgetModel.EventInfo
129 result = prime * result + ((title == null) ? 0 : title.hashCode()); in hashCode()
133 result = prime * result + ((when == null) ? 0 : when.hashCode()); in hashCode()
134 result = prime * result + ((where == null) ? 0 : where.hashCode()); in hashCode()
214 public int hashCode() { in hashCode() method in CalendarAppWidgetModel.DayInfo
217 result = prime * result + ((mDayLabel == null) ? 0 : mDayLabel.hashCode()); in hashCode()
/packages/apps/Dialer/src/com/android/dialer/contactinfo/
DContactInfoRequest.java57 public int hashCode() { in hashCode() method in ContactInfoRequest
60 result = prime * result + ((callLogInfo == null) ? 0 : callLogInfo.hashCode()); in hashCode()
61 result = prime * result + ((countryIso == null) ? 0 : countryIso.hashCode()); in hashCode()
62 result = prime * result + ((number == null) ? 0 : number.hashCode()); in hashCode()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DVeiledAddressMatcher.java103 final int hashCode = pattern.hashCode(); in loadPattern() local
104 if (hashCode != mProfilePatternLastHash) { in loadPattern()
105 mProfilePatternLastHash = hashCode; in loadPattern()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHTML.java142 public int hashCode() { in hashCode() method in HTML.Element
143 return this.name.hashCode(); in hashCode()
234 public int hashCode() { in hashCode() method in HTML.Attribute
235 return this.name.hashCode(); in hashCode()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DGlobalDismissManager.java94 public int hashCode() { in hashCode() method in GlobalDismissManager.GlobalDismissId
95 int result = mAccountName.hashCode(); in hashCode()
96 result = 31 * result + mSyncId.hashCode(); in hashCode()
150 public int hashCode() { in hashCode() method in GlobalDismissManager.LocalDismissId
151 int result = mAccountType.hashCode(); in hashCode()
152 result = 31 * result + mAccountName.hashCode(); in hashCode()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageCursor.java138 int hashCode = 17; in getStateHashCode() local
142 hashCode = 31 * hashCode + getMessage().getStateHashCode(); in getStateHashCode()
144 return hashCode; in getStateHashCode()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java81 public int hashCode() { in hashCode() method in CellBroadcastAlertService.MessageServiceCategoryAndScope
82 return mLocation.hashCode() + 5 * mServiceCategory + 7 * mSerialNumber + 13 * mBodyHash; in hashCode()
176 int hashCode = message.isEtwsMessage() ? message.getMessageBody().hashCode() : 0; in handleCellBroadcastIntent() local
183 hashCode); in handleCellBroadcastIntent()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessagePartData.java383 @Override public int hashCode() { in hashCode() method in MessagePartData
387 result = 31 * result + (mMessageId == null ? 0 : mMessageId.hashCode()); in hashCode()
388 result = 31 * result + (mText == null ? 0 : mText.hashCode()); in hashCode()
389 result = 31 * result + (mContentType == null ? 0 : mContentType.hashCode()); in hashCode()
390 result = 31 * result + (mContentUri == null ? 0 : mContentUri.hashCode()); in hashCode()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DAccountWithDataSet.java150 public int hashCode() { in hashCode() method in AccountWithDataSet
152 result = 31 * result + (name != null ? name.hashCode() : 0); in hashCode()
153 result = 31 * result + (type != null ? type.hashCode() : 0); in hashCode()
154 result = 31 * result + (dataSet != null ? dataSet.hashCode() : 0); in hashCode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DNgramContext.java82 public int hashCode() { in hashCode() method in NgramContext.WordInfo
83 return Arrays.hashCode(new Object[] { mWord, mIsBeginningOfSentence } ); in hashCode()
227 public int hashCode() { in hashCode() method in NgramContext
233 hashValue ^= wordInfo.hashCode(); in hashCode()

1234567