/build/tools/apicheck/src/com/android/apicheck/ |
D | ClassInfo.java | 126 public boolean isConsistent(ClassInfo cl) { in isConsistent() argument 127 cl.mExistsInBoth = true; in isConsistent() 131 if (isInterface() != cl.isInterface()) { in isConsistent() 132 Errors.error(Errors.CHANGED_CLASS, cl.position(), in isConsistent() 133 "Class " + cl.qualifiedName() in isConsistent() 139 for (ClassInfo c = cl; c != null && !found; c = c.mSuperClass) { in isConsistent() 143 Errors.error(Errors.REMOVED_INTERFACE, cl.position(), in isConsistent() 147 for (String iface : cl.mInterfaceNames) { in isConsistent() 149 Errors.error(Errors.ADDED_INTERFACE, cl.position(), in isConsistent() 157 if (cl.mMethods.containsKey(mInfo.getHashableName())) { in isConsistent() [all …]
|
D | ApiInfo.java | 73 for (ClassInfo cl: pInfo.allClasses().values()) { in addPackage() 74 mAllClasses.put(cl.qualifiedName(), cl); in addPackage() local 79 for (ClassInfo cl: mAllClasses.values()) { in resolveSuperclasses() 81 if (!cl.qualifiedName().equals("java.lang.Object")) { in resolveSuperclasses() 82 String scName = cl.superclassName(); in resolveSuperclasses() 88 cl.setSuperClass(superclass); in resolveSuperclasses()
|
D | PackageInfo.java | 33 public void addClass(ClassInfo cl) { in addClass() argument 34 mClasses.put(cl.name() , cl); in addClass() local
|
/build/tools/droiddoc/src/ |
D | Stubs.java | 48 for (ClassInfo cl: all) { in writeStubs() 49 if (cl.checkLevel() && cl.isIncluded()) { in writeStubs() 50 cantStripThis(cl, notStrippable, "0:0"); in writeStubs() 56 for (ClassInfo cl: notStrippable) { in writeStubs() 57 if (!cl.isHidden()) { in writeStubs() 58 MethodInfo[] methods = cl.selfMethods(); in writeStubs() 69 + cl.qualifiedName() + "." + m.name() in writeStubs() 76 "Method " + cl.qualifiedName() + "." + m.name() in writeStubs() 88 + cl.qualifiedName() + "." + m.name() + "()"); in writeStubs() 95 methods = cl.annotationElements(); in writeStubs() [all …]
|
D | Hierarchy.java | 29 for (ClassInfo cl: classes) { in makeHierarchy() 30 String name = cl.qualifiedName(); in makeHierarchy() 38 ClassInfo superclass = cl.superclass(); in makeHierarchy() 98 private static boolean exists(ClassInfo cl) in exists() argument 100 return cl != null && !cl.isHidden() && cl.isIncluded(); in exists() 112 ClassInfo cl = Converter.obtainClass(name); in recurse() local 114 hdf.setValue("class.label", cl.name()); in recurse() 115 hdf.setValue("class.qualified", cl.qualifiedName()); in recurse() 116 if (cl.checkLevel()) { in recurse() 117 hdf.setValue("class.link", cl.htmlPage()); in recurse() [all …]
|
D | ClassInfo.java | 39 ClassDoc cl, in ClassInfo() argument 50 mClass = cl; in ClassInfo() 238 ClassInfo cl = containingClass(); in typeVariables() local 239 while (cl != null) { in typeVariables() 240 TypeInfo[] types = cl.asTypeInfo().typeArguments(); in typeVariables() 244 cl = cl.containingClass(); in typeVariables() 249 private static void gatherHiddenInterfaces(ClassInfo cl, HashSet<ClassInfo> interfaces) { in gatherHiddenInterfaces() argument 250 for (ClassInfo iface: cl.mRealInterfaces) { in gatherHiddenInterfaces() 432 private static void addFields(ClassInfo cl, TreeMap<String,FieldInfo> all) in addFields() argument 434 FieldInfo[] fields = cl.fields(); in addFields() [all …]
|
D | TodoFile.java | 75 for (ClassInfo cl: classes) { in writeTodoFile() 76 if (cl.isHidden()) { in writeTodoFile() 86 if (!areTagsUseful(cl.inlineTags())) { in writeTodoFile() 87 setHDF(data, base + errors, cl.position(), "<class comment>", MISSING); in writeTodoFile() 92 for (MethodInfo m: cl.constructors()) { in writeTodoFile() 107 for (MethodInfo m: cl.selfMethods()) { in writeTodoFile() 123 for (FieldInfo f: cl.enumConstants()) { in writeTodoFile() 137 for (FieldInfo f: cl.selfFields()) { in writeTodoFile() 152 data.setValue(classBase + ".qualified", cl.qualifiedName()); in writeTodoFile() 158 PackageInfo pkg = cl.containingPackage(); in writeTodoFile()
|
D | DroidDoc.java | 555 for (ClassInfo cl: classes) { in makePackageHDF() 556 PackageInfo pkg = cl.containingPackage(); in makePackageHDF() 597 for (ClassInfo cl : classesToCheck) { in makePackageHDF() 598 if (!cl.isHidden()) { in makePackageHDF() 672 for (ClassInfo cl: classes) { in writeLists() 673 if (cl.isHidden()) { in writeLists() 676 sorted.put(cl.qualifiedName(), cl); in writeLists() local 677 PackageInfo pkg = cl.containingPackage(); in writeLists() 699 ClassInfo cl = (ClassInfo)o; in writeLists() local 700 data.setValue("docs.pages." + i + ".link" , cl.htmlPage()); in writeLists() [all …]
|
D | Proofread.java | 145 public static void writeClass(String filename, ClassInfo cl) in writeClass() argument 152 writeTagList(cl.inlineTags()); in writeClass() 155 for (FieldInfo f: cl.enumConstants()) { in writeClass() 161 for (FieldInfo f: cl.selfFields()) { in writeClass() 167 for (MethodInfo m: cl.constructors()) { in writeClass() 173 for (MethodInfo m: cl.selfMethods()) { in writeClass()
|
D | NavTree.java | 63 for (ClassInfo cl: classes) { in addClassNodes() 64 if (cl.checkLevel()) { in addClassNodes() 65 children.add(new Node(cl.name(), cl.htmlPage(), null, cl.getSince())); in addClassNodes()
|
D | TypeInfo.java | 26 ClassInfo cl) in TypeInfo() argument 32 mClass = cl; in TypeInfo() 155 ClassInfo cl = asClassInfo(); in makeHDFRecursive() local 160 else if (!isPrimitive() && cl != null && cl.isIncluded()) { in makeHDFRecursive() 161 data.setValue(base + ".link", cl.htmlPage()); in makeHDFRecursive() 162 data.setValue(base + ".since", cl.getSince()); in makeHDFRecursive()
|
D | LinkReference.java | 232 ClassInfo cl = null; in parse() local 234 cl = (ClassInfo)base; in parse() 239 if (cl != null) { in parse() 240 result.classInfo = cl; in parse() 244 if (cl != null) { in parse() 245 result.classInfo = cl.extendedFindClass(ref); in parse() 247 result.classInfo = cl.findClass(ref); in parse() 250 result.classInfo = cl.findInnerClass(ref); in parse()
|
D | Converter.java | 48 initClass(clni.c, clni.cl); in makeInfo() 49 classesNeedingInit2.add(clni.cl); in makeInfo() 52 for (ClassInfo cl: classesNeedingInit2) { in makeInfo() 53 cl.init2(); in makeInfo() 72 private static void initClass(ClassDoc c, ClassInfo cl) in initClass() argument 80 cl.init(Converter.obtainType(c), in initClass() 95 cl.setHiddenMethods(Converter.getHiddenMethods(c.methods(false))); in initClass() 96 … cl.setNonWrittenConstructors(Converter.convertNonWrittenConstructors(c.constructors(false))); in initClass() 97 …cl.init3(Converter.convertTypes(c.typeParameters()), Converter.convertClasses(c.innerClasses(false… in initClass() 224 ClassNeedingInit(ClassDoc c, ClassInfo cl) in ClassNeedingInit() argument [all …]
|
D | PackageInfo.java | 102 for (ClassInfo cl: classes) { in filterHidden() 103 if (!cl.isHidden()) { in filterHidden() 104 out.add(cl); in filterHidden()
|
D | MethodInfo.java | 408 ClassInfo cl = all[i]; in throwsTags() local 409 if (documented == null || !inList(cl, documented)) { in throwsTags() 411 cl.qualifiedName(), cl, "", in throwsTags() 590 ClassInfo cl = containingClass(); in typeVariables() local 591 while (cl != null) { in typeVariables() 592 TypeInfo[] types = cl.asTypeInfo().typeArguments(); in typeVariables() 596 cl = cl.containingClass(); in typeVariables()
|
D | AttributeInfo.java | 37 public AttributeInfo(ClassInfo cl, FieldInfo f) { in AttributeInfo() argument 38 mClass = cl; in AttributeInfo()
|
/build/tools/droiddoc/templates/ |
D | hierarchy.cs | 26 <?cs each:cl = classes ?> 28 <?cs loop:x=#0,cl.indent,#1 ?><td class="jd-hierarchy-spacer"></td><?cs /loop ?> 30 <?cs if:cl.exists ?> 31 <?cs call:type_link(cl.class) ?> 33 <?cs var:cl.value ?> 37 <?cs each:iface = cl.interfaces ?> 47 <?cs call:hierarchy_list(cl.derived) ?>
|
D | todo.cs | 69 <?cs each:cl=classes ?> 71 <td><a href="#class_<?cs var:cl.qualified ?>"><?cs var:cl.qualified ?></a></td> 72 <td><?cs var:cl.errorCount ?></td> 73 <td><?cs var:cl.percentGood ?></td> 74 <td><?cs var:cl.totalCount ?></td> 81 <?cs each:cl=classes ?> 82 <h3><a name="class_<?cs var:cl.qualified ?>"><?cs var:cl.qualified ?></a></h3> 83 <p>Errors: <?cs var:cl.errorCount ?><br/> 84 Total: <?cs var:cl.totalCount ?><br/> 85 Percent Good: <?cs var:cl.percentGood ?></p> [all …]
|
D | class.cs | 13 <?cs each:cl=class.inherited ?> 14 <?cs if:subcount(cl.methods) ?> 17 <?cs if:subcount(cl.constants) ?> 20 <?cs if:subcount(cl.fields) ?> 23 <?cs if:subcount(cl.attrs) ?> 241 <?cs each:cl=class.inners ?> 244 <?cs var:cl.scope ?> 245 <?cs var:cl.static ?> 246 <?cs var:cl.final ?> 247 <?cs var:cl.abstract ?> [all …]
|
D | classes.cs | 24 <?cs each:cl = letter ?> 26 <td class="jd-linkcol"><?cs call:type_link(cl.type) ?></td> 27 <td class="jd-descrcol" width="100%"><?cs call:short_descr(cl) ?> </td>
|
D | macros.cs | 196 each:cl=classes ?> 198 <td class="jd-linkcol"><?cs call:type_link(cl.type) ?></td> 199 <td class="jd-descrcol" width="100%"><?cs call:short_descr(cl) ?> </td> 210 each:cl=classes ?> 211 <li class="api apilevel-<?cs var:cl.type.since ?>"><?cs call:type_link(cl.type) ?></li><?cs 223 each:cl=classes ?> 224 ….label?>selected <?cs /if ?>api apilevel-<?cs var:cl.since ?>"><?cs call:type_link(cl) ?></li><?cs 253 each:cl=classes ?> 254 <?cs call:type_link(cl.type) ?><?cs if:!last(cl) ?>,<?cs /if ?><?cs
|