/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/ |
D | InspectionCompanionGeneratorTest.java | 27 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/services/core/java/com/android/server/audio/ |
D | AudioServiceEvents.java | 91 .set(MediaMetrics.Property.EVENT, "set") in logMetricEvent() 92 .set(MediaMetrics.Property.REQUESTED_MODE, in logMetricEvent() 94 .set(MediaMetrics.Property.MODE, AudioSystem.modeToString(mActualMode)) in logMetricEvent() 95 .set(MediaMetrics.Property.CALLING_PACKAGE, mPackage) in logMetricEvent() 100 .set(MediaMetrics.Property.EVENT, "inCommunicationTimeout") in logMetricEvent() 101 .set(MediaMetrics.Property.CALLING_PACKAGE, mPackage) in logMetricEvent() 287 .set(MediaMetrics.Property.CALLING_PACKAGE, mCaller) in logMetricEvent() 288 .set(MediaMetrics.Property.DIRECTION, mVal1 > 0 ? "up" : "down") in logMetricEvent() 289 .set(MediaMetrics.Property.EVENT, eventName) in logMetricEvent() 290 .set(MediaMetrics.Property.FLAGS, mVal2) in logMetricEvent() [all …]
|
D | AudioDeviceInventory.java | 123 .set(MediaMetrics.Property.ADDRESS, value.mDeviceAddress) 124 .set(MediaMetrics.Property.EVENT, event) 125 .set(MediaMetrics.Property.NAME, value.mDeviceName) 126 .set(MediaMetrics.Property.STATE, connected 300 .set(MediaMetrics.Property.ADDRESS, address) in onSetA2dpSinkConnectionState() 301 .set(MediaMetrics.Property.ENCODING, AudioSystem.audioFormatToString(a2dpCodec)) in onSetA2dpSinkConnectionState() 302 .set(MediaMetrics.Property.EVENT, "onSetA2dpSinkConnectionState") in onSetA2dpSinkConnectionState() 303 .set(MediaMetrics.Property.INDEX, a2dpVolume) in onSetA2dpSinkConnectionState() 304 .set(MediaMetrics.Property.STATE, in onSetA2dpSinkConnectionState() 358 .set(MediaMetrics.Property.ADDRESS, address) in onSetA2dpSourceConnectionState() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AnimationProperties.java | 22 import android.util.Property; 34 private ArrayMap<Property, Interpolator> mInterpolatorMap; 35 private Consumer<Property> mAnimationEndAction; 43 public boolean shouldAnimateProperty(Property property) { in getAnimationFilter() 52 public AnimatorListenerAdapter getAnimationFinishListener(Property property) { 56 Consumer<Property> endAction = mAnimationEndAction; 74 public AnimationProperties setAnimationEndAction(Consumer<Property> listener) { 86 public Interpolator getCustomInterpolator(View child, Property property) { 92 ArrayMap<Property, Interpolator> map = iconAnimationProperties.mInterpolatorMap; 104 public AnimationProperties setCustomInterpolator(Property property, Interpolator interpolator) {
|
D | AnimationFilter.java | 19 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/tools/processors/view_inspector/src/java/android/processor/view/inspector/ |
D | InspectablePropertyProcessor.java | 22 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 …]
|
D | InspectionCompanionGenerator.java | 21 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 …]
|
D | InspectableClassModel.java | 41 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/libs/hwui/ |
D | VectorDrawable.cpp | 230 Property currentProperty = static_cast<Property>(propertyId); in setColorPropertyValue() 231 if (currentProperty == Property::strokeColor) { in setColorPropertyValue() 233 } else if (currentProperty == Property::fillColor) { in setColorPropertyValue() 244 Property property = static_cast<Property>(propertyId); in setPropertyValue() 246 case Property::strokeWidth: in setPropertyValue() 249 case Property::strokeAlpha: in setPropertyValue() 252 case Property::fillAlpha: in setPropertyValue() 255 case Property::trimPathStart: in setPropertyValue() 258 case Property::trimPathEnd: in setPropertyValue() 261 case Property::trimPathOffset: in setPropertyValue() [all …]
|
/frameworks/base/tools/processors/view_inspector/test/resources/android/processor/view/inspector/InspectionCompanionGeneratorTest/ |
D | SimpleProperties.java.txt | 22 * 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/packages/SystemUI/src/com/android/systemui/qs/ |
D | TouchAnimator.java | 19 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 …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Stream.h | 65 template <typename Property> 66 Property get() const; 68 template <typename Property> 69 status_t set(Property property);
|
D | Element.h | 71 template <typename Property> 72 Property get() const; 85 template <typename Property> 86 status_t set(Property property);
|
D | InputSource.h | 65 template <typename Property> 66 Property get() const; 68 template <typename Property> 69 status_t set(Property property);
|
D | Engine.h | 118 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);
|
D | Engine.cpp | 105 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/ |
D | ICalendar.java | 76 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 …]
|
D | RecurrenceSet.java | 191 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/util/ |
D | Property.java | 28 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/core/java/android/animation/ |
D | ObjectAnimator.java | 25 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 …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerHandleView.java | 28 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | AnimatableProperty.java | 22 import android.util.Property; 140 public abstract Property getProperty(); in getProperty() 144 Property<T, Float> property = new FloatProperty<T>(name) { in from() 173 public Property getProperty() { in from() 179 public static <T extends View> AnimatableProperty from(Property<T, Float> property, 198 public Property getProperty() {
|
/frameworks/base/core/java/android/transition/ |
D | ChangeBounds.java | 37 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/ |
D | MtpPropertyGroup.java | 37 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() 167 return new Property(code, type, columns.size() - 1); in createProperty() 169 return new Property(code, type, -1); in createProperty() 183 for (Property property : mProperties) { in getPropertyList()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | VectorDrawable.java | 46 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 …]
|