/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 270 Runnable action, DynamicAnimation.ViewProperty property) { 271 mLayout.mEndActionForProperty.put(property, action); 284 for (DynamicAnimation.ViewProperty property : properties) { 285 removeEndActionForProperty(property); 290 for (DynamicAnimation.ViewProperty property : properties) { 291 setEndActionForProperty(checkIfAllFinished, property); 299 protected void removeEndActionForProperty(DynamicAnimation.ViewProperty property) { [all …]
|
D | StackAnimationController.java | 447 DynamicAnimation.ViewProperty property, 457 PhysicsAnimationLayout.getReadablePropertyName(property))); 459 StackPositionProperty firstBubbleProperty = new StackPositionProperty(property); 463 property.equals(DynamicAnimation.TRANSLATION_X) 467 property.equals(DynamicAnimation.TRANSLATION_X) 489 springFirstBubbleWithStackFollowing(property, spring, endVelocity, 496 cancelStackPositionAnimation(property); 497 mStackPositionAnimations.put(property, flingAnimation); 620 DynamicAnimation.ViewProperty property, SpringForce spring, in springFirstBubbleWithStackFollowing() argument 628 PhysicsAnimationLayout.getReadablePropertyName(property), in springFirstBubbleWithStackFollowing() [all …]
|
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/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 | 119 for (property in properties) { in <lambda>() constant 120 if (animator.isPropertyAnimating(property)) { in <lambda>() 121 animatingProperties.add(property) in <lambda>() 131 property: FloatPropertyCompat<in T>, in <lambda>() 138 if (animatingProperties.contains(property)) { in <lambda>() 246 property: FloatPropertyCompat<in T>, in <lambda>() 252 if (!updateFrames.containsKey(property)) { in <lambda>() 258 val framesForProperty = ArrayList(updateFrames[property]!!) in <lambda>() 272 getAnimationUpdateFrames(animator).remove(property) in <lambda>() 283 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/proto_logging/stats/express/catalog/ |
D | automotive_os.cfg | 20 display_name: "Get property sync latency" 21 description: "Car service end to end latency for get property sync" 37 display_name: "Vehicle HAL get property latency" 38 …description: "End to end latency for Vehicle HAL getting a property value. This measures the time … 54 display_name: "Set property sync latency" 55 description: "Car service end to end latency for set property sync" 71 display_name: "Vehicle HAL set property latency" 72 description: "End to end latency for VHAL setting a property value" 104 display_name: "Async get property request latency" 105 description: "Latency to send an async get property request" [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/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | PropertyAnimator.java | 62 Property<T, Float> property = animatableProperty.getProperty(); in startAnimation() local 73 if (filter == null || !filter.shouldAnimateProperty(property)) { in startAnimation() 88 property.set(view, newEndValue); in startAnimation() 93 Float currentValue = property.get(view); in startAnimation() 94 AnimatorListenerAdapter listener = properties.getAnimationFinishListener(property); in startAnimation() 107 animation -> property.set(view, (Float) animation.getAnimatedValue())); in startAnimation() 108 Interpolator customInterpolator = properties.getCustomInterpolator(view, property); in startAnimation() 142 public static <T extends View> void applyImmediately(T view, AnimatableProperty property, in applyImmediately() argument 144 cancelAnimation(view, property); in applyImmediately() 145 property.getProperty().set(view, newValue); in applyImmediately() [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/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AnimationProperties.java | 44 public boolean shouldAnimateProperty(Property property) { in getAnimationFilter() 53 public AnimatorListenerAdapter getAnimationFinishListener(Property property) { 66 cancelAction.accept(property); 73 endAction.accept(property); 103 public Interpolator getCustomInterpolator(View child, Property property) { 104 return mInterpolatorMap != null ? mInterpolatorMap.get(property) : null; 121 public AnimationProperties setCustomInterpolator(Property property, Interpolator interpolator) { 125 mInterpolatorMap.put(property, interpolator);
|
/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 | 117 MtpObjectProperty property, in getObjectPropertyValue() argument 120 MtpDebug::getObjectPropCodeName(property)); in getObjectPropertyValue() 125 MtpObjectProperty property, in setObjectPropertyValue() argument 128 MtpDebug::getObjectPropCodeName(property)); in setObjectPropertyValue() 132 MtpResponseCode MtpMockDatabase::getDevicePropertyValue(MtpDeviceProperty property, in getDevicePropertyValue() argument 134 ALOGD("MockDatabase %s: property=%s\n", __func__, MtpDebug::getDevicePropCodeName(property)); in getDevicePropertyValue() 138 MtpResponseCode MtpMockDatabase::setDevicePropertyValue(MtpDeviceProperty property, in setDevicePropertyValue() argument 140 ALOGD("MockDatabase %s: property=%s\n", __func__, MtpDebug::getDevicePropCodeName(property)); in setDevicePropertyValue() 144 MtpResponseCode MtpMockDatabase::resetDeviceProperty(MtpDeviceProperty property) { in resetDeviceProperty() argument 145 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/util/ |
D | ReferenceExt.kt | 21 override fun getValue(thisRef: Any?, property: KProperty<*>): T? { in weakReference() 25 override fun setValue(thisRef: Any?, property: KProperty<*>, value: T?) { in weakReference() 43 override fun getValue(thisRef: Any?, property: KProperty<*>): T? { in softReference() 47 override fun setValue(thisRef: Any?, property: KProperty<*>, value: T?) { in softReference() 65 override fun getValue(thisRef: Any?, property: KProperty<*>): T? { in nullableAtomicReference() 69 override fun setValue(thisRef: Any?, property: KProperty<*>, value: T?) { in nullableAtomicReference()
|
/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;
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/ |
D | SmallAreaDetectionControllerTest.java | 89 final String property = PKG_A + ":" + THRESHOLD_A + "," + PKG_B + ":" + THRESHOLD_B; in testUpdateAllowlist_validProperty() local 90 mSmallAreaDetectionController.updateAllowlist(property); in testUpdateAllowlist_validProperty() 100 final String property = PKG_A + "," + PKG_B + ":" + THRESHOLD_B; in testUpdateAllowlist_includeInvalidRow() local 101 mSmallAreaDetectionController.updateAllowlist(property); in testUpdateAllowlist_includeInvalidRow() 111 final String property = in testUpdateAllowlist_includeNotInstalledPkg() local 113 mSmallAreaDetectionController.updateAllowlist(property); in testUpdateAllowlist_includeNotInstalledPkg() 123 final String property = PKG_A; in testUpdateAllowlist_invalidProperty() local 124 mSmallAreaDetectionController.updateAllowlist(property); in testUpdateAllowlist_invalidProperty()
|
/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
|
/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() 202 Runnable action, DynamicAnimation.ViewProperty property) { in setTestEndActionForProperty() argument 203 final Runnable realEndAction = mEndActionForProperty.get(property); in setTestEndActionForProperty() 204 mLayout.mEndActionForProperty.put(property, () -> { in setTestEndActionForProperty() 220 protected void animateValueForChild(DynamicAnimation.ViewProperty property, View view, in animateValueForChild() argument 224 property, view, value, startVel, startDelay, stiffness, dampingRatio, in animateValueForChild() 265 int getNextAnimationInChain(DynamicAnimation.ViewProperty property, int index) { in getNextAnimationInChain() argument 266 return mWrappedController.getNextAnimationInChain(property, index); in getNextAnimationInChain() 270 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/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuAnimationController.java | 224 private void flingThenSpringMenuWith(DynamicAnimation.ViewProperty property, float velocity, 227 final MenuPositionProperty menuPositionProperty = new MenuPositionProperty(property); 231 property.equals(DynamicAnimation.TRANSLATION_X) 235 property.equals(DynamicAnimation.TRANSLATION_X) 256 springMenuWith(property, spring, endVelocity, endPosition, 260 cancelAnimation(property); 261 mPositionAnimations.put(property, flingAnimation); 272 void springMenuWith(DynamicAnimation.ViewProperty property, SpringForce spring, 274 final MenuPositionProperty menuPositionProperty = new MenuPositionProperty(property); 293 cancelAnimation(property); [all …]
|