Searched refs:valueType (Results 1 – 25 of 26) sorted by relevance
12
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()
272 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, in getPVH() argument282 if (valueType == VALUE_TYPE_UNDEFINED) { in getPVH()285 valueType = VALUE_TYPE_COLOR; in getPVH()287 valueType = VALUE_TYPE_FLOAT; in getPVH()291 boolean getFloats = (valueType == VALUE_TYPE_FLOAT); in getPVH()295 if (valueType == VALUE_TYPE_PATH) { in getPVH()326 if (valueType == VALUE_TYPE_COLOR) { in getPVH()416 int valueType = arrayAnimator.getInt(R.styleable.Animator_valueType, VALUE_TYPE_UNDEFINED); in parseAnimatorFromTypeArray() local418 if (valueType == VALUE_TYPE_UNDEFINED) { in parseAnimatorFromTypeArray()419 valueType = inferValueTypeFromValues(arrayAnimator, R.styleable.Animator_valueFrom, in parseAnimatorFromTypeArray()[all …]
695 private Method getPropertyFunction(Class targetClass, String prefix, Class valueType) { in getPropertyFunction() argument700 if (valueType == null) { in getPropertyFunction()709 if (valueType.equals(Float.class)) { in getPropertyFunction()711 } else if (valueType.equals(Integer.class)) { in getPropertyFunction()713 } else if (valueType.equals(Double.class)) { in getPropertyFunction()717 typeVariants[0] = valueType; in getPropertyFunction()737 getMethodName(prefix, mPropertyName) + "() with type " + valueType + in getPropertyFunction()757 String prefix, Class valueType) { in setupSetterOrGetter() argument772 setterOrGetter = getPropertyFunction(targetClass, prefix, valueType); in setupSetterOrGetter()
461 ModelClass viewType, ModelClass[] valueType) { in getMultiAttributeSetterCalls() argument466 for (int i = 0; i < valueType.length; i++) { in getMultiAttributeSetterCalls()467 valueType[i] = eraseType(valueType[i], viewGenerics); in getMultiAttributeSetterCalls()472 viewType, valueType); in getMultiAttributeSetterCalls()577 ModelClass viewType, ModelClass[] valueType) { in getMatchingMultiAttributeSetters() argument592 valueType, adapter); in getMatchingMultiAttributeSetters()648 ModelClass valueType, Map<String, String> imports) { in getSetterCall() argument655 ModelMethod bestSetterMethod = getBestSetter(viewType, valueType, attribute, imports); in getSetterCall()671 L.d("setter parameter type is %s", key.valueType); in getSetterCall()673 .findClass(key.valueType, imports)); in getSetterCall()[all …]
2150 private final Class<V> valueType;2152 private Assoc(Class<K> keyType, Class<V> valueType) {2154 this.valueType = valueType;2157 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) {2158 return new Assoc<K, V>(keyType, valueType);2169 V[] values = (V[]) Array.newInstance(valueType, N);
2256 private final Class<V> valueType;2258 private Assoc(Class<K> keyType, Class<V> valueType) {2260 this.valueType = valueType;2263 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) {2264 return new Assoc<K, V>(keyType, valueType);2275 V[] values = (V[]) Array.newInstance(valueType, N);
173 public Expr resolveListeners(ModelClass valueType, Expr parent) { in resolveListeners() argument176 child.resolveListeners(valueType, this); in resolveListeners()
399 android:valueType="floatType"/>411 android:valueType="floatType"/>545 android:valueType="pathType" />
310 AMessage::Type valueType; in ConvertMessageToMap() local311 const char *key = msg->getEntryNameAt(i, &valueType); in ConvertMessageToMap()320 switch (valueType) { in ConvertMessageToMap()
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"/>550 android:valueType="pathType" />
946 android:valueType="intType"/>951 android:valueType="intType"/>
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
1345 field public static final int valueType = 16843488; // 0x10102e0
1387 field public static final int valueType = 16843488; // 0x10102e0