Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 38) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/actions/
DAddNativeAction.java41 Object obj = ss.getFirstElement(); in run() local
42 if (obj instanceof IProject) { in run()
43 project = (IProject) obj; in run()
44 } else if (obj instanceof PlatformObject) { in run()
45 project = (IProject) ((PlatformObject) obj).getAdapter(IProject.class); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/
DIFileWrapper.java128 public boolean equals(Object obj) {
129 if (obj instanceof IFileWrapper) {
130 return mFile.equals(((IFileWrapper)obj).mFile);
133 if (obj instanceof IFile) {
134 return mFile.equals(obj);
137 return super.equals(obj);
DIFolderWrapper.java132 public boolean equals(Object obj) { in equals() argument
133 if (obj instanceof IFolderWrapper) { in equals()
134 return mFolder.equals(((IFolderWrapper)obj).mFolder); in equals()
137 if (obj instanceof IFolder) { in equals()
138 return mFolder.equals(obj); in equals()
141 return super.equals(obj); in equals()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DViewNode.java142 public boolean equals(Object obj) { in equals() argument
143 if (obj == null) { in equals()
146 if (getClass() != obj.getClass()) { in equals()
149 final ViewNode other = (ViewNode) obj; in equals()
176 public boolean equals(Object obj) { in equals() argument
177 if (obj == null) { in equals()
180 if (getClass() != obj.getClass()) { in equals()
183 final Property other = (Property) obj; in equals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutPoint.java142 public boolean equals(Object obj) { in equals() argument
143 if (this == obj) in equals()
145 if (obj == null) in equals()
147 if (getClass() != obj.getClass()) in equals()
149 LayoutPoint other = (LayoutPoint) obj; in equals()
DControlPoint.java169 public boolean equals(Object obj) { in equals() argument
170 if (this == obj) in equals()
172 if (obj == null) in equals()
174 if (getClass() != obj.getClass()) in equals()
176 ControlPoint other = (ControlPoint) obj; in equals()
DSimpleAttribute.java101 public boolean equals(Object obj) { in equals() argument
102 if (obj instanceof SimpleAttribute) { in equals()
103 SimpleAttribute sa = (SimpleAttribute) obj; in equals()
DSimpleElement.java320 public boolean equals(Object obj) { in equals() argument
321 if (obj instanceof SimpleElement) { in equals()
322 SimpleElement se = (SimpleElement) obj; in equals()
DIncludeFinder.java1011 public boolean equals(Object obj) { in equals() argument
1012 if (this == obj) in equals()
1014 if (obj == null) in equals()
1016 if (getClass() != obj.getClass()) in equals()
1018 Reference other = (Reference) obj; in equals()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DJavaSourceRevealer.java40 Object obj = null; in instantiateSourceRevealers() local
42 obj = configElement.createExecutableExtension("class"); //$NON-NLS-1$ in instantiateSourceRevealers()
47 if (obj instanceof ISourceRevealer) { in instantiateSourceRevealers()
48 providers.add((ISourceRevealer) obj); in instantiateSourceRevealers()
DDdmsPlugin.java376 Object obj = configElement.createExecutableExtension("class"); //$NON-NLS-1$ in instantiateToolsLocators() local
377 if (obj instanceof IToolsLocator) { in instantiateToolsLocators()
378 list.add((IToolsLocator) obj); in instantiateToolsLocators()
399 Object obj = configElement.createExecutableExtension("class"); //$NON-NLS-1$ in instantiateDebuggerConnectors() local
400 if (obj instanceof IDebuggerConnector) { in instantiateDebuggerConnectors()
401 list.add((IDebuggerConnector) obj); in instantiateDebuggerConnectors()
423 Object obj = configElement.createExecutableExtension("class"); //$NON-NLS-1$ in instantiateTraceviewLauncher() local
424 if (obj instanceof ITraceviewLauncher) { in instantiateTraceviewLauncher()
425 list.add((ITraceviewLauncher) obj); in instantiateTraceviewLauncher()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
DXmlStorageEditorInput.java105 public boolean equals(Object obj) { in equals() argument
106 if (obj instanceof XmlStorageEditorInput) { in equals()
107 return mStorage.equals(((XmlStorageEditorInput) obj).mStorage); in equals()
109 return super.equals(obj); in equals()
DFileStorage.java106 public boolean equals(Object obj) { in equals() argument
107 if (obj instanceof FileStorage) { in equals()
108 return mFile.equals(((FileStorage) obj).mFile); in equals()
110 return super.equals(obj); in equals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DLocale.java167 Object obj) { in equals()
168 if (this == obj) in equals()
170 if (obj == null) in equals()
172 if (getClass() != obj.getClass()) in equals()
174 Locale other = (Locale) obj; in equals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/
DAndroidTestReference.java53 public boolean equals(Object obj) { in equals() argument
54 if (obj instanceof ITestIdentifier) { in equals()
55 ITestIdentifier testid = (ITestIdentifier) obj; in equals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DProjectState.java140 public boolean equals(Object obj) { in equals() argument
141 if (obj instanceof LibraryState) { in equals()
143 LibraryState objState = (LibraryState)obj; in equals()
146 } else if (obj instanceof ProjectState || obj instanceof IProject) { in equals()
147 return mProjectState != null && mProjectState.equals(obj); in equals()
148 } else if (obj instanceof String) { in equals()
149 return normalizePath(mRelativePath).equals(normalizePath((String) obj)); in equals()
721 public boolean equals(Object obj) { in equals() argument
722 if (obj instanceof ProjectState) { in equals()
723 return mProject.equals(((ProjectState) obj).mProject); in equals()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DXmlPropertyComposite.java61 public boolean equals(Object obj) { in equals() argument
62 if (obj == this) { in equals()
66 if (obj instanceof XmlPropertyComposite) { in equals()
67 XmlPropertyComposite property = (XmlPropertyComposite) obj; in equals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DApkInstallManager.java61 public boolean equals(Object obj) { in equals() argument
62 if (obj instanceof ApkInstall) { in equals()
63 ApkInstall apkObj = (ApkInstall)obj; in equals()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/
DSensorChannel.java552 msg.obj = MonitoredSensor.this; in enableSensor()
567 msg.obj = MonitoredSensor.this; in disableSensor()
644 msg.obj = MonitoredSensor.this; in onSensorChanged()
DMultiTouchChannel.java111 msg.obj = msg_data; in onEmulatorMessage()
/sdk/attribute_stats/src/
DAnalyzer.java647 public boolean equals(Object obj) { in equals() argument
648 if (this == obj) in equals()
650 if (obj == null) in equals()
652 if (getClass() != obj.getClass()) in equals()
654 Usage other = (Usage) obj; in equals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DReplaceStringsVisitor.java307 for (Object obj : decl.parameters()) { in methodHasContextArgument()
308 if (obj instanceof SingleVariableDeclaration) { in methodHasContextArgument()
309 SingleVariableDeclaration var = (SingleVariableDeclaration) obj; in methodHasContextArgument()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DSensorActivity.java265 info = mDisplayedSensors.get(msg.obj); in handleMessage()
271 info = mDisplayedSensors.get(msg.obj); in handleMessage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/
DAndroidJUnitLaunchConfigurationTab.java963 Object obj = ss.getFirstElement(); in getContext() local
964 if (obj instanceof IJavaElement) { in getContext()
965 return (IJavaElement) obj; in getContext()
967 if (obj instanceof IResource) { in getContext()
968 IJavaElement je = JavaCore.create((IResource) obj); in getContext()
970 IProject pro = ((IResource) obj).getProject(); in getContext()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtPlugin.java1894 for (Object obj : objects) {
1897 if (obj instanceof String) {
1898 stream.println((String)obj);
1899 } else if (obj == null) {
1902 stream.println(obj.toString());

12