/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardEntryTests.java | 113 VCardProperty property = new VCardProperty(); in testNestHandling() local 114 property.setName(VCardConstants.PROPERTY_N); in testNestHandling() 115 property.setValues("test1"); in testNestHandling() 116 entryConstructor.onPropertyCreated(property); in testNestHandling() 119 property = new VCardProperty(); in testNestHandling() 120 property.setName(VCardConstants.PROPERTY_N); in testNestHandling() 121 property.setValues("test2"); in testNestHandling() 122 entryConstructor.onPropertyCreated(property); in testNestHandling() 125 property = new VCardProperty(); in testNestHandling() 126 property.setName(VCardConstants.PROPERTY_TEL); in testNestHandling() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TypedProperties.java | 419 TypeException(String property, Object value, String requestedType) { in TypeException() argument 420 super(property + " has type " + value.getClass().getName() + in TypeException() 434 public boolean getBoolean(String property, boolean def) { in getBoolean() argument 435 Object value = super.get(property); in getBoolean() 442 throw new TypeException(property, value, "boolean"); in getBoolean() 454 public byte getByte(String property, byte def) { in getByte() argument 455 Object value = super.get(property); in getByte() 462 throw new TypeException(property, value, "byte"); in getByte() 474 public short getShort(String property, short def) { in getShort() argument 475 Object value = super.get(property); in getShort() [all …]
|
/frameworks/rs/tests/lldb/ |
D | config.py | 32 @property 37 @property 46 @property 54 @property 59 @property 64 @property 69 @property 74 @property 79 @property 84 @property [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | PhysicsAnimationLayout.java | 110 abstract int getNextAnimationInChain(DynamicAnimation.ViewProperty property, int index); in getNextAnimationInChain() argument 119 abstract float getOffsetForChainedPropertyAnimation(DynamicAnimation.ViewProperty property); in getOffsetForChainedPropertyAnimation() argument 127 abstract SpringForce getSpringForce(DynamicAnimation.ViewProperty property, View view); in getSpringForce() argument 259 Runnable action, DynamicAnimation.ViewProperty property) { 260 mLayout.mEndActionForProperty.put(property, action); 273 for (DynamicAnimation.ViewProperty property : properties) { 274 removeEndActionForProperty(property); 279 for (DynamicAnimation.ViewProperty property : properties) { 280 setEndActionForProperty(checkIfAllFinished, property); 288 protected void removeEndActionForProperty(DynamicAnimation.ViewProperty property) { [all …]
|
D | StackAnimationController.java | 332 DynamicAnimation.ViewProperty property, 338 PhysicsAnimationLayout.getReadablePropertyName(property))); 340 StackPositionProperty firstBubbleProperty = new StackPositionProperty(property); 344 property.equals(DynamicAnimation.TRANSLATION_X) 348 property.equals(DynamicAnimation.TRANSLATION_X) 371 springFirstBubbleWithStackFollowing(property, spring, endVelocity, 378 cancelStackPositionAnimation(property); 379 mStackPositionAnimations.put(property, flingAnimation); 579 DynamicAnimation.ViewProperty property, SpringForce spring, 587 PhysicsAnimationLayout.getReadablePropertyName(property), [all …]
|
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/ |
D | InspectionCompanionGenerator.java | 181 for (Property property : properties) { in generateIdFieldSpecs() 184 property.getName().substring(0, 1).toUpperCase(), in generateIdFieldSpecs() 185 property.getName().substring(1))); in generateIdFieldSpecs() 187 fields.put(property, FieldSpec in generateIdFieldSpecs() 189 .addJavadoc("Property ID of {@code $L}.\n", property.getName()) in generateIdFieldSpecs() 230 for (Property property : properties) { in generateMapProperties() 231 final FieldSpec field = fields.get(property); in generateMapProperties() 232 switch (property.getType()) { in generateMapProperties() 235 property, in generateMapProperties() 237 mappingVariables.newName(property.getName() + "EnumMapping"))); in generateMapProperties() [all …]
|
/frameworks/base/media/java/android/mtp/ |
D | MtpPropertyGroup.java | 177 for (Property property : mProperties) { in getPropertyList() 178 if (property.column != -1 && c == null) { in getPropertyList() 195 switch (property.code) { in getPropertyList() 198 list.append(id, property.code, property.type, 0); in getPropertyList() 203 list.append(id, property.code, object.getName()); in getPropertyList() 208 list.append(id, property.code, in getPropertyList() 212 list.append(id, property.code, property.type, object.getStorageId()); in getPropertyList() 215 list.append(id, property.code, property.type, object.getFormat()); in getPropertyList() 218 list.append(id, property.code, property.type, object.getSize()); in getPropertyList() 221 list.append(id, property.code, property.type, in getPropertyList() [all …]
|
/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/ |
D | InspectionCompanionGeneratorTest.java | 85 final Property property = addProperty( in testNoAttributeId() local 89 property.setAttributeIdInferrableFromR(false); in testNoAttributeId() 90 mModel.putProperty(property); in testNoAttributeId() 97 final Property property = addProperty( in testSuppliedAttributeId() local 101 property.setAttributeId(0xdecafbad); in testSuppliedAttributeId() 108 final Property property = addProperty( in testIntEnum() local 113 property.setIntEnumEntries(Arrays.asList( in testIntEnum() 118 mModel.putProperty(property); in testIntEnum() 125 final Property property = addProperty( in testIntFlag() local 130 property.setAttributeIdInferrableFromR(false); in testIntFlag() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | TouchAnimator.java | 131 public Builder addFloat(Object target, String property, float... values) { in addFloat() argument 132 add(target, KeyframeSet.ofFloat(getProperty(target, property, float.class), values)); in addFloat() 136 public Builder addInt(Object target, String property, int... values) { in addInt() argument 137 add(target, KeyframeSet.ofInt(getProperty(target, property, int.class), values)); in addInt() 146 private static Property getProperty(Object target, String property, Class<?> cls) { in getProperty() argument 148 switch (property) { in getProperty() 169 if (target instanceof TouchAnimator && "position".equals(property)) { in getProperty() 172 return Property.of(target.getClass(), cls, property); in getProperty() 219 public static KeyframeSet ofInt(Property property, int... values) { in ofInt() argument 220 return new IntKeyframeSet((Property<?, Integer>) property, values); in ofInt() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | PropertyAnimator.java | 53 Property<T, Float> property = animatableProperty.getProperty(); in startAnimation() local 64 if (!filter.shouldAnimateProperty(property)) { in startAnimation() 79 property.set(view, newEndValue); in startAnimation() 84 Float currentValue = property.get(view); in startAnimation() 87 animation -> property.set(view, (Float) animation.getAnimatedValue())); in startAnimation() 88 Interpolator customInterpolator = properties.getCustomInterpolator(view, property); in startAnimation() 118 public static <T extends View> void applyImmediately(T view, AnimatableProperty property, in applyImmediately() argument 120 cancelAnimation(view, property); in applyImmediately() 121 property.getProperty().set(view, newValue); in applyImmediately() 124 public static void cancelAnimation(View view, AnimatableProperty property) { in cancelAnimation() argument [all …]
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2TestClientTarget.cpp | 66 for (auto property : properties) { in dump() local 67 dmp << property->dump(); in dump() 75 for (auto property : properties) { in reset() local 76 property->reset(); in reset() 82 for (auto property : properties) { in advance() local 83 if (property->advance()) in advance()
|
D | Hwc2TestLayer.cpp | 21 Hwc2TestCoverage getCoverage(Hwc2TestPropertyName property, in getCoverage() argument 24 auto exception = coverageExceptions.find(property); in getCoverage() 69 for (auto property : mProperties) { in dump() local 70 dmp << property->dump(); in dump() 108 for (auto property : mProperties) { in reset() local 109 property->reset(); in reset() 115 for (auto property : mProperties) { in advance() local 116 if (property->isSupported(mComposition.get())) in advance() 117 if (property->advance()) in advance()
|
/frameworks/av/media/mtp/ |
D | IMtpDatabase.h | 64 MtpObjectProperty property, 68 MtpObjectProperty property, 71 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property, 74 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property, 77 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property) = 0; 80 uint32_t format, uint32_t property, 102 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property, 105 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property) = 0;
|
D | MtpDevice.cpp | 263 MtpProperty* property = getDevicePropDesc(propCode); in initialize() local 264 if (property) in initialize() 265 mDeviceProperties.push_back(property); in initialize() 290 MtpProperty* property = getDevicePropDesc(propCode); in print() local 291 if (property) { in print() 292 property->print(); in print() 293 delete property; in print() 308 MtpProperty* property = getObjectPropDesc(prop, format); in print() local 309 if (property) { in print() 310 property->print(); in print() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | PropertyValuesHolder.java | 142 private PropertyValuesHolder(Property property) { in PropertyValuesHolder() argument 143 mProperty = property; in PropertyValuesHolder() 144 if (property != null) { in PropertyValuesHolder() 145 mPropertyName = property.getName(); in PropertyValuesHolder() 167 public static PropertyValuesHolder ofInt(Property<?, Integer> property, int... values) { in ofInt() argument 168 return new IntPropertyValuesHolder(property, values); in ofInt() 286 public static PropertyValuesHolder ofFloat(Property<?, Float> property, float... values) { in ofFloat() argument 287 return new FloatPropertyValuesHolder(property, values); in ofFloat() 454 public static <V> PropertyValuesHolder ofObject(Property property, in ofObject() argument 456 PropertyValuesHolder pvh = new PropertyValuesHolder(property); in ofObject() [all …]
|
D | ObjectAnimator.java | 136 public void setProperty(@NonNull Property property) { in setProperty() argument 142 valuesHolder.setProperty(property); in setProperty() 147 mPropertyName = property.getName(); in setProperty() 149 mProperty = property; in setProperty() 223 private <T> ObjectAnimator(T target, Property<T, ?> property) { in ObjectAnimator() argument 225 setProperty(property); in ObjectAnimator() 289 public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> property, int... values) { in ofInt() argument 290 ObjectAnimator anim = new ObjectAnimator(target, property); in ofInt() 420 public static <T> ObjectAnimator ofArgb(T target, Property<T, Integer> property, in ofArgb() argument 422 ObjectAnimator animator = ofInt(target, property, values); in ofArgb() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/ |
D | PhysicsAnimationLayoutTestCase.java | 118 for (DynamicAnimation.ViewProperty property : properties) { in waitForPropertyAnimations() 119 mLayout.setTestEndActionForProperty(animLatch::countDown, property); in waitForPropertyAnimations() 196 Runnable action, DynamicAnimation.ViewProperty property) { in setTestEndActionForProperty() argument 197 final Runnable realEndAction = mEndActionForProperty.get(property); in setTestEndActionForProperty() 198 mLayout.mEndActionForProperty.put(property, () -> { in setTestEndActionForProperty() 214 protected void animateValueForChild(DynamicAnimation.ViewProperty property, View view, in animateValueForChild() argument 218 property, view, value, startVel, startDelay, stiffness, dampingRatio, in animateValueForChild() 256 int getNextAnimationInChain(DynamicAnimation.ViewProperty property, int index) { in getNextAnimationInChain() argument 257 return mWrappedController.getNextAnimationInChain(property, index); in getNextAnimationInChain() 261 float getOffsetForChainedPropertyAnimation(DynamicAnimation.ViewProperty property) { in getOffsetForChainedPropertyAnimation() argument [all …]
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDatabase.cpp | 134 MtpObjectProperty property, 138 MtpObjectProperty property, 141 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property, 144 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property, 147 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property); 150 uint32_t format, uint32_t property, 166 bool getObjectPropertyInfo(MtpObjectProperty property, int& type); 167 bool getDevicePropertyInfo(MtpDeviceProperty property, int& type); 174 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property, 177 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property); [all …]
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardParserImpl_V30.java | 168 protected void handleParamWithoutName(VCardProperty property, final String paramValue) { in handleParamWithoutName() argument 169 handleType(property, paramValue); in handleParamWithoutName() 185 protected void handleType(VCardProperty property, final String paramValue) { in handleType() argument 186 splitAndPutParam(property, VCardConstants.PARAM_TYPE, paramValue); in handleType() 201 private void splitAndPutParam(VCardProperty property, String paramName, String paramValue) { in splitAndPutParam() argument 218 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam() 231 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam() 241 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam() 263 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam() 277 protected void handleAgent(VCardProperty property) { in handleAgent() argument
|
D | VCardParserImpl_V21.java | 331 private void parseItemInter(VCardProperty property, String propertyNameUpper) in parseItemInter() argument 333 String propertyRawValue = property.getRawValue(); in parseItemInter() 335 handleAgent(property); in parseItemInter() 342 handlePropertyValue(property, propertyNameUpper); in parseItemInter() 571 protected void handlePropertyValue(VCardProperty property, String propertyName) 573 final String propertyNameUpper = property.getName().toUpperCase(); 574 String propertyRawValue = property.getRawValue(); 577 property.getParameters(VCardConstants.PARAM_CHARSET); 588 handleAdrOrgN(property, propertyRawValue, sourceCharset, targetCharset); 597 property.getParameters(VCardConstants.PARAM_ENCODING) == null && [all …]
|
/frameworks/base/libs/hwui/ |
D | Properties.cpp | 82 char property[PROPERTY_VALUE_MAX]; in load() local 87 if (property_get(PROPERTY_DEBUG_OVERDRAW, property, nullptr) > 0) { in load() 88 INIT_LOGD(" Overdraw debug enabled: %s", property); in load() 89 if (!strcmp(property, "show")) { in load() 92 } else if (!strcmp(property, "show_deuteranomaly")) { in load() 99 if (property_get(PROPERTY_PROFILE, property, "") > 0) { in load() 100 if (!strcmp(property, PROPERTY_PROFILE_VISUALIZE_BARS)) { in load() 102 } else if (!strcmp(property, "true")) { in load()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AnimationProperties.java | 40 public boolean shouldAnimateProperty(Property property) { in getAnimationFilter() 65 public Interpolator getCustomInterpolator(View child, Property property) { 66 return mInterpolatorMap != null ? mInterpolatorMap.get(property) : null; 83 public AnimationProperties setCustomInterpolator(Property property, Interpolator interpolator) { 87 mInterpolatorMap.put(property, interpolator);
|
/frameworks/native/services/inputflinger/host/ |
D | InputDriver.cpp | 257 const char* InputDriver::inputGetPropertyKey(input_property_t* property) { in inputGetPropertyKey() argument 258 if (property != nullptr) { in inputGetPropertyKey() 259 return property->key.string(); in inputGetPropertyKey() 264 const char* InputDriver::inputGetPropertyValue(input_property_t* property) { in inputGetPropertyValue() argument 265 if (property != nullptr) { in inputGetPropertyValue() 266 return property->value.string(); in inputGetPropertyValue() 271 void InputDriver::inputFreeDeviceProperty(input_property_t* property) { in inputFreeDeviceProperty() argument 272 if (property != nullptr) { in inputFreeDeviceProperty() 273 delete property; in inputFreeDeviceProperty() 392 const char* input_get_property_key(input_host_t* host, input_property_t* property) { in input_get_property_key() argument [all …]
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | VNodeBuilder.java | 99 public void onPropertyCreated(VCardProperty property) { in onPropertyCreated() argument 102 propNode.propName = property.getName(); in onPropertyCreated() 103 List<String> groupList = property.getGroupList(); in onPropertyCreated() 107 Map<String, Collection<String>> propertyParameterMap = property.getParameterMap(); in onPropertyCreated() 121 if (property.getRawValue() == null) { in onPropertyCreated() 129 final List<String> values = property.getValueList(); in onPropertyCreated() 138 propNode.propValue_bytes = property.getByteValue(); in onPropertyCreated()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMixingRule.java | 329 public Builder addMixRule(int rule, Object property) throws IllegalArgumentException { in addMixRule() argument 333 return checkAddRuleObjInternal(rule, property); in addMixRule() 358 public Builder excludeMixRule(int rule, Object property) throws IllegalArgumentException { in excludeMixRule() argument 362 return checkAddRuleObjInternal(rule | RULE_EXCLUSION_MASK, property); in excludeMixRule() 392 private Builder checkAddRuleObjInternal(int rule, Object property) in checkAddRuleObjInternal() argument 394 if (property == null) { in checkAddRuleObjInternal() 402 if (!(property instanceof AudioAttributes)) { in checkAddRuleObjInternal() 405 return addRuleInternal((AudioAttributes) property, null, rule); in checkAddRuleObjInternal() 408 if (!(property instanceof Integer)) { in checkAddRuleObjInternal() 411 return addRuleInternal(null, (Integer) property, rule); in checkAddRuleObjInternal()
|