Home
last modified time | relevance | path

Searched refs:ModelMethod (Results 1 – 16 of 16) sorted by relevance

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DModelClass.java248 public ModelMethod[] getMethods(String name, List<ModelClass> args, boolean staticOnly) { in getMethods()
249 ModelMethod[] methods = getDeclaredMethods(); in getMethods()
250 ArrayList<ModelMethod> matching = new ArrayList<ModelMethod>(); in getMethods()
251 for (ModelMethod method : methods) { in getMethods()
257 return matching.toArray(new ModelMethod[matching.size()]); in getMethods()
267 public ModelMethod[] getMethods(String name, int numParameters) { in getMethods()
268 ModelMethod[] methods = getDeclaredMethods(); in getMethods()
269 ArrayList<ModelMethod> matching = new ArrayList<ModelMethod>(); in getMethods()
270 for (ModelMethod method : methods) { in getMethods()
277 return matching.toArray(new ModelMethod[matching.size()]); in getMethods()
[all …]
DModelMethod.java22 public abstract class ModelMethod { class
87 public boolean isBetterArgMatchThan(ModelMethod other, List<ModelClass> args) { in isBetterArgMatchThan()
DTypeUtil.java49 abstract public String getDescription(ModelMethod modelMethod); in getDescription()
DSdkUtil.java58 public static int getMinApi(ModelMethod modelMethod) { in getMinApi()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/
DSdkVersionTest.java37 ModelMethod isSuggestionsEnabled = view.getMethods("isSuggestionsEnabled", 0)[0]; in testApiVersionsFromResources()
48 ModelMethod setElevation = view.getMethods("setElevation", 1)[0]; in testNewApiMethod()
56 ModelMethod setElevation = view.getMethods("testCustomCode", 0)[0]; in testCustomCode()
64 ModelMethod setForeground = view.getMethods("setForeground", 1)[0]; in testSetForeground()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DListenerExpr.java21 import android.databinding.tool.reflection.ModelMethod;
39 private final ModelMethod mMethod;
41 ListenerExpr(Expr expr, String name, ModelClass listenerType, ModelMethod method) { in ListenerExpr()
53 public ModelMethod getMethod() { in getMethod()
DFieldAccessExpr.java28 import android.databinding.tool.reflection.ModelMethod;
129 List<ModelMethod> abstractMethods = listener.getAbstractMethods(); in resolveListeners()
142 final ModelMethod listenerMethod = abstractMethods.get(0); in resolveListeners()
145 List<ModelMethod> methods = childType.findMethods(mName, isStatic); in resolveListeners()
149 for (ModelMethod method : methods) { in resolveListeners()
181 private boolean acceptsParameters(ModelMethod method, ModelClass[] listenerParameters) { in acceptsParameters()
DMethodCallExpr.java27 import android.databinding.tool.reflection.ModelMethod;
93 ModelMethod method = target.getResolvedType().getMethod(mName, args, isStatic); in resolveType()
DExprModel.java23 import android.databinding.tool.reflection.ModelMethod;
634 ModelMethod listenerMethod) {
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
DJavaClass.java18 import android.databinding.tool.reflection.ModelMethod;
242 protected ModelMethod[] getDeclaredMethods() { in getDeclaredMethods()
245 return new ModelMethod[0]; in getDeclaredMethods()
247 ModelMethod[] classMethods = new ModelMethod[methods.length]; in getDeclaredMethods()
DJavaMethod.java19 import android.databinding.tool.reflection.ModelMethod;
27 public class JavaMethod extends ModelMethod {
DJavaTypeUtil.java17 import android.databinding.tool.reflection.ModelMethod;
32 public String getDescription(ModelMethod modelMethod) { in getDescription()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationClass.java21 import android.databinding.tool.reflection.ModelMethod;
75 for (ModelMethod method : getMethods("get", 1)) { in getComponentType()
297 public ModelMethod[] getDeclaredMethods() { in getDeclaredMethods()
298 final ModelMethod[] declaredMethods; in getDeclaredMethods()
305 declaredMethods = new ModelMethod[methods.size()]; in getDeclaredMethods()
310 declaredMethods = new ModelMethod[0]; in getDeclaredMethods()
DAnnotationTypeUtil.java20 import android.databinding.tool.reflection.ModelMethod;
45 public String getDescription(ModelMethod modelMethod) { in getDescription()
DAnnotationMethod.java20 import android.databinding.tool.reflection.ModelMethod;
38 class AnnotationMethod extends ModelMethod {
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java21 import android.databinding.tool.reflection.ModelMethod;
123 int type1ConversionLevel = ModelMethod
125 int type2ConversionLevel = ModelMethod
617 if (ModelMethod.isBoxingConversion(parameterType, attributeType)) { in createMultiAttributeSetter()
620 } else if (ModelMethod.isImplicitConversion(attributeType, parameterType)) { in createMultiAttributeSetter()
655 ModelMethod bestSetterMethod = getBestSetter(viewType, valueType, attribute, imports); in getSetterCall()
786 private ModelMethod getBestSetter(ModelClass viewType, ModelClass argumentType, in getBestSetter()
810 ModelMethod bestMethod = null; in getBestSetter()
815 ModelMethod[] methods = viewType.getMethods(name, 1); in getBestSetter()
817 for (ModelMethod method : methods) { in getBestSetter()
[all …]