Home
last modified time | relevance | path

Searched refs:ClassName (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectionCompanionGenerator.java25 import com.squareup.javapoet.ClassName;
57 private static final ClassName R_CLASS_NAME = ClassName.get("android", "R");
62 private static final ClassName INSPECTION_COMPANION = ClassName.get(
68 private static final ClassName PROPERTY_MAPPER = ClassName.get(
74 private static final ClassName PROPERTY_READER = ClassName.get(
80 private static final ClassName SPARSE_ARRAY = ClassName.get("android.util", "SparseArray");
85 private static final ClassName INT_FLAG_MAPPING = ClassName.get(
428 @NonNull ClassName nodeClass) { in generateReadProperties()
464 private static ClassName generateClassName(@NonNull InspectableClassModel model) { in generateClassName()
465 final ClassName className = model.getClassName(); in generateClassName()
[all …]
DInspectableClassModel.java22 import com.squareup.javapoet.ClassName;
40 private final @NonNull ClassName mClassName;
46 public InspectableClassModel(@NonNull ClassName className) { in InspectableClassModel()
52 public ClassName getClassName() { in getClassName()
DPlatformInspectableProcessor.java23 import com.squareup.javapoet.ClassName;
127 return new InspectableClassModel(ClassName.get(classElement.get())); in processProperties()
/frameworks/base/packages/SettingsLib/search/processor-src/com/android/settingslib/search/
DIndexableProcessor.java19 import com.squareup.javapoet.ClassName;
80 final ClassName searchIndexableData = in process()
81 ClassName.get(SETTINGSLIB_SEARCH_PACKAGE, "SearchIndexableData"); in process()
85 ClassName.get(Set.class), in process()
152 ClassName.get(Collection.class), in process()
160 ClassName.get(SETTINGSLIB_SEARCH_PACKAGE, "SearchIndexableResources")) in process()
171 .superclass(ClassName.get(mPackage, baseClass.name)) in process()
179 .superclass(ClassName.get(mPackage, baseClass.name)) in process()
187 .superclass(ClassName.get(mPackage, baseClass.name)) in process()
195 .superclass(ClassName.get(mPackage, baseClass.name)) in process()
[all …]
/frameworks/base/tools/codegen/src/com/android/codegen/
DGenerators.kt99 +"value, $ClassName::single${AnnotationName}ToString" in ClassPrinter()
171 "public $ClassName(@$NonNull $ClassName orig)" { in generateCopyConstructor()
221 +" * A builder for {@link $ClassName}" in ClassPrinter()
244 ClassName = BuilderClass, in ClassPrinter()
482 if (!hasMethod(ClassName, Parcel)) { in generateParcelable()
488 "$visibility $ClassName(@$NonNull $Parcel in) {" { in generateParcelable()
606 "public static final @$NonNull $Creator<$ClassName> CREATOR" { in generateParcelable()
607 +"= new $Creator<$ClassName>()" in generateParcelable()
611 "public $ClassName[] newArray(int size)" { in generateParcelable()
612 +"return new $ClassName[size];" in generateParcelable()
[all …]
DClassInfo.kt16 val ClassName = classAst.nameAsString in <lambda>() constant
21 val ClassType = ClassName + genericArgs in <lambda>()
DClassPrinter.kt43 .find { "class $ClassName" in it }!! in <lambda>()
133 … FeatureFlag.AIDL -> fileInfo.mainClass.nameAsString == ClassName && FeatureFlag.PARCELABLE() in <lambda>()
197 if (name == ClassName) classAst.constructors else classAst.methods in <lambda>()
/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/
DInspectionCompanionGeneratorTest.java31 import com.squareup.javapoet.ClassName;
46 private static final ClassName TEST_CLASS_NAME =
47 ClassName.get("com.android.node", "TestNode");
60 ClassName.get("com.android.node", "Outer", "Inner")); in testNestedClass()
/frameworks/compile/slang/
Dslang_rs_reflection.h148 const std::string &ClassName, const char *SuperClassName,
165 void startTypeClass(const std::string &ClassName);
211 bool genScriptClass(const std::string &ClassName, std::string &ErrorMsg);
Dslang_rs_reflection.cpp531 bool RSReflectionJava::genScriptClass(const std::string &ClassName, in genScriptClass() argument
534 if (!startClass(AM_Public, false, ClassName, RS_SCRIPT_CLASS_SUPER_CLASS_NAME, in genScriptClass()
1613 const std::string ClassName = GetReduceResultTypeName(ResultType); in genExportReduceResultType() local
1617 mOut.indent() << "public static class " << ClassName; in genExportReduceResultType()
1746 startFunction(AM_Private, false, nullptr, ClassName, 1, "Allocation", "out"); in genExportReduceResultType()
1792 std::string ClassName = ET->getElementName(); in genTypeInstance() local
1793 if (addTypeNameForElement(ClassName)) { in genTypeInstance()
1794 mOut.indent() << RS_ELEM_PREFIX << ClassName << " = " << ClassName in genTypeInstance()
2349 std::string ClassName = ERT->getElementName(); in genTypeClass() local
2353 if (!startClass(AM_Public, false, ClassName, superClassName.c_str(), in genTypeClass()
[all …]