Home
last modified time | relevance | path

Searched refs:findClass (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DResourceExpr.java64 … mResourceToTypeMapping.put("anim", modelAnalyzer.findClass("android.view.animation.Animation", in getResourceToTypeMapping()
66 … mResourceToTypeMapping.put("animator", modelAnalyzer.findClass("android.animation.Animator", in getResourceToTypeMapping()
69 modelAnalyzer.findClass("android.content.res.ColorStateList", in getResourceToTypeMapping()
71 …mResourceToTypeMapping.put("drawable", modelAnalyzer.findClass("android.graphics.drawable.Drawable… in getResourceToTypeMapping()
74 modelAnalyzer.findClass("android.animation.StateListAnimator", in getResourceToTypeMapping()
76 … mResourceToTypeMapping.put("transition", modelAnalyzer.findClass("android.transition.Transition", in getResourceToTypeMapping()
78 … mResourceToTypeMapping.put("typedArray", modelAnalyzer.findClass("android.content.res.TypedArray", in getResourceToTypeMapping()
81 … modelAnalyzer.findClass("android.view.animation.Interpolator", imports)); in getResourceToTypeMapping()
82 mResourceToTypeMapping.put("bool", modelAnalyzer.findClass(boolean.class)); in getResourceToTypeMapping()
83 mResourceToTypeMapping.put("color", modelAnalyzer.findClass(int.class)); in getResourceToTypeMapping()
[all …]
DViewFieldExpr.java50 final ModelClass type = modelAnalyzer.findClass(mBindingTarget.getInterfaceType(), null); in resolveType()
52 return modelAnalyzer.findClass("android.databinding.ViewDataBinding", null); in resolveType()
DArgListExpr.java52 return modelAnalyzer.findClass(Void.class); in resolveType()
DSymbolExpr.java42 return modelAnalyzer.findClass(mType); in resolveType()
DTwoWayListenerExpr.java39 return modelAnalyzer.findClass(InverseBindingListener.class); in resolveType()
DInstanceOfExpr.java49 mType = modelAnalyzer.findClass(mTypeStr, getModel().getImports()); in resolveType()
DCastExpr.java36 return modelAnalyzer.findClass(mType, getModel().getImports()); in resolveType()
DIdentifierExpr.java67 return modelAnalyzer.findClass(mUserDefinedType, getModel().getImports()); in resolveType()
DBracketExpr.java104 ModelClass listType = ModelAnalyzer.getInstance().findClass(java.util.List.class). in generateCode()
DMathExpr.java43 return modelAnalyzer.findClass(String.class); in resolveType()
DFieldAccessExpr.java244 return modelAnalyzer.findClass(Object.class); in resolveType()
260 return modelAnalyzer.findClass(Object.class); in resolveType()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DModelAnalyzer.java216 public abstract ModelClass findClass(String className, Map<String, String> imports); in findClass() method in ModelAnalyzer
218 public abstract ModelClass findClass(Class classType); in findClass() method in ModelAnalyzer
226 final ModelClass modelClass = findClass(LIST_CLASS_NAMES[i], null); in getListTypes()
244 mStringType = findClass(STRING_CLASS_NAME, null); in getStringType()
251 mObjectType = findClass(OBJECT_CLASS_NAME, null); in getObjectType()
258 mObservableType = findClass(OBSERVABLE_CLASS_NAME, null); in getObservableType()
279 mViewBindingType = findClass(VIEW_DATA_BINDING, null); in getViewDataBindingType()
296 mViewStubType = findClass(VIEW_STUB_CLASS_NAME, null); in getViewStubType()
302 return findClass(className, null).erasure(); in loadClassErasure()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/
DSdkVersionTest.java36 … ModelClass view = ModelAnalyzer.getInstance().findClass("android.widget.TextView", null); in testApiVersionsFromResources()
47 ModelClass view = ModelAnalyzer.getInstance().findClass("android.view.View", null); in testNewApiMethod()
55 .findClass("android.databinding.tool.reflection.SdkVersionTest", null); in testCustomCode()
63 .findClass("android.widget.FrameLayout", null); in testSetForeground()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DBinding.java96 findClass("android.databinding.ViewStubProxy", null); in resolveSetterCall()
118 ModelClass objectParameter = modelAnalyzer.findClass(Object.class); in getListenerParameter()
123 findClass("android.databinding.ViewStubProxy", null); in getListenerParameter()
140 new ModelClass[] {modelAnalyzer.findClass(Object.class)}); in getListenerParameter()
234 ModelAnalyzer.getInstance().findClass(Object.class) in getParameterTypes()
283 ModelAnalyzer.getInstance().findClass(Object.class) in getParameterTypes()
DBindingTarget.java114 findClass(ModelAnalyzer.VIEW_DATA_BINDING, mModel.getImports()); in getResolvedType()
116 mResolvedClass = ModelAnalyzer.getInstance().findClass(mBundle.getFullClassName(), in getResolvedType()
DCompilerChef.java103 ModelClass versionCodes = ModelAnalyzer.getInstance().findClass( in writeDynamicUtil()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationAnalyzer.java88 public AnnotationClass findClass(String className, Map<String, String> imports) { in findClass() method in AnnotationAnalyzer
121 final AnnotationClass clazz = findClass(templateParameters.get(i), imports); in findClass()
207 public ModelClass findClass(Class classType) { in findClass() method in AnnotationAnalyzer
208 return findClass(classType.getCanonicalName(), null); in findClass()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
DJavaAnalyzer.java75 public ModelClass findClass(String className, Map<String, String> imports) { in findClass() method in JavaAnalyzer
87 JavaClass baseClass = (JavaClass) findClass( in findClass()
111 public ModelClass findClass(Class classType) { in findClass() method in JavaAnalyzer
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java66 ModelClass view1 = mClassAnalyzer.findClass(o1.mKey.viewType, null).erasure();
67 ModelClass view2 = mClassAnalyzer.findClass(o2.mKey.viewType, null).erasure();
96 .findClass(o1.mKey.parameterTypes[index1], null);
98 .findClass(o2.mKey.parameterTypes[index2], null);
583 ModelClass viewClass = mClassAnalyzer.findClass(adapter.viewType, null); in getMatchingMultiAttributeSetters()
614 mClassAnalyzer.findClass(parameterTypeStr, null)); in createMultiAttributeSetter()
668 .findClass(key.viewType, imports).erasure(); in getSetterCall()
673 .findClass(key.valueType, imports)); in getSetterCall()
729 .findClass(key.viewType, imports).erasure(); in getGetterCall()
734 .findClass(key.valueType, imports)); in getGetterCall()
[all …]
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DStubMethodAdapterTest.java124 protected Class<?> findClass(String name) throws ClassNotFoundException { in findClass() method in StubMethodAdapterTest.MyClassLoader
129 return super.findClass(name); in findClass()
DAsmAnalyzerTest.java105 ClassReader cr = mAa.findClass("mock_android.view.ViewGroup$LayoutParams", in testFindClass()
216 ClassReader cr = mAa.findClass("mock_android.widget.LinearLayout", zipClasses, keep); in testDependencyVisitor()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprTest.java45 return modelAnalyzer.findClass(Integer.class); in resolveType()
84 return modelAnalyzer.findClass(Integer.class); in testBadExpr()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DModuleClassLoader.java39 protected Class<?> findClass(String name) throws ClassNotFoundException { in findClass() method in ModuleClassLoader
/frameworks/base/include/android_runtime/
DAndroidRuntime.h65 static jclass findClass(JNIEnv* env, const char* className);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmAnalyzer.java211 ClassReader findClass(String className, Map<String, ClassReader> zipClasses, in findClass() method in AsmAnalyzer
246 findClass(class_name, zipClasses, inOutFound); in findGlobs()
279 findClass(super_name, zipClasses, inOutFound); in findClassesDerivingFrom()

12