Searched refs:valueType (Results 1 - 10 of 10) 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 DAnimatorInflater.java300 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, argument
310 if (valueType == VALUE_TYPE_UNDEFINED) {
313 valueType = VALUE_TYPE_COLOR;
315 valueType = VALUE_TYPE_FLOAT;
319 boolean getFloats = (valueType == VALUE_TYPE_FLOAT);
323 if (valueType == VALUE_TYPE_PATH) {
354 if (valueType == VALUE_TYPE_COLOR) {
355 // special case for colors: ignore valueType and get ints
444 int valueType = arrayAnimator.getInt(R.styleable.Animator_valueType, VALUE_TYPE_UNDEFINED);
446 if (valueType
852 loadPvh(Resources res, Theme theme, XmlPullParser parser, String propertyName, int valueType) argument
975 loadKeyframe(Resources res, Theme theme, AttributeSet attrs, int valueType) argument
[all...]
H A DPropertyValuesHolder.java663 * @param valueType The type of the parameter (in the case of a setter). This type
670 private Method getPropertyFunction(Class targetClass, String prefix, Class valueType) { argument
675 if (valueType == null) {
684 if (valueType.equals(Float.class)) {
686 } else if (valueType.equals(Integer.class)) {
688 } else if (valueType.equals(Double.class)) {
692 typeVariants[0] = valueType;
712 getMethodName(prefix, mPropertyName) + "() with type " + valueType +
727 * @param valueType The type of parameter passed into the method (null for getter).
732 String prefix, Class valueType) {
730 setupSetterOrGetter(Class targetClass, HashMap<Class, HashMap<String, Method>> propertyMapMap, String prefix, Class valueType) argument
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
H A DSetterStore.java378 ModelClass viewType, ModelClass[] valueType) {
383 for (int i = 0; i < valueType.length; i++) {
384 valueType[i] = eraseType(valueType[i], viewGenerics);
389 viewType, valueType);
428 ModelClass viewType, ModelClass[] valueType) {
443 valueType, adapter);
497 ModelClass valueType, Map<String, String> imports) {
504 ModelMethod bestSetterMethod = getBestSetter(viewType, valueType, attribute, imports);
520 L.d("setter parameter type is %s", key.valueType);
377 getMultiAttributeSetterCalls(String[] attributes, ModelClass viewType, ModelClass[] valueType) argument
427 getMatchingMultiAttributeSetters(String[] attributes, ModelClass viewType, ModelClass[] valueType) argument
496 getSetterCall(String attribute, ModelClass viewType, ModelClass valueType, Map<String, String> imports) argument
883 public final String valueType; field in class:SetterStore.AccessorKey
885 AccessorKey(String viewType, String valueType) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp174 AMessage::Type valueType; local
175 const char *key = msg->getEntryNameAt(i, &valueType);
179 switch (valueType) {
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DExpr.java170 public boolean resolveListeners(ModelClass valueType) { argument
173 if (child.resolveListeners(valueType)) {
/frameworks/base/core/java/android/widget/
H A DGridLayout.java2249 private final Class<V> valueType; field in class:GridLayout.Assoc
2251 private Assoc(Class<K> keyType, Class<V> valueType) { argument
2253 this.valueType = valueType;
2256 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { argument
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/
H A DGridLayout.java2143 private final Class<V> valueType; field in class:GridLayout.Assoc
2145 private Assoc(Class<K> keyType, Class<V> valueType) { argument
2147 this.valueType = valueType;
2150 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { argument
2151 return new Assoc<K, V>(keyType, valueType);
2162 V[] values = (V[]) Array.newInstance(valueType, N);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 341 milliseconds