Home
last modified time | relevance | path

Searched refs:modelAnalyzer (Results 1 – 24 of 24) sorted by relevance

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DResourceExpr.java60 private Map<String, ModelClass> getResourceToTypeMapping(ModelAnalyzer modelAnalyzer) { in getResourceToTypeMapping() argument
64 … 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()
81modelAnalyzer.findClass("android.view.animation.Interpolator", imports)); in getResourceToTypeMapping()
82 mResourceToTypeMapping.put("bool", modelAnalyzer.findClass(boolean.class)); in getResourceToTypeMapping()
[all …]
DInstanceOfExpr.java39 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
40 mType = modelAnalyzer.findClass(mTypeStr, getModel().getImports()); in resolveType()
41 return modelAnalyzer.loadPrimitive("boolean"); in resolveType()
DFieldAccessExpr.java199 public void updateExpr(ModelAnalyzer modelAnalyzer) { in updateExpr() argument
202 resolveType(modelAnalyzer); in updateExpr()
203 super.updateExpr(modelAnalyzer); in updateExpr()
210 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
213 return modelAnalyzer.findClass(Object.class); in resolveType()
228 return modelAnalyzer.findClass(Object.class); in resolveType()
256 return modelAnalyzer.findClass(Object.class); in resolveType()
DMathExpr.java37 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
42 return modelAnalyzer.findClass(String.class); in resolveType()
45 return modelAnalyzer.findCommonParentOf(getLeft().getResolvedType(), in resolveType()
DMethodCallExpr.java53 public void updateExpr(ModelAnalyzer modelAnalyzer) { in updateExpr() argument
56 resolveType(modelAnalyzer); in updateExpr()
57 super.updateExpr(modelAnalyzer); in updateExpr()
64 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
DArgListExpr.java44 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
45 return modelAnalyzer.findClass(Void.class); in resolveType()
DSymbolExpr.java40 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
41 return modelAnalyzer.findClass(mType); in resolveType()
DComparisonExpr.java37 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
38 return modelAnalyzer.loadPrimitive("boolean"); in resolveType()
DCastExpr.java34 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
35 return modelAnalyzer.findClass(mType, getModel().getImports()); in resolveType()
DIdentifierExpr.java62 protected ModelClass resolveType(final ModelAnalyzer modelAnalyzer) { in resolveType() argument
64 return modelAnalyzer.findClass(mUserDefinedType, getModel().getImports()); in resolveType()
DTernaryExpr.java49 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
50 return modelAnalyzer.findCommonParentOf(getIfTrue().getResolvedType(), in resolveType()
DExprModel.java292 final ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance();
293 updateExpressions(modelAnalyzer);
300 final Iterable<Expr> observables = filterObservables(modelAnalyzer);
313 final Iterable<Expr> nonObservableIds = filterNonObservableIds(modelAnalyzer);
417 private void updateExpressions(ModelAnalyzer modelAnalyzer) {
423 expr.updateExpr(modelAnalyzer);
448 private List<Expr> filterNonObservableIds(final ModelAnalyzer modelAnalyzer) {
461 private Iterable<Expr> filterObservables(final ModelAnalyzer modelAnalyzer) {
DGroupExpr.java30 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
DUnaryExpr.java37 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
DBitShiftExpr.java37 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
DBracketExpr.java39 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
DExpr.java322 abstract protected ModelClass resolveType(ModelAnalyzer modelAnalyzer); in resolveType() argument
614 public void updateExpr(ModelAnalyzer modelAnalyzer) { in updateExpr() argument
616 child.updateExpr(modelAnalyzer); in updateExpr()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DBinding.java80 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in resolveSetterCall() local
81 ModelClass viewStubProxy = modelAnalyzer. in resolveSetterCall()
83 mSetterCall = SetterStore.get(modelAnalyzer).getSetterCall(mName, in resolveSetterCall()
102 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in getListenerParameter() local
103 ModelClass objectParameter = modelAnalyzer.findClass(Object.class); in getListenerParameter()
106 ModelClass viewStubProxy = modelAnalyzer. in getListenerParameter()
108 setterCall = SetterStore.get(modelAnalyzer).getSetterCall(mName, in getListenerParameter()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprTest.java43 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
44 return modelAnalyzer.findClass(Integer.class); in resolveType()
72 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in testBadExpr()
73 return modelAnalyzer.findClass(Integer.class); in testBadExpr()
DExprModelTest.java60 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
61 return modelAnalyzer.findClass(Integer.class); in resolveType()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DModelClass.java176 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in isObservable() local
177 return modelAnalyzer.getObservableType().isAssignableFrom(this) || in isObservable()
178 modelAnalyzer.getObservableListType().isAssignableFrom(this) || in isObservable()
179 modelAnalyzer.getObservableMapType().isAssignableFrom(this); in isObservable()
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessMethodAdapters.java56 final ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in onHandleStep() local
57 Preconditions.checkNotNull(modelAnalyzer, "Model analyzer should be" in onHandleStep()
59 SetterStore store = SetterStore.get(modelAnalyzer); in onHandleStep()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java143 private SetterStore(ModelAnalyzer modelAnalyzer, IntermediateV1 store) { in SetterStore() argument
144 mClassAnalyzer = modelAnalyzer; in SetterStore()
148 public static SetterStore get(ModelAnalyzer modelAnalyzer) { in get() argument
150 sStore = load(modelAnalyzer); in get()
155 private static SetterStore load(ModelAnalyzer modelAnalyzer) { in load() argument
162 return new SetterStore(modelAnalyzer, store); in load()
1205 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in getParameterTypes() local
1207 parameters[i] = modelAnalyzer.findClass(paramTypeStrings[i], null); in getParameterTypes()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...