Searched refs:ModelMethod (Results 1 – 16 of 16) sorted by relevance
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
D | ModelClass.java | 248 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 …]
|
D | ModelMethod.java | 22 public abstract class ModelMethod { class 87 public boolean isBetterArgMatchThan(ModelMethod other, List<ModelClass> args) { in isBetterArgMatchThan()
|
D | TypeUtil.java | 49 abstract public String getDescription(ModelMethod modelMethod); in getDescription()
|
D | SdkUtil.java | 58 public static int getMinApi(ModelMethod modelMethod) { in getMinApi()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/ |
D | SdkVersionTest.java | 37 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/ |
D | ListenerExpr.java | 21 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()
|
D | FieldAccessExpr.java | 28 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()
|
D | MethodCallExpr.java | 27 import android.databinding.tool.reflection.ModelMethod; 93 ModelMethod method = target.getResolvedType().getMethod(mName, args, isStatic); in resolveType()
|
D | ExprModel.java | 23 import android.databinding.tool.reflection.ModelMethod; 634 ModelMethod listenerMethod) {
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/ |
D | JavaClass.java | 18 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()
|
D | JavaMethod.java | 19 import android.databinding.tool.reflection.ModelMethod; 27 public class JavaMethod extends ModelMethod {
|
D | JavaTypeUtil.java | 17 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/ |
D | AnnotationClass.java | 21 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()
|
D | AnnotationTypeUtil.java | 20 import android.databinding.tool.reflection.ModelMethod; 45 public String getDescription(ModelMethod modelMethod) { in getDescription()
|
D | AnnotationMethod.java | 20 import android.databinding.tool.reflection.ModelMethod; 38 class AnnotationMethod extends ModelMethod {
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/ |
D | SetterStore.java | 21 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 …]
|