Home
last modified time | relevance | path

Searched refs:other (Results 1 – 25 of 130) sorted by relevance

123456

/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
DHeapSegment.java213 public int compareTo(HeapSegmentElement other) { in compareTo() argument
214 if (mLength != other.mLength) { in compareTo()
215 return mLength < other.mLength ? -1 : 1; in compareTo()
290 public boolean canAppend(HeapSegment other) { in canAppend() argument
291 return isValid() && other.isValid() && mHeapId == other.mHeapId && in canAppend()
292 mAllocationUnitSize == other.mAllocationUnitSize && in canAppend()
293 getEndAddress() == other.getStartAddress(); in canAppend()
306 public boolean append(HeapSegment other) { in append() argument
307 if (canAppend(other)) { in append()
315 other.mUsageData.limit()) { in append()
[all …]
/sdk/lint/cli/src/com/android/tools/lint/
DWarning.java57 public int compareTo(Warning other) { in compareTo() argument
60 int categoryDelta = issue.getCategory().compareTo(other.issue.getCategory()); in compareTo()
65 int priorityDelta = other.issue.getPriority() - issue.getPriority(); in compareTo()
70 String id2 = other.issue.getId(); in compareTo()
72 return file.getName().compareTo(other.file.getName()); in compareTo()
78 if (file != null && other.file != null) { in compareTo()
80 other.file.getName()); in compareTo()
85 if (line != other.line) { in compareTo()
86 return line - other.line; in compareTo()
89 return message.compareTo(other.message); in compareTo()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/changes/
DAndroidLayoutChangeDescription.java100 AndroidLayoutChangeDescription other = (AndroidLayoutChangeDescription) obj; in equals()
102 if (other.mClassName != null) in equals()
104 } else if (!mClassName.equals(other.mClassName)) in equals()
107 if (other.mNewName != null) in equals()
109 } else if (!mNewName.equals(other.mNewName)) in equals()
111 if (mType != other.mType) in equals()
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/testrunner/
DTestIdentifier.java73 TestIdentifier other = (TestIdentifier) obj; in equals()
75 if (other.mClassName != null) in equals()
77 } else if (!mClassName.equals(other.mClassName)) in equals()
80 if (other.mTestName != null) in equals()
82 } else if (!mTestName.equals(other.mTestName)) in equals()
/sdk/common/src/com/android/utils/
DPair.java94 Pair other = (Pair) obj; in equals()
96 if (other.mFirst != null) in equals()
98 } else if (!mFirst.equals(other.mFirst)) in equals()
101 if (other.mSecond != null) in equals()
103 } else if (!mSecond.equals(other.mSecond)) in equals()
/sdk/layoutlib_api/src/com/android/util/
DPair.java103 Pair other = (Pair) obj; in equals()
105 if (other.mFirst != null) in equals()
107 } else if (!mFirst.equals(other.mFirst)) in equals()
110 if (other.mSecond != null) in equals()
112 } else if (!mSecond.equals(other.mSecond)) in equals()
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/
DWindow.java70 public boolean equals(Object other) { in equals() argument
71 if (other instanceof Window) { in equals()
72 return mHashCode == ((Window) other).mHashCode in equals()
73 && mDevice.getSerialNumber().equals(((Window) other).mDevice.getSerialNumber()); in equals()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/archives/
DArchive.java453 Archive other = (Archive) obj; in equals() local
455 if (other.mArch != null) { in equals()
458 } else if (!mArch.equals(other.mArch)) { in equals()
462 if (other.mChecksum != null) { in equals()
465 } else if (!mChecksum.equals(other.mChecksum)) { in equals()
469 if (other.mChecksumType != null) { in equals()
472 } else if (!mChecksumType.equals(other.mChecksumType)) { in equals()
475 if (mIsLocal != other.mIsLocal) { in equals()
479 if (other.mLocalOsPath != null) { in equals()
482 } else if (!mLocalOsPath.equals(other.mLocalOsPath)) { in equals()
[all …]
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/
DResourceReference.java85 ResourceReference other = (ResourceReference) obj; in equals()
86 if (mIsFramework != other.mIsFramework) in equals()
89 if (other.mName != null) in equals()
91 } else if (!mName.equals(other.mName)) in equals()
DResourceValue.java108 ResourceValue other = (ResourceValue) obj; in equals()
110 if (other.mType != null) in equals()
112 } else if (!mType.equals(other.mType)) in equals()
115 if (other.mValue != null) in equals()
117 } else if (!mValue.equals(other.mValue)) in equals()
DDensityBasedResourceValue.java79 DensityBasedResourceValue other = (DensityBasedResourceValue) obj; in equals()
81 if (other.mDensity != null) in equals()
83 } else if (!mDensity.equals(other.mDensity)) in equals()
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/bytecode/
DTestFieldGetter.java.txt20 public void test(TestFieldGetter other) {
22 other.getPath(); // Ignore
27 public static void test2(TestFieldGetter other) {
28 other.getPath(); // Ignore
DTestFieldGetter.class.data ... .pkg.TestFieldGetter) test.pkg.TestFieldGetter other java.io.File file public static void test2
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
DCategory.java128 public int compareTo(Category other) { in compareTo() argument
129 if (other.mPriority == mPriority) { in compareTo()
130 if (mParent == other) { in compareTo()
132 } else if (other.mParent == this) { in compareTo()
136 return other.mPriority - mPriority; in compareTo()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DViewNode.java149 final ViewNode other = (ViewNode) obj; in equals() local
150 return !(this.name != other.name && (this.name == null || !this.name.equals(other.name))); in equals()
183 final Property other = (Property) obj; in equals() local
184 if (this.name != other.name && (this.name == null || !this.name.equals(other.name))) { in equals()
187 … return !(this.value != other.value && (this.value == null || !this.value.equals(other.value))); in equals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DLocale.java148 Locale other = (Locale) obj; in equals()
150 if (other.language != null) in equals()
152 } else if (!language.equals(other.language)) in equals()
155 if (other.region != null) in equals()
157 } else if (!region.equals(other.region)) in equals()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/core/
DPkgCategory.java79 PkgCategory other = (PkgCategory) obj; in equals()
81 if (other.mKey != null) return false; in equals()
82 } else if (!mKey.equals(other.mKey)) return false; in equals()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/
DAddonPackage.java101 Lib other = (Lib) obj; in equals() local
103 if (other.mDescription != null) { in equals()
106 } else if (!mDescription.equals(other.mDescription)) { in equals()
110 if (other.mName != null) { in equals()
113 } else if (!mName.equals(other.mName)) { in equals()
647 AddonPackage other = (AddonPackage) obj; in equals() local
649 if (other.mLayoutlibVersion != null) { in equals()
652 } else if (!mLayoutlibVersion.equals(other.mLayoutlibVersion)) { in equals()
655 if (!Arrays.equals(mLibs, other.mLibs)) { in equals()
659 if (other.mNameId != null) { in equals()
[all …]
DFullRevision.java194 FullRevision other = (FullRevision) rhs; in equals() local
195 if (mMajor != other.mMajor) { in equals()
198 if (mMinor != other.mMinor) { in equals()
201 if (mMicro != other.mMicro) { in equals()
204 if (mPreview != other.mPreview) { in equals()
DPlatformPackage.java329 PlatformPackage other = (PlatformPackage) obj; in equals() local
331 if (other.mLayoutlibVersion != null) { in equals()
334 } else if (!mLayoutlibVersion.equals(other.mLayoutlibVersion)) { in equals()
338 if (other.mVersion != null) { in equals()
341 } else if (!mVersion.equals(other.mVersion)) { in equals()
345 if (other.mVersionName != null) { in equals()
348 } else if (!mVersionName.equals(other.mVersionName)) { in equals()
DLayoutlibVersionMixin.java121 LayoutlibVersionMixin other = (LayoutlibVersionMixin) obj; in equals() local
123 if (other.mLayoutlibVersion != null) { in equals()
126 } else if (!mLayoutlibVersion.equals(other.mLayoutlibVersion)) { in equals()
DMinToolsPackage.java129 MinToolsPackage other = (MinToolsPackage) obj; in equals() local
131 if (other.mMinToolsRevision != null) { in equals()
134 } else if (!mMinToolsRevision.equals(other.mMinToolsRevision)) { in equals()
DFullRevisionPackage.java126 FullRevisionPackage other = (FullRevisionPackage) obj; in equals() local
128 if (other.mPreviewVersion != null) { in equals()
131 } else if (!mPreviewVersion.equals(other.mPreviewVersion)) { in equals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DControlPoint.java176 ControlPoint other = (ControlPoint) obj; in equals()
177 if (x != other.x) in equals()
179 if (y != other.y) in equals()
181 if (mCanvas != other.mCanvas) { in equals()
DLayoutPoint.java149 LayoutPoint other = (LayoutPoint) obj; in equals()
150 if (x != other.x) in equals()
152 if (y != other.y) in equals()

123456