Home
last modified time | relevance | path

Searched refs:Property (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/
DInspectionCompanionGeneratorTest.java27 import android.processor.view.inspector.InspectableClassModel.Property;
66 addProperty("boolean", "getBoolean", Property.Type.BOOLEAN); in testSimpleProperties()
67 addProperty("byte", "getByte", Property.Type.BYTE); in testSimpleProperties()
68 addProperty("char", "getChar", Property.Type.CHAR); in testSimpleProperties()
69 addProperty("double", "getDouble", Property.Type.DOUBLE); in testSimpleProperties()
70 addProperty("float", "getFloat", Property.Type.FLOAT); in testSimpleProperties()
71 addProperty("int", "getInt", Property.Type.INT); in testSimpleProperties()
72 addProperty("long", "getLong", Property.Type.LONG); in testSimpleProperties()
73 addProperty("short", "getShort", Property.Type.SHORT); in testSimpleProperties()
75 addProperty("object", "getObject", Property.Type.OBJECT); in testSimpleProperties()
[all …]
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectablePropertyProcessor.java22 import android.processor.view.inspector.InspectableClassModel.Property;
146 final Property property = buildProperty(element, annotation); in process()
174 private Property buildProperty( in buildProperty()
177 final Property property; in buildProperty()
185 property = new Property( in buildProperty()
193 property = new Property( in buildProperty()
309 private Property.Type determinePropertyType( in determinePropertyType()
317 final Property.Type accessorType = in determinePropertyType()
325 if (accessorType != Property.Type.INT) { in determinePropertyType()
374 return Property.Type.COLOR; in determinePropertyType()
[all …]
DInspectionCompanionGenerator.java21 import android.processor.view.inspector.InspectableClassModel.Property;
144 final List<Property> properties = new ArrayList<>(model.getAllProperties()); in generateTypeSpec()
145 properties.sort(Comparator.comparing(Property::getName)); in generateTypeSpec()
147 final Map<Property, FieldSpec> fields = generateIdFieldSpecs(properties); in generateTypeSpec()
176 private Map<Property, FieldSpec> generateIdFieldSpecs(@NonNull List<Property> properties) { in generateIdFieldSpecs()
177 final Map<Property, FieldSpec> fields = new HashMap<>(); in generateIdFieldSpecs()
181 for (Property property : properties) { in generateIdFieldSpecs()
216 @NonNull List<Property> properties, in generateMapProperties()
217 @NonNull Map<Property, FieldSpec> fields) { in generateMapProperties() argument
230 for (Property property : properties) { in generateMapProperties()
[all …]
DInspectableClassModel.java41 private final @NonNull Map<String, Property> mPropertyMap;
61 public void putProperty(@NonNull Property property) { in putProperty()
72 public Optional<Property> getProperty(@NonNull String name) { in getProperty()
82 public Collection<Property> getAllProperties() { in getAllProperties()
172 public static final class Property { class in InspectableClassModel
181 public Property(@NonNull String name, @NonNull Accessor accessor, @NonNull Type type) { in Property() method in InspectableClassModel.Property
/frameworks/base/tools/processors/view_inspector/test/resources/android/processor/view/inspector/InspectionCompanionGeneratorTest/
DSimpleProperties.java.txt22 * Property ID of {@code boolean}.
27 * Property ID of {@code byte}.
32 * Property ID of {@code char}.
37 * Property ID of {@code color}.
42 * Property ID of {@code double}.
47 * Property ID of {@code float}.
52 * Property ID of {@code gravity}.
57 * Property ID of {@code int}.
62 * Property ID of {@code long}.
67 * Property ID of {@code object}.
[all …]
/frameworks/base/libs/hwui/
DVectorDrawable.cpp225 Property currentProperty = static_cast<Property>(propertyId); in setColorPropertyValue()
226 if (currentProperty == Property::strokeColor) { in setColorPropertyValue()
228 } else if (currentProperty == Property::fillColor) { in setColorPropertyValue()
239 Property property = static_cast<Property>(propertyId); in setPropertyValue()
241 case Property::strokeWidth: in setPropertyValue()
244 case Property::strokeAlpha: in setPropertyValue()
247 case Property::fillAlpha: in setPropertyValue()
250 case Property::trimPathStart: in setPropertyValue()
253 case Property::trimPathEnd: in setPropertyValue()
256 case Property::trimPathOffset: in setPropertyValue()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DAnimationProperties.java21 import android.util.Property;
31 private ArrayMap<Property, Interpolator> mInterpolatorMap;
40 public boolean shouldAnimateProperty(Property property) { in getAnimationFilter()
65 public Interpolator getCustomInterpolator(View child, Property property) {
71 ArrayMap<Property, Interpolator> map = iconAnimationProperties.mInterpolatorMap;
83 public AnimationProperties setCustomInterpolator(Property property, Interpolator interpolator) {
DAnimationFilter.java19 import android.util.Property;
43 private ArraySet<Property> mAnimatedProperties = new ArraySet<>();
163 public AnimationFilter animate(Property property) { in animate()
168 public boolean shouldAnimateProperty(Property property) { in shouldAnimateProperty()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTouchAnimator.java19 import android.util.Property;
146 private static Property getProperty(Object target, String property, Class<?> cls) { in getProperty()
172 return Property.of(target.getClass(), cls, property); in getProperty()
219 public static KeyframeSet ofInt(Property property, int... values) { in ofInt()
220 return new IntKeyframeSet((Property<?, Integer>) property, values); in ofInt()
223 public static KeyframeSet ofFloat(Property property, float... values) { in ofFloat()
224 return new FloatKeyframeSet((Property<?, Float>) property, values); in ofFloat()
230 private final Property<T, Float> mProperty;
232 public FloatKeyframeSet(Property<T, Float> property, float[] values) { in FloatKeyframeSet()
248 private final Property<T, Integer> mProperty;
[all …]
DQSScrollLayout.java20 import android.util.Property;
128 private static final Property<QSScrollLayout, Float> CONTENT_TRANS_Y =
129 new Property<QSScrollLayout, Float>(Float.class, "qsScrollLayoutContentTransY") {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DAnimatableProperty.java20 import android.util.Property;
44 public abstract Property getProperty(); in getProperty()
48 Property<T, Float> property = new FloatProperty<T>(name) { in from()
77 public Property getProperty() { in from()
83 public static <T extends View> AnimatableProperty from(Property<T, Float> property,
102 public Property getProperty() {
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DElement.h71 template <typename Property>
72 Property get() const;
85 template <typename Property>
86 status_t set(Property property);
DStream.h65 template <typename Property>
66 Property get() const;
68 template <typename Property>
69 status_t set(Property property);
DInputSource.h65 template <typename Property>
66 Property get() const;
68 template <typename Property>
69 status_t set(Property property);
DEngine.h118 template <typename Property, typename Key>
119 Property getPropertyForKey(Key key) const;
121 template <typename Property, typename Key>
122 bool setPropertyForKey(const Property &property, const Key &key);
DEngine.cpp105 template <typename Property, typename Key>
106 Property Engine::getPropertyForKey(Key key) const in getPropertyForKey()
111 return static_cast<Property>(0); in getPropertyForKey()
113 return element->template get<Property>(); in getPropertyForKey()
126 template <typename Property, typename Key>
127 bool Engine::setPropertyForKey(const Property &property, const Key &key) in setPropertyForKey()
134 return element->template set<Property>(property) == NO_ERROR; in setPropertyForKey()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DICalendar.java76 private final LinkedHashMap<String, ArrayList<Property>> mPropsMap =
77 new LinkedHashMap<String, ArrayList<Property>>();
137 public void addProperty(Property prop) { in addProperty()
139 ArrayList<Property> props = mPropsMap.get(name); in addProperty()
141 props = new ArrayList<Property>(); in addProperty()
161 public List<Property> getProperties(String name) { in getProperties()
171 public Property getFirstProperty(String name) { in getFirstProperty()
172 List<Property> props = mPropsMap.get(name); in getFirstProperty()
200 for (Property property : getProperties(propertyName)) { in toString()
224 public static class Property { class in ICalendar
[all …]
DRecurrenceSet.java191 ICalendar.Property dtstartProperty = in populateContentValues()
287 ICalendar.Property dtstartProp = new ICalendar.Property("DTSTART"); in populateComponent()
312 ICalendar.Property durationProp = new ICalendar.Property("DURATION"); in populateComponent()
346 ICalendar.Property dtstartProp = new ICalendar.Property("DTSTART"); in populateComponent()
371 ICalendar.Property durationProp = new ICalendar.Property("DURATION"); in populateComponent()
390 ICalendar.Property prop = new ICalendar.Property(propertyName); in addPropertiesForRuleStr()
449 ICalendar.Property prop = new ICalendar.Property(propertyName); in addPropertyForDateStr()
466 ICalendar.Property durationProperty = in computeDuration()
474 ICalendar.Property dtendProperty = in computeDuration()
499 List<ICalendar.Property> properties = component.getProperties(name); in flattenProperties()
[all …]
/frameworks/base/core/java/android/animation/
DObjectAnimator.java25 import android.util.Property;
84 private Property mProperty;
136 public void setProperty(@NonNull Property property) { in setProperty()
223 private <T> ObjectAnimator(T target, Property<T, ?> property) { in ObjectAnimator()
289 public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> property, int... values) { in ofInt()
308 public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> xProperty, in ofInt()
309 Property<T, Integer> yProperty, Path path) { in ofInt()
420 public static <T> ObjectAnimator ofArgb(T target, Property<T, Integer> property, in ofArgb()
488 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> property, in ofFloat()
508 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> xProperty, in ofFloat()
[all …]
DPropertyValuesHolder.java25 import android.util.Property;
50 protected Property mProperty;
142 private PropertyValuesHolder(Property property) { in PropertyValuesHolder()
167 public static PropertyValuesHolder ofInt(Property<?, Integer> property, int... values) { in ofInt() argument
286 public static PropertyValuesHolder ofFloat(Property<?, Float> property, float... values) { in ofFloat() argument
454 public static <V> PropertyValuesHolder ofObject(Property property, in ofObject()
487 public static <T, V> PropertyValuesHolder ofObject(Property<?, V> property, in ofObject() argument
512 public static <V> PropertyValuesHolder ofObject(Property<?, V> property, in ofObject() argument
561 public static PropertyValuesHolder ofKeyframe(Property property, Keyframe... values) { in ofKeyframe()
580 static PropertyValuesHolder ofKeyframes(Property property, Keyframes keyframes) { in ofKeyframes()
[all …]
/frameworks/base/core/java/android/util/
DProperty.java28 public abstract class Property<T, V> { class
54 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) { in of()
61 public Property(Class<V> type, String name) { in Property() method in Property
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerHandleView.java28 import android.util.Property;
39 private final static Property<DividerHandleView, Integer> WIDTH_PROPERTY
40 = new Property<DividerHandleView, Integer>(Integer.class, "width") {
54 private final static Property<DividerHandleView, Integer> HEIGHT_PROPERTY
55 = new Property<DividerHandleView, Integer>(Integer.class, "height") {
/frameworks/base/core/java/android/transition/
DChangeBounds.java37 import android.util.Property;
69 private static final Property<Drawable, PointF> DRAWABLE_ORIGIN_PROPERTY =
70 new Property<Drawable, PointF>(PointF.class, "boundsOrigin") {
87 private static final Property<ViewBounds, PointF> TOP_LEFT_PROPERTY =
88 new Property<ViewBounds, PointF>(PointF.class, "topLeft") {
100 private static final Property<ViewBounds, PointF> BOTTOM_RIGHT_PROPERTY =
101 new Property<ViewBounds, PointF>(PointF.class, "bottomRight") {
114 private static final Property<View, PointF> BOTTOM_RIGHT_ONLY_PROPERTY =
115 new Property<View, PointF>(PointF.class, "bottomRight") {
131 private static final Property<View, PointF> TOP_LEFT_ONLY_PROPERTY =
[all …]
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java37 private class Property { class in MtpPropertyGroup
42 Property(int code, int type, int column) { in Property() method in MtpPropertyGroup.Property
50 private final Property[] mProperties;
63 mProperties = new Property[count]; in MtpPropertyGroup()
74 private Property createProperty(int code, ArrayList<String> columns) { in createProperty()
161 return new Property(code, type, columns.size() - 1); in createProperty()
163 return new Property(code, type, -1); in createProperty()
177 for (Property property : mProperties) { in getPropertyList()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java46 import android.util.Property;
956 final static Property<VectorDrawableState, Float> ALPHA =
969 Property getProperty(String propertyName) { in getProperty()
1193 private static final Property<VGroup, Float> TRANSLATE_X =
1206 private static final Property<VGroup, Float> TRANSLATE_Y =
1219 private static final Property<VGroup, Float> SCALE_X =
1232 private static final Property<VGroup, Float> SCALE_Y =
1245 private static final Property<VGroup, Float> PIVOT_X =
1258 private static final Property<VGroup, Float> PIVOT_Y =
1271 private static final Property<VGroup, Float> ROTATION =
[all …]

123