Lines Matching refs:viewType
66 ModelClass view1 = mClassAnalyzer.findClass(o1.mKey.viewType, null).erasure();
67 ModelClass view2 = mClassAnalyzer.findClass(o2.mKey.viewType, null).erasure();
219 TypeMirror viewType = eraseType(processingEnv, parameters.get(viewIndex).asType());
220 String view = getQualifiedName(viewType);
245 TypeMirror viewType = eraseType(processingEnv, parameters.get(viewIndex).asType());
246 String view = getQualifiedName(viewType);
461 ModelClass viewType, ModelClass[] valueType) {
464 if (viewType != null && viewType.isGeneric()) {
465 List<ModelClass> viewGenerics = viewType.getTypeArguments();
469 viewType = viewType.erasure();
472 viewType, valueType);
577 ModelClass viewType, ModelClass[] valueType) {
583 ModelClass viewClass = mClassAnalyzer.findClass(adapter.viewType, null);
587 if (!viewClass.isAssignableFrom(viewType)) {
647 public SetterCall getSetterCall(String attribute, ModelClass viewType,
652 if (viewType != null) {
653 viewType = viewType.erasure();
655 ModelMethod bestSetterMethod = getBestSetter(viewType, valueType, attribute, imports);
668 .findClass(key.viewType, imports).erasure();
669 if (adapterViewType != null && adapterViewType.isAssignableFrom(viewType)) {
692 L.e(e, "Unknown class: %s", key.viewType);
703 if (viewType != null && !viewType.isViewDataBinding()) {
712 public BindingGetterCall getGetterCall(String attribute, ModelClass viewType,
714 if (viewType == null) {
716 } else if (viewType.isViewDataBinding()) {
721 viewType = viewType.erasure();
723 InverseMethod bestMethod = getBestGetter(viewType, valueType, attribute, imports);
729 .findClass(key.viewType, imports).erasure();
730 if (adapterViewType != null && adapterViewType.isAssignableFrom(viewType)) {
738 boolean isBetterView = bestMethod.viewType == null ||
739 bestMethod.viewType.isAssignableFrom(adapterViewType);
743 bestMethod.viewType = adapterViewType;
749 inverseDescription.event, viewType, listenerType, imports);
754 viewType, new ModelClass[] {listenerType});
758 viewType.getCanonicalName());
774 L.e(e, "Unknown class: %s", key.viewType);
782 public boolean isUntaggable(String viewType) {
783 return mStore.untaggableTypes.containsKey(viewType);
786 private ModelMethod getBestSetter(ModelClass viewType, ModelClass argumentType,
788 if (viewType.isGeneric()) {
789 argumentType = eraseType(argumentType, viewType.getTypeArguments());
790 viewType = viewType.erasure();
798 if (renamedViewType.erasure().isAssignableFrom(viewType)) {
815 ModelMethod[] methods = viewType.getMethods(name, 1);
830 private InverseMethod getBestGetter(ModelClass viewType, ModelClass valueType,
832 if (viewType.isGeneric()) {
834 valueType = eraseType(valueType, viewType.getTypeArguments());
836 viewType = viewType.erasure();
848 if (methodViewType.erasure().isAssignableFrom(viewType)) {
875 SetterCall eventSetter = getSetterCall(bestDescription.event, viewType,
879 new String[] {bestDescription.event}, viewType,
883 viewType.getCanonicalName());
1059 public final String viewType;
1076 this.viewType = getQualifiedName(eraseType(processingEnv,
1093 if (!this.viewType.equals(that.viewType) ||
1112 return mergedHashCode(viewType, attributeIndices.keySet());
1212 public final String viewType;
1216 public AccessorKey(String viewType, String valueType) {
1217 this.viewType = viewType;
1223 return mergedHashCode(viewType, valueType);
1230 return viewType.equals(that.valueType) && valueType.equals(that.valueType);
1238 return "AK(" + viewType + ", " + valueType + ")";
1792 public ModelClass viewType;
1794 public InverseMethod(BindingGetterCall call, ModelClass returnType, ModelClass viewType) {
1797 this.viewType = viewType;