/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/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
D | PhysicsAnimationLayout.java | 111 abstract int getNextAnimationInChain(DynamicAnimation.ViewProperty property, int index); in getNextAnimationInChain() argument 121 DynamicAnimation.ViewProperty property, int index); in getOffsetForChainedPropertyAnimation() argument 129 abstract SpringForce getSpringForce(DynamicAnimation.ViewProperty property, View view); in getSpringForce() argument 261 Runnable action, DynamicAnimation.ViewProperty property) { 262 mLayout.mEndActionForProperty.put(property, action); 275 for (DynamicAnimation.ViewProperty property : properties) { 276 removeEndActionForProperty(property); 281 for (DynamicAnimation.ViewProperty property : properties) { 282 setEndActionForProperty(checkIfAllFinished, property); 290 protected void removeEndActionForProperty(DynamicAnimation.ViewProperty property) { [all …]
|
D | StackAnimationController.java | 450 DynamicAnimation.ViewProperty property, 460 PhysicsAnimationLayout.getReadablePropertyName(property))); 462 StackPositionProperty firstBubbleProperty = new StackPositionProperty(property); 466 property.equals(DynamicAnimation.TRANSLATION_X) 470 property.equals(DynamicAnimation.TRANSLATION_X) 492 springFirstBubbleWithStackFollowing(property, spring, endVelocity, 499 cancelStackPositionAnimation(property); 500 mStackPositionAnimations.put(property, flingAnimation); 623 DynamicAnimation.ViewProperty property, SpringForce spring, in springFirstBubbleWithStackFollowing() argument 631 PhysicsAnimationLayout.getReadablePropertyName(property), in springFirstBubbleWithStackFollowing() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/ |
D | PhysicsAnimator.kt | 173 property: FloatPropertyCompat<in T>, in spring() 183 springConfigs[property] = in spring() 195 property: FloatPropertyCompat<in T>, in spring() 201 property, toPosition, startVelocity, config.stiffness, config.dampingRatio) in spring() 211 property: FloatPropertyCompat<in T>, in spring() 215 return spring(property, toPosition, 0f, config) in spring() 225 property: FloatPropertyCompat<in T>, in spring() 228 return spring(property, toPosition, 0f) in spring() 253 property: FloatPropertyCompat<in T>, in fling() 264 flingConfigs[property] = FlingConfig(friction, min, max, startVelocity) in fling() [all …]
|
D | PhysicsAnimatorTestUtils.kt | 122 for (property in properties) { in <lambda>() constant 123 if (animator.isPropertyAnimating(property)) { in <lambda>() 124 animatingProperties.add(property) in <lambda>() 134 property: FloatPropertyCompat<in T>, in <lambda>() 141 if (animatingProperties.contains(property)) { in <lambda>() 249 property: FloatPropertyCompat<in T>, in <lambda>() 255 if (!updateFrames.containsKey(property)) { in <lambda>() 261 val framesForProperty = ArrayList(updateFrames[property]!!) in <lambda>() 277 getAnimationUpdateFrames(animator).remove(property) in <lambda>() 288 val readablePropertyName = PhysicsAnimator.getReadablePropertyName(property) in <lambda>() [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 | 183 for (Property property : mProperties) { in getPropertyList() 184 if (property.column != -1 && c == null) { in getPropertyList() 201 switch (property.code) { in getPropertyList() 204 list.append(id, property.code, property.type, 0); in getPropertyList() 209 list.append(id, property.code, object.getName()); in getPropertyList() 214 list.append(id, property.code, in getPropertyList() 218 list.append(id, property.code, property.type, object.getStorageId()); in getPropertyList() 221 list.append(id, property.code, property.type, object.getFormat()); in getPropertyList() 224 list.append(id, property.code, property.type, object.getSize()); in getPropertyList() 227 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/statusbar/notification/ |
D | PropertyAnimator.java | 60 Property<T, Float> property = animatableProperty.getProperty(); in startAnimation() local 71 if (filter == null || !filter.shouldAnimateProperty(property)) { in startAnimation() 86 property.set(view, newEndValue); in startAnimation() 91 Float currentValue = property.get(view); in startAnimation() 92 AnimatorListenerAdapter listener = properties.getAnimationFinishListener(property); in startAnimation() 105 animation -> property.set(view, (Float) animation.getAnimatedValue())); in startAnimation() 106 Interpolator customInterpolator = properties.getCustomInterpolator(view, property); in startAnimation() 135 public static <T extends View> void applyImmediately(T view, AnimatableProperty property, in applyImmediately() argument 137 cancelAnimation(view, property); in applyImmediately() 138 property.getProperty().set(view, newValue); in applyImmediately() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | TouchAnimator.java | 143 public Builder addFloat(Object target, String property, float... values) { in addFloat() argument 144 add(target, KeyframeSet.ofFloat(getProperty(target, property, float.class), values)); in addFloat() 148 public Builder addInt(Object target, String property, int... values) { in addInt() argument 149 add(target, KeyframeSet.ofInt(getProperty(target, property, int.class), values)); in addInt() 158 private static Property getProperty(Object target, String property, Class<?> cls) { in getProperty() argument 160 switch (property) { in getProperty() 181 if (target instanceof TouchAnimator && "position".equals(property)) { in getProperty() 184 return Property.of(target.getClass(), cls, property); in getProperty() 232 public static KeyframeSet ofInt(Property property, int... values) { in ofInt() argument 233 return new IntKeyframeSet((Property<?, Integer>) property, values); in ofInt() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageProperty.java | 162 final Property property = iter.next(); in addProperties() local 163 final String propertyName = property.getName(); in addProperties() 164 final String packageName = property.getPackageName(); in addProperties() 175 packageProperties.add(property); in addProperties() 207 final Property property = iter.next(); in removeProperties() local 208 final String propertyName = property.getName(); in removeProperties() 209 final String packageName = property.getPackageName(); in removeProperties() 221 packageProperties.remove(property); in removeProperties() 249 final Property property = propertyList.get(i); in getProperty() local 250 if (Objects.equals(className, property.getClassName())) { in getProperty() [all …]
|
/frameworks/base/core/java/android/view/ |
D | RenderNodeAnimator.java | 31 public RenderNodeAnimator(int property, float finalValue) { in RenderNodeAnimator() argument 32 super(property, finalValue); in RenderNodeAnimator() 35 public RenderNodeAnimator(CanvasProperty<Float> property, float finalValue) { in RenderNodeAnimator() argument 36 super(property, finalValue); in RenderNodeAnimator() 39 public RenderNodeAnimator(CanvasProperty<Paint> property, int paintField, float finalValue) { in RenderNodeAnimator() argument 40 super(property, paintField, finalValue); in RenderNodeAnimator()
|
/frameworks/av/media/mtp/tests/MtpFuzzer/ |
D | MtpMockDatabase.cpp | 116 MtpObjectProperty property, in getObjectPropertyValue() argument 119 MtpDebug::getObjectPropCodeName(property)); in getObjectPropertyValue() 124 MtpObjectProperty property, in setObjectPropertyValue() argument 127 MtpDebug::getObjectPropCodeName(property)); in setObjectPropertyValue() 131 MtpResponseCode MtpMockDatabase::getDevicePropertyValue(MtpDeviceProperty property, in getDevicePropertyValue() argument 133 ALOGD("MockDatabase %s: property=%s\n", __func__, MtpDebug::getDevicePropCodeName(property)); in getDevicePropertyValue() 137 MtpResponseCode MtpMockDatabase::setDevicePropertyValue(MtpDeviceProperty property, in setDevicePropertyValue() argument 139 ALOGD("MockDatabase %s: property=%s\n", __func__, MtpDebug::getDevicePropCodeName(property)); in setDevicePropertyValue() 143 MtpResponseCode MtpMockDatabase::resetDeviceProperty(MtpDeviceProperty property) { in resetDeviceProperty() argument 144 ALOGD("MockDatabase %s: property=%s\n", __func__, MtpDebug::getDevicePropCodeName(property)); in resetDeviceProperty() [all …]
|
D | MtpMockDatabase.h | 70 MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, 73 MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, 76 MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet); 78 MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet); 80 MtpResponseCode resetDeviceProperty(MtpDeviceProperty property); 83 uint32_t property, int groupCode, int depth, 102 MtpProperty* getObjectPropertyDesc(MtpObjectProperty property, MtpObjectFormat format); 104 MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AnimationProperties.java | 43 public boolean shouldAnimateProperty(Property property) { in getAnimationFilter() 52 public AnimatorListenerAdapter getAnimationFinishListener(Property property) { 68 endAction.accept(property); 86 public Interpolator getCustomInterpolator(View child, Property property) { 87 return mInterpolatorMap != null ? mInterpolatorMap.get(property) : null; 104 public AnimationProperties setCustomInterpolator(Property property, Interpolator interpolator) { 108 mInterpolatorMap.put(property, interpolator);
|
/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, 104 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property, 107 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/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/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/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/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 …]
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDatabase.cpp | 191 MtpObjectProperty property, 195 MtpObjectProperty property, 198 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property, 201 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property, 204 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property); 207 uint32_t format, uint32_t property, 224 bool getObjectPropertyInfo(MtpObjectProperty property, int& type); 225 bool getDevicePropertyInfo(MtpDeviceProperty property, int& type); 232 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property, 235 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property); [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/native/services/inputflinger/host/ |
D | InputDriver.cpp | 260 const char* InputDriver::inputGetPropertyKey(input_property_t* property) { in inputGetPropertyKey() argument 261 if (property != nullptr) { in inputGetPropertyKey() 262 return property->key.string(); in inputGetPropertyKey() 267 const char* InputDriver::inputGetPropertyValue(input_property_t* property) { in inputGetPropertyValue() argument 268 if (property != nullptr) { in inputGetPropertyValue() 269 return property->value.string(); in inputGetPropertyValue() 274 void InputDriver::inputFreeDeviceProperty(input_property_t* property) { in inputFreeDeviceProperty() argument 275 if (property != nullptr) { in inputFreeDeviceProperty() 276 delete property; in inputFreeDeviceProperty() 394 const char* input_get_property_key(input_host_t* host, input_property_t* property) { in input_get_property_key() argument [all …]
|