/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | ResourceExpr.java | 65 private Map<String, ModelClass> getResourceToTypeMapping(ModelAnalyzer modelAnalyzer) { in getResourceToTypeMapping() argument 69 … mResourceToTypeMapping.put("anim", modelAnalyzer.findClass("android.view.animation.Animation", in getResourceToTypeMapping() 71 … mResourceToTypeMapping.put("animator", modelAnalyzer.findClass("android.animation.Animator", in getResourceToTypeMapping() 74 modelAnalyzer.findClass("android.content.res.ColorStateList", in getResourceToTypeMapping() 76 …mResourceToTypeMapping.put("drawable", modelAnalyzer.findClass("android.graphics.drawable.Drawable… in getResourceToTypeMapping() 79 modelAnalyzer.findClass("android.animation.StateListAnimator", in getResourceToTypeMapping() 81 … mResourceToTypeMapping.put("transition", modelAnalyzer.findClass("android.transition.Transition", in getResourceToTypeMapping() 83 … mResourceToTypeMapping.put("typedArray", modelAnalyzer.findClass("android.content.res.TypedArray", in getResourceToTypeMapping() 86 … modelAnalyzer.findClass("android.view.animation.Interpolator", imports)); in getResourceToTypeMapping() 87 mResourceToTypeMapping.put("bool", modelAnalyzer.findClass(boolean.class)); in getResourceToTypeMapping() [all …]
|
D | ViewFieldExpr.java | 43 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 44 final ModelClass type = modelAnalyzer.findClass(mBindingTarget.getInterfaceType(), null); in resolveType() 46 return modelAnalyzer.findClass(ModelAnalyzer.VIEW_DATA_BINDING, null); in resolveType()
|
D | InstanceOfExpr.java | 53 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 54 mType = modelAnalyzer.findClass(mTypeStr, getModel().getImports()); in resolveType() 55 return modelAnalyzer.loadPrimitive("boolean"); in resolveType()
|
D | ArgListExpr.java | 56 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 57 return modelAnalyzer.findClass(Void.class); in resolveType()
|
D | TwoWayListenerExpr.java | 38 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 39 return modelAnalyzer.findClass(InverseBindingListener.class); in resolveType()
|
D | BuiltInVariableExpr.java | 41 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 42 ModelClass modelClass = super.resolveType(modelAnalyzer); in resolveType()
|
D | ComparisonExpr.java | 38 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 39 return modelAnalyzer.loadPrimitive("boolean"); in resolveType()
|
D | MethodReferenceExpr.java | 32 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 33 return modelAnalyzer.findClass(Object.class); in resolveType()
|
D | SymbolExpr.java | 42 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 43 return modelAnalyzer.findClass(mType); in resolveType()
|
D | MethodCallExpr.java | 57 public void updateExpr(ModelAnalyzer modelAnalyzer) { in updateExpr() argument 60 resolveType(modelAnalyzer); in updateExpr() 61 super.updateExpr(modelAnalyzer); in updateExpr() 123 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
|
D | MethodBaseExpr.java | 144 public void updateExpr(ModelAnalyzer modelAnalyzer) { in updateExpr() argument 147 resolveType(modelAnalyzer); in updateExpr() 148 super.updateExpr(modelAnalyzer); in updateExpr()
|
D | MathExpr.java | 43 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 48 return modelAnalyzer.findClass(String.class); in resolveType() 51 return modelAnalyzer.findCommonParentOf(getLeft().getResolvedType(), in resolveType()
|
D | CastExpr.java | 35 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 36 return modelAnalyzer.findClass(mType, getModel().getImports()); in resolveType()
|
D | IdentifierExpr.java | 67 protected ModelClass resolveType(final ModelAnalyzer modelAnalyzer) { in resolveType() argument 69 return modelAnalyzer.findClass(mUserDefinedType, getModel().getImports()); in resolveType()
|
D | FieldAssignmentExpr.java | 53 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 54 return modelAnalyzer.findClass(void.class); in resolveType()
|
D | ExprModel.java | 355 final ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); 356 updateExpressions(modelAnalyzer); 359 final Iterable<Expr> observables = filterObservables(modelAnalyzer); 372 final Iterable<Expr> nonObservableIds = filterNonObservableIds(modelAnalyzer); 489 private void updateExpressions(ModelAnalyzer modelAnalyzer) { 495 expr.updateExpr(modelAnalyzer); 520 private List<Expr> filterNonObservableIds(final ModelAnalyzer modelAnalyzer) { 533 private Iterable<Expr> filterObservables(final ModelAnalyzer modelAnalyzer) {
|
D | TernaryExpr.java | 66 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 74 return modelAnalyzer.findCommonParentOf(getIfTrue().getResolvedType(), in resolveType()
|
D | FieldAccessExpr.java | 145 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 147 return modelAnalyzer.findClass(Object.class); in resolveType() 163 return modelAnalyzer.findClass(Object.class); in resolveType()
|
D | BitShiftExpr.java | 38 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
|
D | CallbackArgExpr.java | 59 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
D | Binding.java | 124 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in resolveSetterCall() local 125 ModelClass viewStubProxy = modelAnalyzer. in resolveSetterCall() 127 mSetterCall = SetterStore.get(modelAnalyzer).getSetterCall(mName, in resolveSetterCall() 149 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in getListenerParameter() local 150 ModelClass objectParameter = modelAnalyzer.findClass(Object.class); in getListenerParameter() 151 SetterStore setterStore = SetterStore.get(modelAnalyzer); in getListenerParameter() 154 ModelClass viewStubProxy = modelAnalyzer. in getListenerParameter() 156 setterCall = SetterStore.get(modelAnalyzer).getSetterCall(name, in getListenerParameter() 172 new ModelClass[] {modelAnalyzer.findClass(Object.class)}); in getListenerParameter()
|
D | InverseBinding.java | 59 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in InverseBinding() local 60 ModelClass type = modelAnalyzer.findClass(getGetterCall().getGetterType(), null); in InverseBinding()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/ |
D | ExprTest.java | 44 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 45 return modelAnalyzer.findClass(Integer.class); in resolveType() 88 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in testBadExpr() 89 return modelAnalyzer.findClass(Integer.class); in testBadExpr()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
D | InjectedMethod.java | 58 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in getParameterTypes() local 60 mParameterTypes[i] = modelAnalyzer.findClass(mParameterTypeNames[i], null); in getParameterTypes()
|
D | ModelClass.java | 182 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in isObservable() local 183 return modelAnalyzer.getObservableType().isAssignableFrom(this) || in isObservable() 184 modelAnalyzer.getObservableListType().isAssignableFrom(this) || in isObservable() 185 modelAnalyzer.getObservableMapType().isAssignableFrom(this); in isObservable()
|