Lines Matching refs:modelAnalyzer
19 import android.databinding.tool.reflection.ModelAnalyzer;
65 private Map<String, ModelClass> getResourceToTypeMapping(ModelAnalyzer modelAnalyzer) {
69 mResourceToTypeMapping.put("anim", modelAnalyzer.findClass("android.view.animation.Animation",
71 mResourceToTypeMapping.put("animator", modelAnalyzer.findClass("android.animation.Animator",
74 modelAnalyzer.findClass("android.content.res.ColorStateList",
76 mResourceToTypeMapping.put("drawable", modelAnalyzer.findClass("android.graphics.drawable.Drawable",
79 modelAnalyzer.findClass("android.animation.StateListAnimator",
81 mResourceToTypeMapping.put("transition", modelAnalyzer.findClass("android.transition.Transition",
83 mResourceToTypeMapping.put("typedArray", modelAnalyzer.findClass("android.content.res.TypedArray",
86 modelAnalyzer.findClass("android.view.animation.Interpolator", imports));
87 mResourceToTypeMapping.put("bool", modelAnalyzer.findClass(boolean.class));
88 mResourceToTypeMapping.put("color", modelAnalyzer.findClass(int.class));
89 mResourceToTypeMapping.put("dimenOffset", modelAnalyzer.findClass(int.class));
90 mResourceToTypeMapping.put("dimenSize", modelAnalyzer.findClass(int.class));
91 mResourceToTypeMapping.put("id", modelAnalyzer.findClass(int.class));
92 mResourceToTypeMapping.put("integer", modelAnalyzer.findClass(int.class));
93 mResourceToTypeMapping.put("layout", modelAnalyzer.findClass(int.class));
94 mResourceToTypeMapping.put("dimen", modelAnalyzer.findClass(float.class));
95 mResourceToTypeMapping.put("fraction", modelAnalyzer.findClass(float.class));
96 mResourceToTypeMapping.put("intArray", modelAnalyzer.findClass(int[].class));
97 mResourceToTypeMapping.put("string", modelAnalyzer.findClass(String.class));
98 mResourceToTypeMapping.put("stringArray", modelAnalyzer.findClass(String[].class));
104 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) {
106 modelAnalyzer);
113 return modelAnalyzer.findClass(int.class);
115 return modelAnalyzer.findClass(String.class);
118 return modelAnalyzer.findClass(mResourceType, getModel().getImports());