Searched defs:valueType (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/java/android/util/
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);
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...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DLambdaExpr.java71 public Expr resolveListeners(ModelClass valueType, Expr parent) { argument
H A DExpr.java174 public Expr resolveListeners(ModelClass valueType, Expr parent) { argument
177 child.resolveListeners(valueType, this);
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java272 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, argument
282 if (valueType == VALUE_TYPE_UNDEFINED) {
285 valueType = VALUE_TYPE_COLOR;
287 valueType = VALUE_TYPE_FLOAT;
291 boolean getFloats = (valueType == VALUE_TYPE_FLOAT);
295 if (valueType == VALUE_TYPE_PATH) {
326 if (valueType == VALUE_TYPE_COLOR) {
327 // special case for colors: ignore valueType and get ints
416 int valueType = arrayAnimator.getInt(R.styleable.Animator_valueType, VALUE_TYPE_UNDEFINED);
418 if (valueType
495 setupObjectAnimator(ValueAnimator anim, TypedArray arrayObjectAnimator, int valueType, float pixelSize) argument
830 loadPvh(Resources res, Theme theme, XmlPullParser parser, String propertyName, int valueType) argument
953 loadKeyframe(Resources res, Theme theme, AttributeSet attrs, int valueType) argument
[all...]
H A DPropertyValuesHolder.java688 * @param valueType The type of the parameter (in the case of a setter). This type
695 private Method getPropertyFunction(Class targetClass, String prefix, Class valueType) { argument
700 if (valueType == null) {
709 if (valueType.equals(Float.class)) {
711 } else if (valueType.equals(Integer.class)) {
713 } else if (valueType.equals(Double.class)) {
717 typeVariants[0] = valueType;
737 getMethodName(prefix, mPropertyName) + "() with type " + valueType +
752 * @param valueType The type of parameter passed into the method (null for getter).
757 String prefix, Class valueType) {
755 setupSetterOrGetter(Class targetClass, HashMap<Class, HashMap<String, Method>> propertyMapMap, String prefix, Class valueType) argument
[all...]
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatorInflaterCompat.java203 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, argument
213 if (valueType == VALUE_TYPE_UNDEFINED) {
216 valueType = VALUE_TYPE_COLOR;
218 valueType = VALUE_TYPE_FLOAT;
222 boolean getFloats = (valueType == VALUE_TYPE_FLOAT);
226 if (valueType == VALUE_TYPE_PATH) {
257 if (valueType == VALUE_TYPE_COLOR) {
258 // special case for colors: ignore valueType and get ints
348 int valueType = TypedArrayUtils.getNamedInt(arrayAnimator, parser, "valueType",
387 setupObjectAnimator(ValueAnimator anim, TypedArray arrayObjectAnimator, int valueType, float pixelSize, XmlPullParser parser) argument
687 loadPvh(Context context, Resources res, Theme theme, XmlPullParser parser, String propertyName, int valueType) argument
813 loadKeyframe(Context context, Resources res, Theme theme, AttributeSet attrs, int valueType, XmlPullParser parser) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp310 AMessage::Type valueType; local
311 const char *key = msg->getEntryNameAt(i, &valueType);
320 switch (valueType) {
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
H A DSetterStore.java461 ModelClass viewType, ModelClass[] valueType) {
466 for (int i = 0; i < valueType.length; i++) {
467 valueType[i] = eraseType(valueType[i], viewGenerics);
472 viewType, valueType);
577 ModelClass viewType, ModelClass[] valueType) {
592 valueType, adapter);
648 ModelClass valueType, Map<String, String> imports) {
655 ModelMethod bestSetterMethod = getBestSetter(viewType, valueType, attribute, imports);
671 L.d("setter parameter type is %s", key.valueType);
460 getMultiAttributeSetterCalls(String[] attributes, ModelClass viewType, ModelClass[] valueType) argument
576 getMatchingMultiAttributeSetters(String[] attributes, ModelClass viewType, ModelClass[] valueType) argument
647 getSetterCall(String attribute, ModelClass viewType, ModelClass valueType, Map<String, String> imports) argument
712 getGetterCall(String attribute, ModelClass viewType, ModelClass valueType, Map<String, String> imports) argument
830 getBestGetter(ModelClass viewType, ModelClass valueType, String attribute, Map<String, String> imports) argument
1214 public final String valueType; field in class:SetterStore.AccessorKey
1216 AccessorKey(String viewType, String valueType) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java2266 private final Class<V> valueType; field in class:GridLayout.Assoc
2268 private Assoc(Class<K> keyType, Class<V> valueType) { argument
2270 this.valueType = valueType;
2273 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { argument
2274 return new Assoc<K, V>(keyType, valueType);
2285 V[] values = (V[]) Array.newInstance(valueType, N);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java2156 private final Class<V> valueType; field in class:GridLayout.Assoc
2158 private Assoc(Class<K> keyType, Class<V> valueType) { argument
2160 this.valueType = valueType;
2163 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { argument
2164 return new Assoc<K, V>(keyType, valueType);
2175 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 6813 milliseconds