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/base/core/java/android/animation/
DAnimatorInflater.java300 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, in getPVH() argument
310 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() local
446 if (valueType == VALUE_TYPE_UNDEFINED) { in parseAnimatorFromTypeArray()
447 valueType = inferValueTypeFromValues(arrayAnimator, R.styleable.Animator_valueFrom, in parseAnimatorFromTypeArray()
[all …]
DPropertyValuesHolder.java670 private Method getPropertyFunction(Class targetClass, String prefix, Class valueType) { in getPropertyFunction() argument
675 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() argument
747 setterOrGetter = getPropertyFunction(targetClass, prefix, valueType); in setupSetterOrGetter()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java378 ModelClass viewType, ModelClass[] valueType) { in getMultiAttributeSetterCalls() argument
383 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() argument
443 valueType, adapter); in getMatchingMultiAttributeSetters()
497 ModelClass valueType, Map<String, String> imports) { in getSetterCall() argument
504 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 …]
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp174 AMessage::Type valueType; in ConvertMessageToMap() local
175 const char *key = msg->getEntryNameAt(i, &valueType); in ConvertMessageToMap()
179 switch (valueType) { in ConvertMessageToMap()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DExpr.java170 public boolean resolveListeners(ModelClass valueType) { in resolveListeners() argument
173 if (child.resolveListeners(valueType)) { in resolveListeners()
/frameworks/base/core/java/android/widget/
DGridLayout.java2249 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);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java2143 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);
/frameworks/base/docs/html/guide/topics/resources/
Danimation-resource.jd80 android:valueType=["intType" | "floatType"]/&gt;
89 android:valueType=["intType" | "floatType"]/&gt;
204 <code>android:valueType</code>
277 <code>android:valueType</code>
305 android:valueType="intType"/&gt;
310 android:valueType="intType"/&gt;
/frameworks/base/docs/html/training/material/
Danimations.jd400 android:valueType="floatType"/>
412 android:valueType="floatType"/>
546 android:valueType="pathType" />
/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd949 android:valueType="intType"/&gt;
954 android:valueType="intType"/&gt;
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/api/
Dcurrent.txt1333 field public static final int valueType = 16843488; // 0x10102e0
Dsystem-current.txt1429 field public static final int valueType = 16843488; // 0x10102e0