Searched refs:valueType (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/util/
H A DReflectiveProperty.java45 public ReflectiveProperty(Class<T> propertyHolder, Class<V> valueType, String name) { argument
47 super(valueType, name);
64 if (!typesMatch(valueType, fieldType)) {
66 "does not match Property type (" + valueType + ")");
77 // Check to make sure our getter type matches our valueType
78 if (!typesMatch(valueType, getterType)) {
80 "does not match Property type (" + valueType + ")");
97 private boolean typesMatch(Class<V> valueType, Class getterType) { argument
98 if (getterType != valueType) {
100 return (getterType == float.class && valueType
[all...]
H A DProperty.java54 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) { argument
55 return new ReflectiveProperty<T, V>(hostType, valueType, name);
/frameworks/base/core/java/android/animation/
H A DPropertyValuesHolder.java665 * @param valueType The type of the parameter (in the case of a setter). This type
672 private Method getPropertyFunction(Class targetClass, String prefix, Class valueType) { argument
677 if (valueType == null) {
686 if (valueType.equals(Float.class)) {
688 } else if (valueType.equals(Integer.class)) {
690 } else if (valueType.equals(Double.class)) {
694 typeVariants[0] = valueType;
714 getMethodName(prefix, mPropertyName) + "() with type " + valueType +
729 * @param valueType The type of parameter passed into the method (null for getter).
734 String prefix, Class valueType) {
732 setupSetterOrGetter(Class targetClass, HashMap<Class, HashMap<String, Method>> propertyMapMap, String prefix, Class valueType) argument
[all...]
H A DAnimatorInflater.java313 int valueType = arrayAnimator.getInt(R.styleable.Animator_valueType,
318 boolean getFloats = (valueType == VALUE_TYPE_FLOAT);
329 if (valueType == VALUE_TYPE_PATH) {
337 // special case for colors: ignore valueType and get ints
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp175 AMessage::Type valueType; local
176 const char *key = msg->getEntryNameAt(i, &valueType);
180 switch (valueType) {
/frameworks/base/core/java/android/widget/
H A DGridLayout.java2278 private final Class<V> valueType; field in class:GridLayout.Assoc
2280 private Assoc(Class<K> keyType, Class<V> valueType) { argument
2282 this.valueType = valueType;
2285 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { argument
2286 return new Assoc<K, V>(keyType, valueType);
2297 V[] values = (V[]) Array.newInstance(valueType, N);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java2153 private final Class<V> valueType; field in class:GridLayout.Assoc
2155 private Assoc(Class<K> keyType, Class<V> valueType) { argument
2157 this.valueType = valueType;
2160 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { argument
2161 return new Assoc<K, V>(keyType, valueType);
2172 V[] values = (V[]) Array.newInstance(valueType, N);

Completed in 168 milliseconds