Searched refs:property (Results 1 - 25 of 59) sorted by relevance

123

/frameworks/base/core/jni/android/graphics/
H A DRtlProperties.h41 char property[PROPERTY_VALUE_MAX]; local
42 if (property_get(RTL_PROPERTY_DEBUG, property, NULL) > 0) {
43 return (RtlDebugLevel) atoi(property);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardEntryTests.java113 VCardProperty property = new VCardProperty();
114 property.setName(VCardConstants.PROPERTY_N);
115 property.setValues("test1");
116 entryConstructor.onPropertyCreated(property);
119 property = new VCardProperty();
120 property.setName(VCardConstants.PROPERTY_N);
121 property.setValues("test2");
122 entryConstructor.onPropertyCreated(property);
125 property = new VCardProperty();
126 property
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardInterpreter.java33 * The term "property" is one line in vCard entry, which consists of "group", "property name",
34 * "parameter(param) names and values", and "property values".
76 * Called when a property is created.
78 void onPropertyCreated(VCardProperty property); argument
H A DVCardEntryCounter.java46 public void onPropertyCreated(VCardProperty property) { argument
H A DVCardParserImpl_V30.java181 protected void handleParamWithoutName(VCardProperty property, final String paramValue) { argument
182 handleType(property, paramValue);
198 protected void handleType(VCardProperty property, final String paramValue) { argument
199 splitAndPutParam(property, VCardConstants.PARAM_TYPE, paramValue);
214 private void splitAndPutParam(VCardProperty property, String paramName, String paramValue) { argument
231 property.addParameter(paramName, encodeParamValue(builder.toString()));
239 Log.w(LOG_TAG, "Unexpected Dquote inside property.");
244 property.addParameter(paramName, encodeParamValue(builder.toString()));
254 property.addParameter(paramName, encodeParamValue(builder.toString()));
276 property
290 handleAgent(VCardProperty property) argument
[all...]
H A DVCardParserImpl_V21.java165 * @return true when a given property name is a valid property name.
330 private void parseItemInter(VCardProperty property, String propertyNameUpper) argument
332 String propertyRawValue = property.getRawValue();
334 handleAgent(property);
341 handlePropertyValue(property, propertyNameUpper);
343 throw new VCardException("Unknown property name: \"" + propertyNameUpper + "\"");
357 // For performance reason, the states for group and property name are merged into one.
380 if (ch == ':') { // End of a property name.
392 nameIndex = i + 1; // Next should be another group or a property nam
570 handlePropertyValue(VCardProperty property, String propertyName) argument
692 handleAdrOrgN(VCardProperty property, String propertyRawValue, String sourceCharset, String targetCharset) argument
904 handleAgent(final VCardProperty property) argument
[all...]
H A DVCardSourceDetector.java102 public void onPropertyCreated(VCardProperty property) { argument
103 final String propertyName = property.getName();
104 final List<String> valueList = property.getValueList();
H A DVCardEntryConstructor.java129 public void onPropertyCreated(VCardProperty property) { argument
130 mCurrentEntry.addProperty(property);
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java45 * - property names: [._$a-zA-Z0-9]
144 /* A property name must be a valid fully-qualified class + package name.
177 // Read the property name.
180 throw new ParseException(st, "property name");
184 throw new ParseException(st, "valid property name");
207 // the same property is defined with a different type.
210 "(property previously declared as a different type)");
313 // This property is a float; make sure the value fits.
322 // This property is a double; no need to truncate.
355 * &lt;type&gt; &lt;property
419 TypeException(String property, Object value, String requestedType) argument
434 getBoolean(String property, boolean def) argument
454 getByte(String property, byte def) argument
474 getShort(String property, short def) argument
494 getInt(String property, int def) argument
514 getLong(String property, long def) argument
534 getFloat(String property, float def) argument
554 getDouble(String property, double def) argument
574 getString(String property, String def) argument
599 getBoolean(String property) argument
611 getByte(String property) argument
623 getShort(String property) argument
635 getInt(String property) argument
647 getLong(String property) argument
659 getFloat(String property) argument
671 getDouble(String property) argument
683 getString(String property) argument
702 getStringInfo(String property) argument
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyList.java38 // list of long int property values (fourth field in quadruplet, when value is integer type)
40 // list of long int property values (fourth field in quadruplet, when value is string type)
53 public void append(int handle, int property, int type, long value) { argument
59 mPropertyCodes[index] = property;
64 public void append(int handle, int property, String value) { argument
70 mPropertyCodes[index] = property;
/frameworks/base/libs/hwui/
H A DGammaFontRenderer.cpp44 char property[PROPERTY_VALUE_MAX]; local
45 if (property_get(PROPERTY_TEXT_GAMMA_METHOD, property, DEFAULT_TEXT_GAMMA_METHOD) > 0) {
46 if (!strcasecmp(property, "lookup")) {
48 } else if (!strcasecmp(property, "shader")) {
50 } else if (!strcasecmp(property, "shader3")) {
60 char property[PROPERTY_VALUE_MAX]; local
64 if (property_get(PROPERTY_TEXT_GAMMA, property, NULL) > 0) {
65 INIT_LOGD(" Setting text gamma to %s", property);
66 mGamma = atof(property);
73 if (property_get(PROPERTY_TEXT_BLACK_GAMMA_THRESHOLD, property, NUL
[all...]
H A DProperties.h147 char property[PROPERTY_VALUE_MAX]; local
148 if (property_get(PROPERTY_DEBUG, property, NULL) > 0) {
149 return (DebugLevel) atoi(property);
H A DFboCache.cpp33 char property[PROPERTY_VALUE_MAX]; local
34 if (property_get(PROPERTY_FBO_CACHE_SIZE, property, NULL) > 0) {
35 INIT_LOGD(" Setting fbo cache size to %s", property);
36 mMaxSize = atoi(property);
H A DTextDropShadowCache.cpp33 char property[PROPERTY_VALUE_MAX]; local
34 if (property_get(PROPERTY_DROP_SHADOW_CACHE_SIZE, property, NULL) > 0) {
35 INIT_LOGD(" Setting drop shadow cache size to %sMB", property);
36 setMaxSize(MB(atof(property)));
H A DLayerCache.cpp36 char property[PROPERTY_VALUE_MAX]; local
37 if (property_get(PROPERTY_LAYER_CACHE_SIZE, property, NULL) > 0) {
38 INIT_LOGD(" Setting layer cache size to %sMB", property);
39 setMaxSize(MB(atof(property)));
/frameworks/av/media/mtp/
H A DMtpDatabase.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,
101 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property,
104 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property) = 0;
H A DMtpServer.cpp616 MtpObjectProperty property = mRequest.getParameter(2); local
618 MtpDebug::getObjectPropCodeName(property));
620 return mDatabase->getObjectPropertyValue(handle, property, mData);
627 MtpObjectProperty property = mRequest.getParameter(2); local
629 MtpDebug::getObjectPropCodeName(property));
631 return mDatabase->setObjectPropertyValue(handle, property, mData);
635 MtpDeviceProperty property = mRequest.getParameter(1); local
637 MtpDebug::getDevicePropCodeName(property));
639 return mDatabase->getDevicePropertyValue(property, mData);
643 MtpDeviceProperty property local
651 MtpDeviceProperty property = mRequest.getParameter(1); local
665 uint32_t property = mRequest.getParameter(3); local
1071 MtpProperty* property = mDatabase->getObjectPropertyDesc(propCode, format); local
1082 MtpProperty* property = mDatabase->getDevicePropertyDesc(propCode); local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DBuild_Delegate.java38 /*package*/ static String getString(String property) { argument
40 String value = properties.get(property);
/frameworks/base/core/java/android/os/
H A DBuild.java25 /** Value used for when a build property is unknown. */
465 private static String getString(String property) { argument
466 return SystemProperties.get(property, UNKNOWN);
469 private static long getLong(String property) { argument
471 return Long.parseLong(SystemProperties.get(property));
/frameworks/base/core/java/android/animation/
H A DObjectAnimator.java28 * as well as the name of the property that will be animated. Appropriate set/get functions
30 * animate the property.
45 // The target object on which the property exists, set in the constructor
53 * Sets the name of the property that will be animated. This name is used to derive
55 * For example, a property name of <code>foo</code> will result
61 * name of the property being animated, use <code>float</code> or <code>int</code> typed values,
64 * property types and return types will work, but will have more overhead in processing
67 * <p>Note that the setter function derived from this property name
76 * @param propertyName The name of the property being animated. Should not be null.
89 // New property/value
100 setProperty(Property property) argument
158 ObjectAnimator(T target, Property<T, ?> property) argument
195 ofInt(T target, Property<T, Integer> property, int... values) argument
233 ofFloat(T target, Property<T, Float> property, float... values) argument
280 ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... values) argument
[all...]
H A DPropertyValuesHolder.java30 * This class holds information about a property and the values that that property
38 * The name of the property associated with the values. This need not be a real property,
51 * PropertyValuesHolder, since it holds all of the per-property information. This
52 * property is automatically
59 * PropertyValuesHolder, since it holds all of the per-property information. This
60 * property is automatically
96 // These maps hold all property entries for a particular class. This map
97 // is used to speed up property/sette
138 PropertyValuesHolder(Property property) argument
163 ofInt(Property<?, Integer> property, int... values) argument
185 ofFloat(Property<?, Float> property, float... values) argument
221 ofObject(Property property, TypeEvaluator<V> evaluator, V... values) argument
279 ofKeyframe(Property property, Keyframe... values) argument
690 setProperty(Property property) argument
761 IntPropertyValuesHolder(Property property, IntKeyframeSet keyframeSet) argument
776 IntPropertyValuesHolder(Property property, int... values) argument
898 FloatPropertyValuesHolder(Property property, FloatKeyframeSet keyframeSet) argument
913 FloatPropertyValuesHolder(Property property, float... values) argument
[all...]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DVNodeBuilder.java100 public void onPropertyCreated(VCardProperty property) { argument
103 propNode.propName = property.getName();
104 List<String> groupList = property.getGroupList();
108 Map<String, Collection<String>> propertyParameterMap = property.getParameterMap();
122 if (property.getRawValue() == null) {
130 final List<String> values = property.getValueList();
139 propNode.propValue_bytes = property.getByteValue();
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp124 MtpObjectProperty property,
128 MtpObjectProperty property,
131 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property,
134 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property,
137 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property);
140 uint32_t format, uint32_t property,
155 bool getObjectPropertyInfo(MtpObjectProperty property, int& type);
156 bool getDevicePropertyInfo(MtpDeviceProperty property, int& type);
163 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property,
166 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property);
353 getObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
466 setObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
524 getDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet) argument
590 setDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet) argument
647 resetDeviceProperty(MtpDeviceProperty property) argument
651 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument
881 MtpObjectProperty property; member in struct:PropertyTableEntry
914 getObjectPropertyInfo(MtpObjectProperty property, int& type) argument
926 getDevicePropertyInfo(MtpDeviceProperty property, int& type) argument
977 getObjectPropertyDesc(MtpObjectProperty property, MtpObjectFormat format) argument
1025 getDevicePropertyDesc(MtpDeviceProperty property) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java61 * Adds an animation that interpolates given property from its current value
66 * @param property the property to animate
71 String property, float toValue, boolean replace) {
73 if (replace) removeAnimationFor(property);
75 ObjectAnimator anim = ObjectAnimator.ofFloat(this, property, toValue);
85 * Stops all animations for the given property and removes it from the list.
87 * @param property
89 public void removeAnimationFor(String property) { argument
92 if (property
70 addAnimTo(long duration, long delay, String property, float toValue, boolean replace) argument
[all...]
/frameworks/base/services/java/com/android/server/power/
H A DRampAnimator.java24 * A custom animator that progressively updates a property value at
42 public RampAnimator(T object, IntProperty<T> property) { argument
44 mProperty = property;
51 * If this is the first time the property is being set, the value jumps

Completed in 262 milliseconds

123