Home
last modified time | relevance | path

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

1234

/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
DWindow.java23 private int hashCode; field in Window
25 public Window(String title, int hashCode) { in Window() argument
27 this.hashCode = hashCode; in Window()
35 return hashCode; in getHashCode()
39 return Integer.toHexString(hashCode); in encode()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleAttributeTest.java87 int ah = a.hashCode(); in testHashCode()
89 assertFalse(ah == new Object().hashCode()); in testHashCode()
94 "value = with space ").hashCode()); in testHashCode()
98 "value").hashCode()); in testHashCode()
100 assertFalse(ah == new SimpleAttribute("uri", "name", "value = with space ").hashCode()); in testHashCode()
102 assertFalse(ah == new SimpleAttribute("uri", "wrong name", "value").hashCode()); in testHashCode()
106 "value = with space ").hashCode()); in testHashCode()
DSimpleElementTest.java310 int he = e.hashCode(); in testHashCode()
315 new Rect(0, 0, 320, 480)).hashCode()); in testHashCode()
322 new Rect(0, 0, 320, 480)).hashCode()); in testHashCode()
328 new Rect(0, 0, 320, 480)).hashCode()); in testHashCode()
334 new Rect(0, 0, 320, 480)).hashCode()); in testHashCode()
340 new Rect(10, 100, 160, 240)).hashCode()); in testHashCode()
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/
DAndroidVersionTest.java32 assertEquals("CODENAME".hashCode(), v.hashCode()); in testAndroidVersion()
41 assertEquals(15, v.hashCode()); in testAndroidVersion()
50 assertEquals(15, v.hashCode()); in testAndroidVersion()
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/
DResourceValue.java89 public int hashCode() { in hashCode() method in ResourceValue
91 int result = super.hashCode(); in hashCode()
92 result = prime * result + ((mType == null) ? 0 : mType.hashCode()); in hashCode()
93 result = prime * result + ((mValue == null) ? 0 : mValue.hashCode()); in hashCode()
DDensityBasedResourceValue.java61 public int hashCode() { in hashCode() method in DensityBasedResourceValue
63 int result = super.hashCode(); in hashCode()
64 result = prime * result + ((mDensity == null) ? 0 : mDensity.hashCode()); in hashCode()
DResourceReference.java66 public int hashCode() { in hashCode() method in ResourceReference
70 result = prime * result + ((mName == null) ? 0 : mName.hashCode()); in hashCode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleAttribute.java113 public int hashCode() { in hashCode() method in SimpleAttribute
114 long c = mName.hashCode(); in hashCode()
116 c = 31*c + mUri.hashCode(); in hashCode()
117 c = 31*c + mValue.hashCode(); in hashCode()
DSimpleElement.java348 public int hashCode() { in hashCode() method in SimpleElement
349 long c = mFqcn.hashCode(); in hashCode()
351 c = 31*c + mAttributes.hashCode(); in hashCode()
352 c = 31*c + mElements.hashCode(); in hashCode()
354 c = 31*c + mParentFqcn.hashCode(); in hashCode()
357 c = 31*c + mBounds.hashCode(); in hashCode()
360 c = 31*c + mParentBounds.hashCode(); in hashCode()
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/testrunner/
DTestIdentifier.java57 public int hashCode() { in hashCode() method in TestIdentifier
60 result = prime * result + ((mClassName == null) ? 0 : mClassName.hashCode()); in hashCode()
61 result = prime * result + ((mTestName == null) ? 0 : mTestName.hashCode()); in hashCode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/changes/
DAndroidLayoutChangeDescription.java83 public int hashCode() { in hashCode() method in AndroidLayoutChangeDescription
86 result = prime * result + ((mClassName == null) ? 0 : mClassName.hashCode()); in hashCode()
87 result = prime * result + ((mNewName == null) ? 0 : mNewName.hashCode()); in hashCode()
/sdk/common/src/com/android/utils/
DPair.java77 public int hashCode() { in hashCode() method in Pair
80 result = prime * result + ((mFirst == null) ? 0 : mFirst.hashCode()); in hashCode()
81 result = prime * result + ((mSecond == null) ? 0 : mSecond.hashCode()); in hashCode()
/sdk/layoutlib_api/src/com/android/util/
DPair.java86 public int hashCode() { in hashCode() method in Pair
89 result = prime * result + ((mFirst == null) ? 0 : mFirst.hashCode()); in hashCode()
90 result = prime * result + ((mSecond == null) ? 0 : mSecond.hashCode()); in hashCode()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/
DPointTest.java113 assertEquals(p1.hashCode(), p.hashCode()); in testHashCode()
115 assertFalse(p2.hashCode() == p.hashCode()); in testHashCode()
/sdk/sdk_common/src/com/android/ide/common/resources/
DIntArrayWrapper.java38 public int hashCode() { in hashCode() method in IntArrayWrapper
39 return Arrays.hashCode(mData); in hashCode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/
DAndroidTestReference.java62 public int hashCode() { in hashCode() method in AndroidTestReference
63 return getName().hashCode(); in hashCode()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/devices/
DDevice.java276 public int hashCode() { in hashCode() method in Device
284 hash = 31 * hash + mSoftware.hashCode(); in hashCode()
285 hash = 31 * hash + mState.hashCode(); in hashCode()
286 hash = 31 * hash + mMeta.hashCode(); in hashCode()
287 hash = 31 * hash + mDefaultState.hashCode(); in hashCode()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DViewNode.java159 public int hashCode() { in hashCode() method in ViewNode
161 hash = 67 * hash + (this.name != null ? this.name.hashCode() : 0); in hashCode()
191 public int hashCode() { in hashCode() method in ViewNode.Property
193 hash = 61 * hash + (this.name != null ? this.name.hashCode() : 0); in hashCode()
194 hash = 61 * hash + (this.value != null ? this.value.hashCode() : 0); in hashCode()
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/
DWindow.java33 public Window(IDevice device, String title, int hashCode) { in Window() argument
36 this.mHashCode = hashCode; in Window()
/sdk/sdk_common/src/com/android/ide/common/resources/configuration/
DEnumBasedResourceQualifier.java49 public int hashCode() { in hashCode() method in EnumBasedResourceQualifier
52 return value.hashCode(); in hashCode()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/
DMinToolsPackage.java111 public int hashCode() { in hashCode() method in MinToolsPackage
113 int result = super.hashCode(); in hashCode()
114 result = prime * result + ((mMinToolsRevision == null) ? 0 : mMinToolsRevision.hashCode()); in hashCode()
DFullRevisionPackage.java108 public int hashCode() { in hashCode() method in FullRevisionPackage
110 int result = super.hashCode(); in hashCode()
111 result = prime * result + ((mPreviewVersion == null) ? 0 : mPreviewVersion.hashCode()); in hashCode()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/archives/
DArchive.java423 public int hashCode() { in hashCode() method in Archive
426 result = prime * result + ((mArch == null) ? 0 : mArch.hashCode()); in hashCode()
427 result = prime * result + ((mChecksum == null) ? 0 : mChecksum.hashCode()); in hashCode()
428 result = prime * result + ((mChecksumType == null) ? 0 : mChecksumType.hashCode()); in hashCode()
430 result = prime * result + ((mLocalOsPath == null) ? 0 : mLocalOsPath.hashCode()); in hashCode()
431 result = prime * result + ((mOs == null) ? 0 : mOs.hashCode()); in hashCode()
433 result = prime * result + ((mUrl == null) ? 0 : mUrl.hashCode()); in hashCode()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/core/
DPkgItem.java213 public int hashCode() { in hashCode() method in PkgItem
216 result = prime * result + ((mState == null) ? 0 : mState.hashCode()); in hashCode()
217 result = prime * result + ((mMainPkg == null) ? 0 : mMainPkg.hashCode()); in hashCode()
218 result = prime * result + ((mUpdatePkg == null) ? 0 : mUpdatePkg.hashCode()); in hashCode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
DXmlStorageEditorInput.java116 public int hashCode() { in hashCode() method in XmlStorageEditorInput
117 return mStorage.hashCode(); in hashCode()

1234