Home
last modified time | relevance | path

Searched refs:className (Results 1 – 25 of 32) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAndroidJarLoader.java175 String className = entryPathToClassName(entryPath); in preLoadClasses() local
177 if (!mEntryCache.containsKey(className)) { in preLoadClasses()
183 mEntryCache.put(className, data); in preLoadClasses()
189 progress.subTask(String.format("Preload %1$s", className)); in preLoadClasses()
221 for (String className : superClasses) { in findClassesDerivingFrom()
222 mClassesFound.put(className, new ArrayList<IClassDescriptor>()); in findClassesDerivingFrom()
241 String className = entryPathToClassName(entryPath); in findClassesDerivingFrom() local
243 Class<?> loaded_class = mClassCache.get(className); in findClassesDerivingFrom()
245 byte[] data = mEntryCache.get(className); in findClassesDerivingFrom()
255 loaded_class = defineAndCacheClass(className, data); in findClassesDerivingFrom()
[all …]
DIAndroidClassLoader.java71 public IClassDescriptor getClass(String className) throws ClassNotFoundException; in getClass() argument
DWidgetClassLoader.java339 public IClassDescriptor getClass(String className) throws ClassNotFoundException { in getClass() argument
340 return mMap.get(className); in getClass()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DFmLayoutToActivityMethod.java53 String className = extractClassName(name); in exec() local
54 if (className == null) { in exec()
55 className = "My"; in exec()
57 String activityName = className + ACTIVITY_NAME_SUFFIX; in exec()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DChangeViewWizard.java119 for (String className : relatedTo) { in getWidgetTypes()
120 String base = className.substring(className.lastIndexOf('.') + 1); in getWidgetTypes()
122 classNames.add(className); in getWidgetTypes()
158 String className = d.getFullClassName(); in getWidgetTypes() local
159 if (className.equals(VIEW_INCLUDE) in getWidgetTypes()
160 || className.equals(VIEW_FRAGMENT) in getWidgetTypes()
161 || className.equals(REQUEST_FOCUS)) { in getWidgetTypes()
165 classNames.add(className); in getWidgetTypes()
DWrapInWizard.java217 String className = d.getFullClassName(); in addLayouts() local
218 if (exclude == null || !exclude.contains(className)) { in addLayouts()
220 classNames.add(Pair.of(className, d)); in addLayouts()
253 String className = d.getFullClassName(); in addLayouts() local
254 if (exclude == null || !exclude.contains(className)) { in addLayouts()
256 classNames.add(Pair.of(className, d)); in addLayouts()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DCompiledResourcesMonitor.java97 String className = getRClassName(project); in fileChanged() local
98 if (className == null) { in fileChanged()
107 if (packagePathMatches(relativeClassPath.toString(), className)) { in fileChanged()
108 loadAndParseRClass(project, className); in fileChanged()
183 String className = getRClassName(project); in projectOpenedWithWorkspace() local
185 if (className == null) { in projectOpenedWithWorkspace()
192 loadAndParseRClass(project, className); in projectOpenedWithWorkspace()
205 private void loadAndParseRClass(IProject project, String className) { in loadAndParseRClass() argument
217 Class<?> clazz = loader.loadClass(className); in loadAndParseRClass()
238 … AdtPlugin.log(e, "loadAndParseRClass failed to find class %1$s", className); //$NON-NLS-1$ in loadAndParseRClass()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DBaseProjectHelper.java238 public final static String testClassForManifest(IJavaProject javaProject, String className, in testClassForManifest() argument
242 String javaClassName = className.replaceAll("\\$", "\\."); //$NON-NLS-1$ //$NON-NLS-2$ in testClassForManifest()
250 return String.format("%1$s is abstract", className); in testClassForManifest()
263 className); in testClassForManifest()
268 className); in testClassForManifest()
316 return String.format("%1$s does not extend %2$s", className, superClassName); in testClassForManifest()
321 return String.format("Class %1$s does not exist", className); in testClassForManifest()
324 return String.format("%1$s: %2$s", className, e.getMessage()); in testClassForManifest()
353 public static boolean revealSource(IProject project, String className, int line) { in revealSource() argument
358 int pos = className.indexOf('$'); in revealSource()
[all …]
DXmlErrorHandler.java148 public void checkClass(Locator locator, String className, String superClassName, in checkClass() argument
155 className, superClassName, testVisibility); in checkClass()
169 marker.setAttribute(AdtConstants.MARKER_ATTR_CLASS, className); in checkClass()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintDeltaProcessor.java128 String className = mActiveFile.getName(); in gatherFiles() local
129 if (name.regionMatches(0, className, 0, className.length() - DOT_JAVA.length())) { in gatherFiles()
130 if (name.length() == className.length() - DOT_JAVA.length() + DOT_CLASS.length() in gatherFiles()
131 || name.charAt(className.length() - DOT_JAVA.length()) == '$') { in gatherFiles()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/
DUiViewElementNode.java152 String className = ((Element) xmlNode).getAttribute(ATTR_CLASS); in getIcon() local
153 if (className != null && className.length() > 0) { in getIcon()
154 int index = className.lastIndexOf('.'); in getIcon()
156 className = "customView"; //$NON-NLS-1$ in getIcon()
158 img = icons.getIcon(className); in getIcon()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DProjectCallback.java153 public Object loadView(String className, Class[] constructorSignature, in loadView() argument
158 if (className == null) { in loadView()
160 className = CLASS_VIEW; in loadView()
164 Class<?> clazz = mLoadedClasses.get(className); in loadView()
182 clazz = mLoader.loadClass(className); in loadView()
186 if (!className.equals(VIEW_FRAGMENT) && !className.equals(VIEW_INCLUDE)) { in loadView()
187 mMissingClasses.add(className); in loadView()
196 mLoadedClasses.put(className, clazz); in loadView()
206 appendToIdeLog(e, "%1$s failed to instantiate.", className); //$NON-NLS-1$ in loadView()
214 mBrokenClasses.add(className); in loadView()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
DSourceRevealer.java59 public boolean reveal(String applicationName, String className, int line) { in reveal() argument
67 int pos = className.indexOf('$'); in reveal()
69 className = className.substring(0, pos); in reveal()
77 IType result = javaProject.findType(className); in reveal()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiClassAttributeNode.java137 String className = sb.toString(); in getFilterExtension() local
140 IType type = mJavaProject.findType(className); in getFilterExtension()
315 String className = AndroidManifest.combinePackageAndClassName(
324 BaseProjectHelper.getJavaProject(getProject()), className,
391 String className = getTextWidget().getText().trim();
396 if (className.length() == 0) {
400 String fullClassName = className;
401 if (className.startsWith(".")) { //$NON-NLS-1$
402 fullClassName = packageName + className;
404 String[] segments = className.split(AdtConstants.RE_DOT);
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/
DTestSuiteReference.java38 TestSuiteReference(String className) { in TestSuiteReference() argument
39 mClassName = className; in TestSuiteReference()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
DAndroidManifestDescriptors.java263 final String className) { in overrideClassName() argument
264 overrideClassName(overrides, elementName, className, true); in overrideClassName()
282 final String className, in overrideClassName() argument
296 if (SdkConstants.CLASS_ACTIVITY.equals(className)) { in overrideClassName()
298 className, in overrideClassName()
305 } else if (SdkConstants.CLASS_BROADCASTRECEIVER.equals(className)) { in overrideClassName()
307 className, in overrideClassName()
314 } else if (SdkConstants.CLASS_INSTRUMENTATION.equals(className)) { in overrideClassName()
316 className, in overrideClassName()
325 className, in overrideClassName()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DJavaSourceRevealer.java55 public static boolean reveal(String applicationName, String className, int line) { in reveal() argument
58 if (revealer.reveal(applicationName, className, line)) { in reveal()
DISourceRevealer.java31 boolean reveal(String applicationName, String className, int line); in reveal() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceXmlTextAction.java126 String className = findClassName(document, file, selection.getOffset()); in run() local
127 if (className != null) { in run()
128 assert className.equals(className.trim()); in run()
129 IType type = findType(className, project); in run()
345 private IType findType(@NonNull String className, @NonNull IProject project) { in findType() argument
349 type = javaProject.findType(className); in findType()
363 type = javaProject.findType(className); in findType()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
DCustomViewDescriptorService.java121 String className, in updatedClassInfo() argument
289 String className = type.getElementName(); in findCustomDescriptors() local
290 Set<ResourceFile> resourceFiles = findAttrsFiles(library, className); in findCustomDescriptors()
300 ViewClassInfo classInfo = new ViewClassInfo(true, fqcn, className); in findCustomDescriptors()
324 private static Set<ResourceFile> findAttrsFiles(IProject library, String className) { in findAttrsFiles() argument
333 if (viewName.equals(className) in findAttrsFiles()
334 || (viewName.startsWith(className) in findAttrsFiles()
335 && viewName.equals(className + "_Layout"))) { //$NON-NLS-1$ in findAttrsFiles()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceXmlTextActionTest.java91 String className = in checkClassName() local
93 assertEquals(expectedClassName, className); in checkClassName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DSourceRevealer.java73 public boolean reveal(String applicationName, String className, int line) { in reveal() argument
76 return BaseProjectHelper.revealSource(project, className, line); in reveal()
182 String className = fqmn.substring(0, fqmn.lastIndexOf('.')); in revealMethod() local
186 type = project.findType(className); in revealMethod()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGraphicalEditorPart.java1908 String className = frame.getClassName(); in displayUserStackTrace() local
1909 if (className.equals( in displayUserStackTrace()
1930 String className = frame.getClassName(); in displayUserStackTrace() local
1932 addText(mErrorLabel, " at " + className + '.' + methodName + '('); in displayUserStackTrace()
1939 location, className, methodName, fileName, lineNumber); in displayUserStackTrace()
1949 String className = frame.getClassName(); in isInterestingFrame() local
1950 return !(className.startsWith("android.") //$NON-NLS-1$ in isInterestingFrame()
1951 || className.startsWith("com.android.") //$NON-NLS-1$ in isInterestingFrame()
1952 || className.startsWith("java.") //$NON-NLS-1$ in isInterestingFrame()
1953 || className.startsWith("javax.") //$NON-NLS-1$ in isInterestingFrame()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DApplicationInfoPage.java674 public static IStatus validateClass(String className) { in validateClass() argument
675 if (className == null || className.length() == 0) { in validateClass()
679 if (className.indexOf('.') != -1) { in validateClass()
683 return JavaConventions.validateJavaTypeName(className, JDK_15, JDK_15); in validateClass()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestEditor.java398 String className = marker.getAttribute(AdtConstants.MARKER_ATTR_CLASS, EMPTY); in processMarker() local
399 if (className == EMPTY) { in processMarker()
408 if (attr.getCurrentValue().equals(className)) { in processMarker()

12