Searched refs:Property (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/java/android/util/
H A DFloatProperty.java18 import android.util.Property;
21 * An implementation of {@link android.util.Property} to be used specifically with fields of type
27 * @param <T> The class on which the Property is declared.
31 public abstract class FloatProperty<T> extends Property<T, Float> {
H A DIntProperty.java18 import android.util.Property;
21 * An implementation of {@link android.util.Property} to be used specifically with fields of type
27 * @param <T> The class on which the Property is declared.
31 public abstract class IntProperty<T> extends Property<T, Integer> {
H A DProperty.java21 * in a <em>host</em> object. The Property's {@link #set(Object, Object)} or {@link #get(Object)}
28 public abstract class Property<T, V> { class
34 * This factory method creates and returns a Property given the <code>class</code> and
47 * <code>setName()</code> method is not found, the <code>Property</code> will be
54 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) {
61 public Property(Class<V> type, String name) { method in class:Property
69 * NoSuchPropertyException} exception). This may happen if the Property wraps functionality that
71 * Class, String)} factory method may return a Property with name "foo" for an object that has
85 throw new UnsupportedOperationException("Property " + getName() +" is read-only");
H A DReflectiveProperty.java23 * Internal class to automatically generate a Property for a given class/name pair, given the
24 * specification of {@link Property#of(java.lang.Class, java.lang.Class, java.lang.String)}
26 class ReflectiveProperty<T, V> extends Property<T, V> {
66 "does not match Property type (" + valueType + ")");
80 "does not match Property type (" + valueType + ")");
92 * object matches the type of the Property. The extra checks for primitive types are because
93 * generics will force the Property type to be a class, whereas the type of the underlying
131 throw new UnsupportedOperationException("Property " + getName() +" is read-only");
157 * Returns false if there is no setter or public field underlying this Property.
/frameworks/opt/calendar/src/com/android/calendarcommon/
H A DICalendar.java76 private final LinkedHashMap<String, ArrayList<Property>> mPropsMap =
77 new LinkedHashMap<String, ArrayList<Property>>();
134 * Adds a Property to this component.
137 public void addProperty(Property prop) {
139 ArrayList<Property> props = mPropsMap.get(name);
141 props = new ArrayList<Property>();
161 public List<Property> getProperties(String name) {
171 public Property getFirstProperty(String name) {
172 List<Property> props = mPropsMap.get(name);
200 for (Property propert
224 public static class Property { class in class:ICalendar
245 public Property(String name) { method in class:ICalendar.Property
254 public Property(String name, String value) { method in class:ICalendar.Property
[all...]
H A DRecurrenceSet.java182 ICalendar.Property dtstartProperty =
278 ICalendar.Property dtstartProp = new ICalendar.Property("DTSTART");
303 ICalendar.Property durationProp = new ICalendar.Property("DURATION");
337 ICalendar.Property dtstartProp = new ICalendar.Property("DTSTART");
362 ICalendar.Property durationProp = new ICalendar.Property("DURATION");
381 ICalendar.Property pro
[all...]
/frameworks/base/core/java/android/animation/
H A DObjectAnimator.java20 import android.util.Property;
35 * <a href="{@docRoot}guide/topics/graphics/prop-animation.html#object-animator">Property
50 private Property mProperty;
94 * Sets the property that will be animated. Property objects will take precedence over
100 public void setProperty(Property property) {
158 private <T> ObjectAnimator(T target, Property<T, ?> property) {
195 public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> property, int... values) {
233 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> property,
280 public static <T, V> ObjectAnimator ofObject(T target, Property<T, V> property,
296 * android.util.Property} object
[all...]
H A DPropertyValuesHolder.java22 import android.util.Property;
47 protected Property mProperty;
138 private PropertyValuesHolder(Property property) {
163 public static PropertyValuesHolder ofInt(Property<?, Integer> property, int... values) {
185 public static PropertyValuesHolder ofFloat(Property<?, Float> property, float... values) {
221 public static <V> PropertyValuesHolder ofObject(Property property,
270 * {@link android.util.Property#get(Object)} function.
279 public static PropertyValuesHolder ofKeyframe(Property property, Keyframe... values) {
680 public void setProperty(Property property) {
751 public IntPropertyValuesHolder(Property propert
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java36 private class Property { class in class:MtpPropertyGroup
44 Property(int code, int type, int column) { method in class:MtpPropertyGroup.Property
57 private final Property[] mProperties;
79 mProperties = new Property[count];
90 private Property createProperty(int code, ArrayList<String> columns) {
182 return new Property(code, type, columns.size() - 1);
184 return new Property(code, type, -1);
345 Property property = mProperties[propertyIndex];
/frameworks/base/include/ui/
H A DKeyCharacterMap.h139 struct Property { struct in class:android::KeyCharacterMap::Parser
140 inline Property(int32_t property = 0, int32_t metaState = 0) : function in struct:android::KeyCharacterMap::Parser::Property
/frameworks/base/libs/ui/
H A DKeyCharacterMap.cpp588 Vector<Property> properties;
593 properties.add(Property(PROPERTY_LABEL));
595 properties.add(Property(PROPERTY_NUMBER));
604 properties.add(Property(PROPERTY_META, metaState));
687 const Property& property = properties.itemAt(i);
/frameworks/base/core/java/android/view/
H A DView.java57 import android.util.Property;
13800 * A Property wrapper around the <code>alpha</code> functionality handled by the
13803 public static Property<View, Float> ALPHA = new FloatProperty<View>("alpha") {
13816 * A Property wrapper around the <code>translationX</code> functionality handled by the
13819 public static Property<View, Float> TRANSLATION_X = new FloatProperty<View>("translationX") {
13832 * A Property wrapper around the <code>translationY</code> functionality handled by the
13835 public static Property<View, Float> TRANSLATION_Y = new FloatProperty<View>("translationY") {
13848 * A Property wrapper around the <code>x</code> functionality handled by the
13851 public static Property<View, Float> X = new FloatProperty<View>("x") {
13864 * A Property wrappe
[all...]

Completed in 682 milliseconds