Searched refs:valueType (Results 1 – 15 of 15) sorted by relevance
45 public ReflectiveProperty(Class<T> propertyHolder, Class<V> valueType, String name) { in ReflectiveProperty() argument47 super(valueType, name); in ReflectiveProperty()64 if (!typesMatch(valueType, fieldType)) { in ReflectiveProperty()66 "does not match Property type (" + valueType + ")"); in ReflectiveProperty()78 if (!typesMatch(valueType, getterType)) { in ReflectiveProperty()80 "does not match Property type (" + valueType + ")"); in ReflectiveProperty()97 private boolean typesMatch(Class<V> valueType, Class getterType) { in typesMatch() argument98 if (getterType != valueType) { in typesMatch()100 return (getterType == float.class && valueType == Float.class) || in typesMatch()101 (getterType == int.class && valueType == Integer.class) || in typesMatch()[all …]
54 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) { in of() argument55 return new ReflectiveProperty<T, V>(hostType, valueType, name); in of()
300 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, in getPVH() argument310 if (valueType == VALUE_TYPE_UNDEFINED) { in getPVH()313 valueType = VALUE_TYPE_COLOR; in getPVH()315 valueType = VALUE_TYPE_FLOAT; in getPVH()319 boolean getFloats = (valueType == VALUE_TYPE_FLOAT); in getPVH()323 if (valueType == VALUE_TYPE_PATH) { in getPVH()354 if (valueType == VALUE_TYPE_COLOR) { in getPVH()444 int valueType = arrayAnimator.getInt(R.styleable.Animator_valueType, VALUE_TYPE_UNDEFINED); in parseAnimatorFromTypeArray() local446 if (valueType == VALUE_TYPE_UNDEFINED) { in parseAnimatorFromTypeArray()447 valueType = inferValueTypeFromValues(arrayAnimator, R.styleable.Animator_valueFrom, in parseAnimatorFromTypeArray()[all …]
670 private Method getPropertyFunction(Class targetClass, String prefix, Class valueType) { in getPropertyFunction() argument675 if (valueType == null) { in getPropertyFunction()684 if (valueType.equals(Float.class)) { in getPropertyFunction()686 } else if (valueType.equals(Integer.class)) { in getPropertyFunction()688 } else if (valueType.equals(Double.class)) { in getPropertyFunction()692 typeVariants[0] = valueType; in getPropertyFunction()712 getMethodName(prefix, mPropertyName) + "() with type " + valueType + in getPropertyFunction()732 String prefix, Class valueType) { in setupSetterOrGetter() argument747 setterOrGetter = getPropertyFunction(targetClass, prefix, valueType); in setupSetterOrGetter()
378 ModelClass viewType, ModelClass[] valueType) { in getMultiAttributeSetterCalls() argument383 for (int i = 0; i < valueType.length; i++) { in getMultiAttributeSetterCalls()384 valueType[i] = eraseType(valueType[i], viewGenerics); in getMultiAttributeSetterCalls()389 viewType, valueType); in getMultiAttributeSetterCalls()428 ModelClass viewType, ModelClass[] valueType) { in getMatchingMultiAttributeSetters() argument443 valueType, adapter); in getMatchingMultiAttributeSetters()497 ModelClass valueType, Map<String, String> imports) { in getSetterCall() argument504 ModelMethod bestSetterMethod = getBestSetter(viewType, valueType, attribute, imports); in getSetterCall()520 L.d("setter parameter type is %s", key.valueType); in getSetterCall()522 .findClass(key.valueType, imports)); in getSetterCall()[all …]
174 AMessage::Type valueType; in ConvertMessageToMap() local175 const char *key = msg->getEntryNameAt(i, &valueType); in ConvertMessageToMap()179 switch (valueType) { in ConvertMessageToMap()
170 public boolean resolveListeners(ModelClass valueType) { in resolveListeners() argument173 if (child.resolveListeners(valueType)) { in resolveListeners()
2249 private final Class<V> valueType;2251 private Assoc(Class<K> keyType, Class<V> valueType) {2253 this.valueType = valueType;2256 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) {2257 return new Assoc<K, V>(keyType, valueType);2268 V[] values = (V[]) Array.newInstance(valueType, N);
2143 private final Class<V> valueType;2145 private Assoc(Class<K> keyType, Class<V> valueType) {2147 this.valueType = valueType;2150 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) {2151 return new Assoc<K, V>(keyType, valueType);2162 V[] values = (V[]) Array.newInstance(valueType, N);
80 android:valueType=["intType" | "floatType"]/>89 android:valueType=["intType" | "floatType"]/>204 <code>android:valueType</code>277 <code>android:valueType</code>305 android:valueType="intType"/>310 android:valueType="intType"/>
400 android:valueType="floatType"/>412 android:valueType="floatType"/>546 android:valueType="pathType" />
949 android:valueType="intType"/>954 android:valueType="intType"/>
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
1333 field public static final int valueType = 16843488; // 0x10102e0
1429 field public static final int valueType = 16843488; // 0x10102e0