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

12

/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/av/services/audiopolicy/engineconfigurable/src/
H A DElement.h67 * Property may be routing_strategy, audio_stream_type_t, audio_usage_t, audio_source_t
70 * @tparam Property for which this policy element has setter / getter.
73 template <typename Property>
74 Property get() const;
78 * Property may be routing_strategy, audio_stream_type_t, audio_usage_t, audio_source_t
81 * @tparam Property for which this policy element has setter / getter.
87 template <typename Property>
88 status_t set(Property property);
H A DInputSource.h64 * Property may be routing_strategy, audio_stream_type_t, audio_usage_t, audio_source_t
67 template <typename Property>
68 Property get() const;
70 template <typename Property>
71 status_t set(Property property);
H A DStrategy.h64 * Property may be routing_strategy, audio_stream_type_t, audio_usage_t, audio_source_t
67 template <typename Property>
68 Property get() const;
70 template <typename Property>
71 status_t set(Property property);
H A DUsage.h64 * Property may be routing_strategy, audio_stream_type_t, audio_usage_t, audio_source_t
67 template <typename Property>
68 Property get() const;
70 template <typename Property>
71 status_t set(Property property);
H A DStream.h73 * Property may be routing_strategy, audio_stream_type_t, audio_usage_t, audio_source_t
76 template <typename Property>
77 Property get() const;
79 template <typename Property>
80 status_t set(Property property);
H A DEngine.cpp144 template <typename Property, typename Key>
145 Property Engine::getPropertyForKey(Key key) const
150 return static_cast<Property>(0);
152 return element->template get<Property>();
191 template <typename Property, typename Key>
192 bool Engine::setPropertyForKey(const Property &property, const Key &key)
199 return element->template set<Property>(property) == NO_ERROR;
H A DEngine.h208 template <typename Property, typename Key>
209 Property getPropertyForKey(Key key) const;
211 template <typename Property, typename Key>
212 bool setPropertyForKey(const Property &property, const Key &key);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessageParser.java32 import android.bluetooth.client.map.utils.BmsgTokenizer.Property;
44 private final static Property BEGIN_BMSG = new Property("BEGIN", "BMSG");
45 private final static Property END_BMSG = new Property("END", "BMSG");
47 private final static Property BEGIN_VCARD = new Property("BEGIN", "VCARD");
48 private final static Property END_VCARD = new Property("END", "VCARD");
50 private final static Property BEGIN_BEN
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DBmsgTokenizer.java35 static public class Property { class in class:BmsgTokenizer
39 public Property(String name, String value) { method in class:BmsgTokenizer.Property
57 return ((o instanceof Property) && ((Property) o).name.equals(name) && ((Property) o).value
73 public Property next(boolean alwaysReturn) throws ParseException {
84 throw new ParseException("Property or empty line expected", pos());
94 return new Property(mMatcher.group(2), mMatcher.group(3));
97 public Property next() throws ParseException {
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
H A DBmsgTokenizer.java35 static public class Property { class in class:BmsgTokenizer
39 public Property(String name, String value) { method in class:BmsgTokenizer.Property
57 return ((o instanceof Property) && ((Property) o).name.equals(name) && ((Property) o).value
73 public Property next(boolean alwaysReturn) throws ParseException {
84 throw new ParseException("Property or empty line expected", pos());
94 return new Property(mMatcher.group(2), mMatcher.group(3));
97 public Property next() throws ParseException {
/frameworks/opt/calendar/src/com/android/calendarcommon2/
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.java193 ICalendar.Property dtstartProperty =
289 ICalendar.Property dtstartProp = new ICalendar.Property("DTSTART");
314 ICalendar.Property durationProp = new ICalendar.Property("DURATION");
348 ICalendar.Property dtstartProp = new ICalendar.Property("DTSTART");
373 ICalendar.Property durationProp = new ICalendar.Property("DURATION");
392 ICalendar.Property pro
[all...]
/frameworks/base/core/java/android/animation/
H A DObjectAnimator.java25 import android.util.Property;
62 * <a href="{@docRoot}guide/topics/graphics/prop-animation.html#object-animator">Property
82 private Property mProperty;
128 * Sets the property that will be animated. Property objects will take precedence over
134 public void setProperty(@NonNull Property property) {
160 * <p>If this animator was created with a {@link Property} object instead of the
162 * Property#getName() name} of that Property object instead. If this animator was
221 private <T> ObjectAnimator(T target, Property<T, ?> property) {
285 public static <T> ObjectAnimator ofInt(T target, Property<
698 ofObject(T target, @NonNull Property<T, V> property, @Nullable TypeConverter<PointF, V> converter, Path path) argument
[all...]
H A DPropertyValuesHolder.java24 import android.util.Property;
49 protected Property mProperty;
141 private PropertyValuesHolder(Property property) {
166 public static PropertyValuesHolder ofInt(Property<?, Integer> property, int... values) {
284 public static PropertyValuesHolder ofFloat(Property<?, Float> property, float... values) {
440 public static <V> PropertyValuesHolder ofObject(Property property,
458 * @param converter Converts the animated object to the Property type.
467 public static <T, V> PropertyValuesHolder ofObject(Property<?, V> property,
492 public static <V> PropertyValuesHolder ofObject(Property<?, V> property,
532 * {@link android.util.Property#ge
[all...]
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DSlideKitkat.java29 import android.util.Property;
63 Property<View, Float> getProperty();
73 public Property<View, Float> getProperty() {
85 public Property<View, Float> getProperty() {
208 private Animator createAnimation(final View view, Property<View, Float> property,
262 private final Property<View, Float> mProp;
264 public SlideAnimatorListener(View view, Property<View, Float> prop,
/frameworks/base/core/java/android/transition/
H A DChangeBounds.java36 import android.util.Property;
68 private static final Property<Drawable, PointF> DRAWABLE_ORIGIN_PROPERTY =
69 new Property<Drawable, PointF>(PointF.class, "boundsOrigin") {
86 private static final Property<ViewBounds, PointF> TOP_LEFT_PROPERTY =
87 new Property<ViewBounds, PointF>(PointF.class, "topLeft") {
99 private static final Property<ViewBounds, PointF> BOTTOM_RIGHT_PROPERTY =
100 new Property<ViewBounds, PointF>(PointF.class, "bottomRight") {
112 private static final Property<View, PointF> BOTTOM_RIGHT_ONLY_PROPERTY =
113 new Property<View, PointF>(PointF.class, "bottomRight") {
129 private static final Property<Vie
[all...]
H A DChangeImageTransform.java26 import android.util.Property;
60 private static Property<ImageView, Matrix> ANIMATED_TRANSFORM_PROPERTY
61 = new Property<ImageView, Matrix>(Matrix.class, "animatedTransform") {
H A DChangeTransform.java29 import android.util.Property;
65 private static final Property<PathAnimatorMatrix, float[]> NON_TRANSLATIONS_PROPERTY =
66 new Property<PathAnimatorMatrix, float[]>(float[].class, "nonTranslations") {
81 private static final Property<PathAnimatorMatrix, PointF> TRANSLATIONS_PROPERTY =
82 new Property<PathAnimatorMatrix, PointF>(PointF.class, "translations") {
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java35 private class Property { class in class:MtpPropertyGroup
43 Property(int code, int type, int column) { method in class:MtpPropertyGroup.Property
57 private final Property[] mProperties;
80 mProperties = new Property[count];
91 private Property createProperty(int code, ArrayList<String> columns) {
194 return new Property(code, type, columns.size() - 1);
196 return new Property(code, type, -1);
357 Property property = mProperties[propertyIndex];
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStreamingTextView.java30 import android.util.Property;
58 private static final Property<StreamingTextView,Integer> STREAM_POSITION_PROPERTY =
59 new Property<StreamingTextView,Integer>(Integer.class, "streamPosition") {
/frameworks/native/include/input/
H A DKeyCharacterMap.h192 struct Property { struct in class:android::KeyCharacterMap::Parser
193 inline Property(int32_t property = 0, int32_t metaState = 0) : function in struct:android::KeyCharacterMap::Parser::Property

Completed in 1325 milliseconds

12