Searched refs:property (Results 1 - 25 of 61) 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
698 handleAdrOrgN(VCardProperty property, String propertyRawValue, String sourceCharset, String targetCharset) argument
910 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();
/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/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
1072 MtpProperty* property = mDatabase->getObjectPropertyDesc(propCode, format); local
1083 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/libs/hwui/
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 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.h188 // Default property values
216 char property[PROPERTY_VALUE_MAX]; local
217 if (property_get(PROPERTY_DEBUG, property, NULL) > 0) {
218 return (DebugLevel) atoi(property);
H A DExtensions.cpp68 char property[PROPERTY_VALUE_MAX]; local
69 if (property_get(PROPERTY_DEBUG_NV_PROFILING, property, NULL) > 0) {
70 mHasNvSystemTime = !strcmp(property, "true") && hasEglExtension("EGL_NV_system_time");
H A DRenderBufferCache.cpp44 char property[PROPERTY_VALUE_MAX]; local
45 if (property_get(PROPERTY_RENDER_BUFFER_CACHE_SIZE, property, NULL) > 0) {
46 INIT_LOGD(" Setting render buffer cache size to %sMB", property);
47 setMaxSize(MB(atof(property)));
H A DCaches.cpp149 char property[PROPERTY_VALUE_MAX]; local
150 if (property_get(PROPERTY_ENABLE_GPU_PIXEL_BUFFERS, property, "true") > 0) {
151 gpuPixelBuffersEnabled = !strcmp(property, "true");
161 char property[PROPERTY_VALUE_MAX]; local
162 if (property_get(PROPERTY_DEBUG_LAYERS_UPDATES, property, NULL) > 0) {
163 INIT_LOGD(" Layers updates debug enabled: %s", property);
164 debugLayersUpdates = !strcmp(property, "true");
170 if (property_get(PROPERTY_DEBUG_OVERDRAW, property, NULL) > 0) {
171 INIT_LOGD(" Overdraw debug enabled: %s", property);
172 if (!strcmp(property, "sho
[all...]
H A DLayerCache.cpp35 char property[PROPERTY_VALUE_MAX]; local
36 if (property_get(PROPERTY_LAYER_CACHE_SIZE, property, NULL) > 0) {
37 INIT_LOGD(" Setting layer cache size to %sMB", property);
38 setMaxSize(MB(atof(property)));
/frameworks/base/core/java/android/os/
H A DBuild.java25 /** Value used for when a build property is unknown. */
494 private static String getString(String property) { argument
495 return SystemProperties.get(property, UNKNOWN);
498 private static long getLong(String property) { argument
500 return Long.parseLong(SystemProperties.get(property));
/frameworks/base/core/java/android/animation/
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...]
H A DObjectAnimator.java27 * as well as the name of the property that will be animated. Appropriate set/get functions
29 * animate the property.
44 // The target object on which the property exists, set in the constructor
54 * Sets the name of the property that will be animated. This name is used to derive
56 * For example, a property name of <code>foo</code> will result
62 * name of the property being animated, use <code>float</code> or <code>int</code> typed values,
65 * property types and return types will work, but will have more overhead in processing
68 * <p>Note that the setter function derived from this property name
77 * @param propertyName The name of the property being animated. Should not be null.
90 // New property/value
101 setProperty(Property property) argument
187 ObjectAnimator(T target, Property<T, ?> property) argument
224 ofInt(T target, Property<T, Integer> property, int... values) argument
262 ofFloat(T target, Property<T, Float> property, float... values) argument
309 ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... 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.cpp125 MtpObjectProperty property,
129 MtpObjectProperty property,
132 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property,
135 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property,
138 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property);
141 uint32_t format, uint32_t property,
156 bool getObjectPropertyInfo(MtpObjectProperty property, int& type);
157 bool getDevicePropertyInfo(MtpDeviceProperty property, int& type);
164 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property,
167 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property);
354 getObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
467 setObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
525 getDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet) argument
591 setDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet) argument
648 resetDeviceProperty(MtpDeviceProperty property) argument
652 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument
883 MtpObjectProperty property; member in struct:PropertyTableEntry
916 getObjectPropertyInfo(MtpObjectProperty property, int& type) argument
928 getDevicePropertyInfo(MtpDeviceProperty property, int& type) argument
979 getObjectPropertyDesc(MtpObjectProperty property, MtpObjectFormat format) argument
1027 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...]

Completed in 389 milliseconds

123