Home
last modified time | relevance | path

Searched refs:valueType (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/util/
DReflectiveProperty.java45 public ReflectiveProperty(Class<T> propertyHolder, Class<V> valueType, String name) { in ReflectiveProperty() argument
47 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() argument
98 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 …]
DProperty.java54 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) { in of() argument
55 return new ReflectiveProperty<T, V>(hostType, valueType, name); in of()
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
DAnimatorInflaterCompat.java203 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, in getPVH() argument
213 if (valueType == VALUE_TYPE_UNDEFINED) { in getPVH()
216 valueType = VALUE_TYPE_COLOR; in getPVH()
218 valueType = VALUE_TYPE_FLOAT; in getPVH()
222 boolean getFloats = (valueType == VALUE_TYPE_FLOAT); in getPVH()
226 if (valueType == VALUE_TYPE_PATH) { in getPVH()
257 if (valueType == VALUE_TYPE_COLOR) { in getPVH()
348 int valueType = TypedArrayUtils.getNamedInt(arrayAnimator, parser, "valueType", in parseAnimatorFromTypeArray() local
354 if (valueType == VALUE_TYPE_UNDEFINED) { in parseAnimatorFromTypeArray()
355 valueType = inferValueTypeFromValues(arrayAnimator, in parseAnimatorFromTypeArray()
[all …]
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java272 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, in getPVH() argument
282 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() local
418 if (valueType == VALUE_TYPE_UNDEFINED) { in parseAnimatorFromTypeArray()
419 valueType = inferValueTypeFromValues(arrayAnimator, R.styleable.Animator_valueFrom, in parseAnimatorFromTypeArray()
[all …]
DPropertyValuesHolder.java695 private Method getPropertyFunction(Class targetClass, String prefix, Class valueType) { in getPropertyFunction() argument
700 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() argument
772 setterOrGetter = getPropertyFunction(targetClass, prefix, valueType); in setupSetterOrGetter()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java461 ModelClass viewType, ModelClass[] valueType) { in getMultiAttributeSetterCalls() argument
466 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() argument
592 valueType, adapter); in getMatchingMultiAttributeSetters()
648 ModelClass valueType, Map<String, String> imports) { in getSetterCall() argument
655 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 …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DLambdaExpr.java71 public Expr resolveListeners(ModelClass valueType, Expr parent) { in resolveListeners() argument
DExpr.java174 public Expr resolveListeners(ModelClass valueType, Expr parent) { in resolveListeners() argument
177 child.resolveListeners(valueType, this); in resolveListeners()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java2156 private final Class<V> valueType;
2158 private Assoc(Class<K> keyType, Class<V> valueType) {
2160 this.valueType = valueType;
2163 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) {
2164 return new Assoc<K, V>(keyType, valueType);
2175 V[] values = (V[]) Array.newInstance(valueType, N);
/frameworks/base/core/java/android/widget/
DGridLayout.java2266 private final Class<V> valueType;
2268 private Assoc(Class<K> keyType, Class<V> valueType) {
2270 this.valueType = valueType;
2273 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) {
2274 return new Assoc<K, V>(keyType, valueType);
2285 V[] values = (V[]) Array.newInstance(valueType, N);
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp310 AMessage::Type valueType; in ConvertMessageToMap() local
311 const char *key = msg->getEntryNameAt(i, &valueType); in ConvertMessageToMap()
320 switch (valueType) { in ConvertMessageToMap()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1345 field public static final int valueType = 16843488; // 0x10102e0
/frameworks/base/api/
Dcurrent.txt1457 field public static final int valueType = 16843488; // 0x10102e0
Dsystem-current.txt1584 field public static final int valueType = 16843488; // 0x10102e0