/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | ResourceExpr.java | 60 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() 81 … modelAnalyzer.findClass("android.view.animation.Interpolator", imports)); in getResourceToTypeMapping() 82 mResourceToTypeMapping.put("bool", modelAnalyzer.findClass(boolean.class)); in getResourceToTypeMapping() [all …]
|
D | ViewFieldExpr.java | 49 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 50 final ModelClass type = modelAnalyzer.findClass(mBindingTarget.getInterfaceType(), null); in resolveType() 52 return modelAnalyzer.findClass("android.databinding.ViewDataBinding", null); in resolveType()
|
D | InstanceOfExpr.java | 48 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 49 mType = modelAnalyzer.findClass(mTypeStr, getModel().getImports()); in resolveType() 50 return modelAnalyzer.loadPrimitive("boolean"); in resolveType()
|
D | MethodCallExpr.java | 53 public void updateExpr(ModelAnalyzer modelAnalyzer) { in updateExpr() argument 56 resolveType(modelAnalyzer); in updateExpr() 57 super.updateExpr(modelAnalyzer); in updateExpr() 84 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
|
D | ArgListExpr.java | 51 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 52 return modelAnalyzer.findClass(Void.class); in resolveType()
|
D | BuiltInVariableExpr.java | 41 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 42 ModelClass modelClass = super.resolveType(modelAnalyzer); in resolveType()
|
D | SymbolExpr.java | 41 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 42 return modelAnalyzer.findClass(mType); in resolveType()
|
D | MathExpr.java | 38 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 43 return modelAnalyzer.findClass(String.class); in resolveType() 46 return modelAnalyzer.findCommonParentOf(getLeft().getResolvedType(), in resolveType()
|
D | TwoWayListenerExpr.java | 38 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 39 return modelAnalyzer.findClass(InverseBindingListener.class); in resolveType()
|
D | ComparisonExpr.java | 38 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 39 return modelAnalyzer.loadPrimitive("boolean"); in resolveType()
|
D | CastExpr.java | 35 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 36 return modelAnalyzer.findClass(mType, getModel().getImports()); in resolveType()
|
D | FieldAccessExpr.java | 231 public void updateExpr(ModelAnalyzer modelAnalyzer) { in updateExpr() argument 234 resolveType(modelAnalyzer); in updateExpr() 235 super.updateExpr(modelAnalyzer); in updateExpr() 242 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 244 return modelAnalyzer.findClass(Object.class); in resolveType() 260 return modelAnalyzer.findClass(Object.class); in resolveType()
|
D | ExprModel.java | 306 final ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); 307 updateExpressions(modelAnalyzer); 310 final Iterable<Expr> observables = filterObservables(modelAnalyzer); 323 final Iterable<Expr> nonObservableIds = filterNonObservableIds(modelAnalyzer); 438 private void updateExpressions(ModelAnalyzer modelAnalyzer) { 444 expr.updateExpr(modelAnalyzer); 469 private List<Expr> filterNonObservableIds(final ModelAnalyzer modelAnalyzer) { 482 private Iterable<Expr> filterObservables(final ModelAnalyzer modelAnalyzer) {
|
D | IdentifierExpr.java | 65 protected ModelClass resolveType(final ModelAnalyzer modelAnalyzer) { in resolveType() argument 67 return modelAnalyzer.findClass(mUserDefinedType, getModel().getImports()); in resolveType()
|
D | TernaryExpr.java | 64 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument 72 return modelAnalyzer.findCommonParentOf(getIfTrue().getResolvedType(), in resolveType()
|
D | GroupExpr.java | 31 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
|
D | BitShiftExpr.java | 38 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
|
D | UnaryExpr.java | 53 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
|
D | ListenerExpr.java | 49 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in resolveType() argument
|
D | Expr.java | 344 abstract protected ModelClass resolveType(ModelAnalyzer modelAnalyzer); in resolveType() argument 644 public void updateExpr(ModelAnalyzer modelAnalyzer) { in updateExpr() argument 653 child.updateExpr(modelAnalyzer); in updateExpr()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
D | Binding.java | 94 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in resolveSetterCall() local 95 ModelClass viewStubProxy = modelAnalyzer. in resolveSetterCall() 97 mSetterCall = SetterStore.get(modelAnalyzer).getSetterCall(mName, in resolveSetterCall() 117 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in getListenerParameter() local 118 ModelClass objectParameter = modelAnalyzer.findClass(Object.class); in getListenerParameter() 119 SetterStore setterStore = SetterStore.get(modelAnalyzer); in getListenerParameter() 122 ModelClass viewStubProxy = modelAnalyzer. in getListenerParameter() 124 setterCall = SetterStore.get(modelAnalyzer).getSetterCall(name, in getListenerParameter() 140 new ModelClass[] {modelAnalyzer.findClass(Object.class)}); in getListenerParameter()
|
/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() 83 protected ModelClass resolveType(ModelAnalyzer modelAnalyzer) { in testBadExpr() 84 return modelAnalyzer.findClass(Integer.class); in testBadExpr()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
D | ModelClass.java | 180 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in isObservable() local 181 return modelAnalyzer.getObservableType().isAssignableFrom(this) || in isObservable() 182 modelAnalyzer.getObservableListType().isAssignableFrom(this) || in isObservable() 183 modelAnalyzer.getObservableMapType().isAssignableFrom(this); in isObservable()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ |
D | ProcessMethodAdapters.java | 60 final ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in onHandleStep() local 61 Preconditions.checkNotNull(modelAnalyzer, "Model analyzer should be" in onHandleStep() 63 SetterStore store = SetterStore.get(modelAnalyzer); in onHandleStep()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/ |
D | SetterStore.java | 146 private SetterStore(ModelAnalyzer modelAnalyzer, IntermediateV2 store) { in SetterStore() argument 147 mClassAnalyzer = modelAnalyzer; in SetterStore() 161 public static SetterStore get(ModelAnalyzer modelAnalyzer) { in get() argument 163 sStore = load(modelAnalyzer); in get() 168 private static SetterStore load(ModelAnalyzer modelAnalyzer) { in load() argument 175 return new SetterStore(modelAnalyzer, store); in load() 1522 final ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in toJava() local 1529 final String defaultValue = modelAnalyzer.getDefaultValue(paramType); in toJava() 1572 ModelAnalyzer modelAnalyzer = ModelAnalyzer.getInstance(); in getParameterTypes() local 1576 parameters[attrIndex++] = modelAnalyzer.findClass(paramTypeStrings[i], null); in getParameterTypes()
|