Home
last modified time | relevance | path

Searched refs:parameterTypes (Results 1 – 12 of 12) sorted by relevance

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DModelMethod.java72 ModelClass[] parameterTypes = getParameterTypes(); in acceptsArguments() local
73 if ((!isVarArgs && args.size() != parameterTypes.length) || in acceptsArguments()
74 (isVarArgs && args.size() < parameterTypes.length - 1)) { in acceptsArguments()
79 ModelClass parameterType = getParameter(i, parameterTypes); in acceptsArguments()
93 final ModelClass[] parameterTypes = getParameterTypes(); in isBetterArgMatchThan() local
97 final ModelClass thisParameter = getParameter(i, parameterTypes); in isBetterArgMatchThan()
114 private ModelClass getParameter(int index, ModelClass[] parameterTypes) { in getParameter() argument
115 int normalParamCount = isVarArgs() ? parameterTypes.length - 1 : parameterTypes.length; in getParameter()
117 return parameterTypes[index]; in getParameter()
119 return parameterTypes[parameterTypes.length - 1].getComponentType(); in getParameter()
DModelClass.java514 ModelClass[] parameterTypes = method.getParameterTypes(); in findSetter() local
515 if (parameterTypes != null && parameterTypes.length == 1 && in findSetter()
516 parameterTypes[0].equals(param) && in findSetter()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
DJavaMethod.java42 Class[] parameterTypes = mMethod.getParameterTypes(); in getParameterTypes() local
43 ModelClass[] parameterClasses = new ModelClass[parameterTypes.length]; in getParameterTypes()
44 for (int i = 0; i < parameterTypes.length; i++) { in getParameterTypes()
45 parameterClasses[i] = new JavaClass(parameterTypes[i]); in getParameterTypes()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DLambdaExpr.java138 final ModelClass[] parameterTypes = method.getParameterTypes(); in setup() local
140 if (parameterTypes.length == args.size()) { in setup()
141 for (int i = 0; i < parameterTypes.length; i++) { in setup()
142 args.get(i).setClassFromCallback(parameterTypes[i]); in setup()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
DCallbackWrapperWriter.kt25 …method.parameterTypes.withIndex().map { "${it.value.toJavaCode()} ${CallbackWrapper.ARG_PREFIX}${i… in argsWithTypes()
28 …method.parameterTypes.withIndex().map { "${CallbackWrapper.ARG_PREFIX}${it.index}" }.joinToString(… in args()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java232 java.lang.Class[] parameterTypes = constructor.getParameterTypes(); in hasValidConstructor() local
233 if (parameterTypes.length == 0 || in hasValidConstructor()
234 (parameterTypes.length == 1 && parameterTypes[0] == String.class)) { in hasValidConstructor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
DEventBus.java765 Class<?>[] parameterTypes = m.getParameterTypes(); in registerSubscriber() local
767 if (isValidEventBusHandlerMethod(m, parameterTypes, isInterprocessEvent)) { in registerSubscriber()
768 Class<? extends Event> eventType = (Class<? extends Event>) parameterTypes[0]; in registerSubscriber()
796 " event: " + parameterTypes[0].getSimpleName() + in registerSubscriber()
943 private boolean isValidEventBusHandlerMethod(Method method, Class<?>[] parameterTypes, in isValidEventBusHandlerMethod() argument
949 parameterTypes.length == 1) { in isValidEventBusHandlerMethod()
950 if (EventBus.InterprocessEvent.class.isAssignableFrom(parameterTypes[0]) && in isValidEventBusHandlerMethod()
954 } else if (EventBus.Event.class.isAssignableFrom(parameterTypes[0]) && in isValidEventBusHandlerMethod()
960 if (!EventBus.Event.class.isAssignableFrom(parameterTypes[0])) { in isValidEventBusHandlerMethod()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationMethod.java99 ModelClass[] parameterTypes = new ModelClass[parameters.size()]; in getParameterTypes() local
101 parameterTypes[i] = new AnnotationClass(parameters.get(i)); in getParameterTypes()
103 return parameterTypes; in getParameterTypes()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java96 .findClass(o1.mKey.parameterTypes[index1], null);
98 .findClass(o2.mKey.parameterTypes[index2], null);
612 final String parameterTypeStr = adapter.parameterTypes[index]; in createMultiAttributeSetter()
818 ModelClass[] parameterTypes = method.getParameterTypes(); in getBestSetter() local
819 ModelClass param = parameterTypes[0]; in getBestSetter()
1063 public final String[] parameterTypes; field in SetterStore.MultiValueAdapterKey
1078 this.parameterTypes = new String[parameters.size() - argStart]; in MultiValueAdapterKey()
1082 this.parameterTypes[i] = getQualifiedName(typeMirror); in MultiValueAdapterKey()
1101 final String thisParameter = parameterTypes[i]; in equals()
1102 final String thatParameter = that.parameterTypes[thatIndex]; in equals()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java175 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod() argument
177 return owner == null ? null : owner.getMethod(name, parameterTypes); in getMethod()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java272 private static Method findMethod(Object instance, String name, Class<?>... parameterTypes) in findMethod() argument
276 Method method = clazz.getDeclaredMethod(name, parameterTypes); in findMethod()
290 Arrays.asList(parameterTypes) + " not found in " + instance.getClass()); in findMethod()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...