Home
last modified time | relevance | path

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

/developers/samples/android/common/src/java/com/example/android/common/midi/
DMidiPortWrapper.java117 public int hashCode() { in hashCode() method in MidiPortWrapper
118 int hashCode = 1; in hashCode() local
119 hashCode = 31 * hashCode + mPortIndex; in hashCode()
120 hashCode = 31 * hashCode + mType; in hashCode()
121 hashCode = 31 * hashCode + mInfo.hashCode(); in hashCode()
122 return hashCode; in hashCode()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/model/
DAutofillDataset.java72 public int hashCode() { in hashCode() method in AutofillDataset
73 int result = mId.hashCode(); in hashCode()
74 result = 31 * result + mDatasetName.hashCode(); in hashCode()
75 result = 31 * result + mPackageName.hashCode(); in hashCode()
DDatasetWithFilledAutofillFields.java55 public int hashCode() { in hashCode() method in DatasetWithFilledAutofillFields
56 int result = autofillDataset != null ? autofillDataset.hashCode() : 0; in hashCode()
57 result = 31 * result + (filledAutofillFields != null ? filledAutofillFields.hashCode() : 0); in hashCode()
DDalInfo.java62 public int hashCode() { in hashCode() method in DalInfo
63 int result = mWebDomain != null ? mWebDomain.hashCode() : 0; in hashCode()
64 result = 31 * result + (mPackageName != null ? mPackageName.hashCode() : 0); in hashCode()
DFilledAutofillField.java139 public int hashCode() { in hashCode() method in FilledAutofillField
140 int result = mTextValue != null ? mTextValue.hashCode() : 0; in hashCode()
141 result = 31 * result + (mDateValue != null ? mDateValue.hashCode() : 0); in hashCode()
142 result = 31 * result + (mToggleValue != null ? mToggleValue.hashCode() : 0); in hashCode()
143 result = 31 * result + mFieldTypeName.hashCode(); in hashCode()
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/model/
DMessage.java141 public int hashCode() { in hashCode() method in Message
142 int result = id != null ? id.hashCode() : 0; in hashCode()
143 result = 31 * result + senderId.hashCode(); in hashCode()
144 result = 31 * result + (name != null ? name.hashCode() : 0); in hashCode()
145 result = 31 * result + (text != null ? text.hashCode() : 0); in hashCode()
DProfile.java157 public int hashCode() { in hashCode() method in Profile
158 int result = id.hashCode(); in hashCode()
159 result = 31 * result + (email != null ? email.hashCode() : 0); in hashCode()
160 result = 31 * result + name.hashCode(); in hashCode()
161 result = 31 * result + profileImageUri.hashCode(); in hashCode()
162 result = 31 * result + (lastUpdatedTime != null ? lastUpdatedTime.hashCode() : 0); in hashCode()
DChat.java227 public int hashCode() { in hashCode() method in Chat
228 int result = id.hashCode(); in hashCode()
229 result = 31 * result + (alias != null ? alias.hashCode() : 0); in hashCode()
230 result = 31 * result + participants.hashCode(); in hashCode()
231 result = 31 * result + (lastReadMessages != null ? lastReadMessages.hashCode() : 0); in hashCode()
232 result = 31 * result + (lastMessage != null ? lastMessage.hashCode() : 0); in hashCode()
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/data/
DContact.kt68 override fun hashCode(): Int { in hashCode() method in com.example.android.bubbles.data.Contact
69 var result = id.hashCode() in hashCode()
70 result = 31 * result + name.hashCode() in hashCode()
/developers/samples/android/wearable/wear/SpeedTracker/Shared/src/main/java/com/example/android/wearable/speedtracker/common/
DLocationEntry.java58 public int hashCode() { in hashCode() method in LocationEntry
59 return calendar.hashCode(); in hashCode()
/developers/samples/android/ui/activityscenetransition/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/
DItem.java59 return mName.hashCode() + mFileName.hashCode(); in getId()
/developers/samples/android/ui/lists/CustomChoiceList/Application/src/main/java/com/example/android/customchoicelist/
DMainActivity.java54 return Cheeses.CHEESES[position].hashCode(); in getItemId()
/developers/samples/android/ui/views/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/
DMainActivity.kt62 override fun getItemId(position: Int) = samples[position].hashCode().toLong() in getCount()
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/
DMusicService.java137 mPlaylist.add(new MediaSessionCompat.QueueItem(description, description.hashCode())); in onAddQueueItem()
144 mPlaylist.remove(new MediaSessionCompat.QueueItem(description, description.hashCode())); in onRemoveQueueItem()
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
DAlarm.java124 public int hashCode() { in hashCode() method in Alarm
/developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
DScanResultAdapter.java61 return mArrayList.get(position).getDevice().getAddress().hashCode(); in getItemId()
/developers/build/lib/
DbuildSrc.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/example/ com/ ...
/developers/build/templates/ActivityCards/_MODULE_/src/template/java/_PACKAGE_/
DMainActivity.java.ftl88 return mSamples[position].hashCode();
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DImageCache.java586 cacheKey = String.valueOf(key.hashCode()); in hashKeyForDisk()
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...