Home
last modified time | relevance | path

Searched refs:clazz (Results 1 – 12 of 12) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DWidgetClassLoader.java110 public boolean equals(Object clazz) { in equals() argument
111 if (clazz instanceof ClassDescriptor) { in equals()
112 return mFqcn.equals(((ClassDescriptor)clazz).mFqcn); in equals()
114 return super.equals(clazz); in equals()
177 ClassDescriptor clazz = null; in parseWidgetList() local
181 clazz = processClass(classes, 0, null /* map */); in parseWidgetList()
182 if (clazz != null) { in parseWidgetList()
183 clazz.setInstantiable(true); in parseWidgetList()
184 mWidgetMap.put(classes[0], clazz); in parseWidgetList()
189 clazz = processClass(classes, 0, null /* map */); in parseWidgetList()
[all …]
DAndroidJarLoader.java47 public ClassWrapper(Class<?> clazz) { in ClassWrapper() argument
48 mClass = clazz; in ClassWrapper()
83 public boolean equals(Object clazz) { in equals() argument
84 if (clazz instanceof ClassWrapper) { in equals()
85 return mClass.equals(((ClassWrapper)clazz).mClass); in equals()
87 return super.equals(clazz); in equals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DProjectClassLoader.java69 Class<?> clazz = loadFromProject(mJavaProject, name); in findClass() local
71 if (clazz != null) { in findClass()
72 return clazz; in findClass()
76 clazz = loadClassFromJar(name); in findClass()
77 if (clazz != null) { in findClass()
78 return clazz; in findClass()
94 clazz = loadFromProject(javaProject, name); in findClass()
96 if (clazz != null) { in findClass()
97 return clazz; in findClass()
147 Class<?> clazz = defineClass(null, data, 0, read); in loadFromProject() local
[all …]
DCompiledResourcesMonitor.java217 Class<?> clazz = loader.loadClass(className); in loadAndParseRClass() local
219 if (clazz != null) { in loadAndParseRClass()
229 if (parseClass(clazz, genericValueToNameMap, styleableValueToNameMap, in loadAndParseRClass()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DProjectCallback.java155 Class<?> clazz = mLoadedClasses.get(className); in loadView() local
156 if (clazz != null) { in loadView()
157 return instantiateClass(clazz, constructorSignature, constructorParameters); in loadView()
166 clazz = mLoader.loadClass(className); in loadView()
176 if (clazz != null) { in loadView()
179 Object view = instantiateClass(clazz, constructorSignature, constructorParameters); in loadView()
180 mLoadedClasses.put(className, clazz); in loadView()
204 clazz = mLoader.loadClass(SdkConstants.CLASS_MOCK_VIEW); in loadView()
205 Object view = instantiateClass(clazz, constructorSignature, constructorParameters); in loadView()
341 private Object instantiateClass(Class<?> clazz, in instantiateClass() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DReplaceStringsVisitor.java262 ITypeBinding clazz = methodBinding.getDeclaringClass(); in examineMethodInvocation() local
263 nextMethod: for (IMethodBinding mb2 : clazz.getDeclaredMethods()) { in examineMethodInvocation()
324 TypeDeclaration clazz = findParentClass(node, TypeDeclaration.class); in isClassDerivedFromContext() local
325 if (clazz != null) { in isClassDerivedFromContext()
328 return isAndroidContext(clazz.getSuperclassType()); in isClassDerivedFromContext()
334 TypeDeclaration clazz = findParentClass(node, TypeDeclaration.class); in findContextFieldOrMethod() local
335 return clazz == null ? null : findContextFieldOrMethod(clazz.resolveBinding()); in findContextFieldOrMethod()
435 private <T extends ASTNode> T findParentClass(ASTNode node, Class<T> clazz) { in findParentClass() argument
438 if (node.getClass().equals(clazz)) { in findParentClass()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/
DActivator.java57 public static <T> T getService(Class<T> clazz) { in getService() argument
59 ServiceReference ref = context.getServiceReference(clazz.getName()); in getService()
/sdk/emulator/qtools/
Ddmtrace.cpp144 void DmTrace::addFunction(int functionId, const char *clazz, in addFunction() argument
149 int len = strlen(clazz) + strlen(method) + strlen(sig) + 3; in addFunction()
151 sprintf(name, "%s\t%s\t%s", clazz, method, sig); in addFunction()
Ddmtrace.h25 void addFunction(int functionId, const char *clazz, const char *method,
Dtrace_reader.cpp964 char clazz[kBufSize], method[kBufSize], sig[kBufSize], file[kBufSize]; in ParseDexList() local
966 &addr, &len, clazz, method, sig, file, &line) != 7) { in ParseDexList()
974 int nchars = strlen(clazz) + strlen(method) + strlen(sig) + 1; in ParseDexList()
976 strcpy(name, clazz); in ParseDexList()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintFix.java193 Class<? extends LintFix> clazz = sFixes.get(id); in getFixes() local
194 if (clazz != null) { in getFixes()
196 Constructor<? extends LintFix> constructor = clazz.getDeclaredConstructor( in getFixes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGraphicalEditorPart.java1891 for (String clazz : missingClasses) { in displayFailingClasses()
1893 addText(mErrorLabel, clazz); in displayFailingClasses()
1898 addTypoSuggestions(clazz, customViews, false); in displayFailingClasses()
1899 addTypoSuggestions(clazz, customViews, true); in displayFailingClasses()
1900 addTypoSuggestions(clazz, getAndroidViewClassNames(project), false); in displayFailingClasses()
1903 ActionLinkStyleRange.LINK_FIX_BUILD_PATH, "Fix Build Path", clazz); in displayFailingClasses()
1906 ActionLinkStyleRange.LINK_EDIT_XML, "Edit XML", clazz); in displayFailingClasses()
1907 if (clazz.indexOf('.') != -1) { in displayFailingClasses()
1911 ActionLinkStyleRange.LINK_CREATE_CLASS, "Create Class", clazz); in displayFailingClasses()
1922 for (String clazz : brokenClasses) { in displayFailingClasses()
[all …]