Home
last modified time | relevance | path

Searched refs:property (Results 1 – 25 of 189) sorted by relevance

12345678

/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardEntryTests.java113 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/
DTypedProperties.java419 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/
Dconfig.py32 @property
37 @property
46 @property
54 @property
59 @property
64 @property
69 @property
74 @property
79 @property
84 @property
[all …]
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java66 Object property = document.getProperty(name); in toDocumentProto() local
67 if (property instanceof String[]) { in toDocumentProto()
68 String[] stringValues = (String[]) property; in toDocumentProto()
72 } else if (property instanceof long[]) { in toDocumentProto()
73 long[] longValues = (long[]) property; in toDocumentProto()
77 } else if (property instanceof double[]) { in toDocumentProto()
78 double[] doubleValues = (double[]) property; in toDocumentProto()
82 } else if (property instanceof boolean[]) { in toDocumentProto()
83 boolean[] booleanValues = (boolean[]) property; in toDocumentProto()
87 } else if (property instanceof byte[][]) { in toDocumentProto()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DPhysicsAnimationLayout.java111 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 …]
DStackAnimationController.java460 DynamicAnimation.ViewProperty property,
470 PhysicsAnimationLayout.getReadablePropertyName(property)));
472 StackPositionProperty firstBubbleProperty = new StackPositionProperty(property);
476 property.equals(DynamicAnimation.TRANSLATION_X)
480 property.equals(DynamicAnimation.TRANSLATION_X)
502 springFirstBubbleWithStackFollowing(property, spring, endVelocity,
509 cancelStackPositionAnimation(property);
510 mStackPositionAnimations.put(property, flingAnimation);
658 DynamicAnimation.ViewProperty property, SpringForce spring, in springFirstBubbleWithStackFollowing() argument
666 PhysicsAnimationLayout.getReadablePropertyName(property), in springFirstBubbleWithStackFollowing()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DPhysicsAnimator.kt179 property: FloatPropertyCompat<in T>, in spring()
189 springConfigs[property] = in spring()
201 property: FloatPropertyCompat<in T>, in spring()
207 property, toPosition, startVelocity, config.stiffness, config.dampingRatio) in spring()
217 property: FloatPropertyCompat<in T>, in spring()
221 return spring(property, toPosition, 0f, config) in spring()
231 property: FloatPropertyCompat<in T>, in spring()
234 return spring(property, toPosition, 0f) in spring()
259 property: FloatPropertyCompat<in T>, in fling()
270 flingConfigs[property] = FlingConfig(friction, min, max, startVelocity) in fling()
[all …]
DPhysicsAnimatorTestUtils.kt122 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/
DInspectionCompanionGenerator.java181 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/
DMtpPropertyGroup.java183 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/
DInspectionCompanionGeneratorTest.java85 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/
DPropertyAnimator.java60 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/
DTouchAnimator.java132 public Builder addFloat(Object target, String property, float... values) { in addFloat() argument
133 add(target, KeyframeSet.ofFloat(getProperty(target, property, float.class), values)); in addFloat()
137 public Builder addInt(Object target, String property, int... values) { in addInt() argument
138 add(target, KeyframeSet.ofInt(getProperty(target, property, int.class), values)); in addInt()
147 private static Property getProperty(Object target, String property, Class<?> cls) { in getProperty() argument
149 switch (property) { in getProperty()
170 if (target instanceof TouchAnimator && "position".equals(property)) { in getProperty()
173 return Property.of(target.getClass(), cls, property); in getProperty()
220 public static KeyframeSet ofInt(Property property, int... values) { in ofInt() argument
221 return new IntKeyframeSet((Property<?, Integer>) property, values); in ofInt()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageProperty.java162 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/
DRenderNodeAnimator.java31 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/
DMtpMockDatabase.cpp116 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 …]
DMtpMockDatabase.h70 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/
DAnimationProperties.java43 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/
DIMtpDatabase.h64 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/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V30.java168 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
DVCardParserImpl_V21.java331 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/
DPhysicsAnimationLayoutTestCase.java118 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/
DPropertyValuesHolder.java142 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/
Dandroid_mtp_MtpDatabase.cpp191 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/native/services/inputflinger/host/
DInputDriver.cpp260 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 …]

12345678