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

1234

/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.java158 protected void handleParamWithoutName(VCardProperty property, final String paramValue) { argument
159 handleType(property, paramValue);
175 protected void handleType(VCardProperty property, final String paramValue) { argument
176 splitAndPutParam(property, VCardConstants.PARAM_TYPE, paramValue);
191 private void splitAndPutParam(VCardProperty property, String paramName, String paramValue) { argument
208 property.addParameter(paramName, encodeParamValue(builder.toString()));
216 Log.w(LOG_TAG, "Unexpected Dquote inside property.");
221 property.addParameter(paramName, encodeParamValue(builder.toString()));
231 property.addParameter(paramName, encodeParamValue(builder.toString()));
253 property
267 handleAgent(VCardProperty property) argument
[all...]
/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 * <type> <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;
H A DMtpServer.java55 public void sendDevicePropertyChanged(int property) { argument
56 native_send_device_property_changed(property);
72 private native final void native_send_device_property_changed(int property); argument
/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.cpp266 void MtpServer::sendDevicePropertyChanged(MtpDeviceProperty property) { argument
267 ALOGV("sendDevicePropertyChanged %d\n", property);
268 sendEvent(MTP_EVENT_DEVICE_PROP_CHANGED, property);
632 MtpObjectProperty property = mRequest.getParameter(2); local
634 MtpDebug::getObjectPropCodeName(property));
636 return mDatabase->getObjectPropertyValue(handle, property, mData);
643 MtpObjectProperty property = mRequest.getParameter(2); local
645 MtpDebug::getObjectPropCodeName(property));
647 return mDatabase->setObjectPropertyValue(handle, property, mData);
651 MtpDeviceProperty property local
659 MtpDeviceProperty property = mRequest.getParameter(1); local
667 MtpDeviceProperty property = mRequest.getParameter(1); local
681 uint32_t property = mRequest.getParameter(3); local
1094 MtpProperty* property = mDatabase->getObjectPropertyDesc(propCode, format); local
1105 MtpProperty* property = mDatabase->getDevicePropertyDesc(propCode); local
[all...]
/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.h92 * System property used to enable or disable hardware rendering profiling.
93 * The default value of this property is assumed to be false.
108 * System property used to specify the number of frames to be used
110 * The default value of this property is #PROFILE_MAX_FRAMES.
219 // Default property values
248 char property[PROPERTY_VALUE_MAX]; local
249 if (property_get(PROPERTY_DEBUG, property, NULL) > 0) {
250 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.cpp152 char property[PROPERTY_VALUE_MAX]; local
153 if (property_get(PROPERTY_ENABLE_GPU_PIXEL_BUFFERS, property, "true") > 0) {
154 gpuPixelBuffersEnabled = !strcmp(property, "true");
164 char property[PROPERTY_VALUE_MAX]; local
165 if (property_get(PROPERTY_DEBUG_LAYERS_UPDATES, property, NULL) > 0) {
166 INIT_LOGD(" Layers updates debug enabled: %s", property);
167 debugLayersUpdates = !strcmp(property, "true");
173 if (property_get(PROPERTY_DEBUG_OVERDRAW, property, NULL) > 0) {
174 INIT_LOGD(" Overdraw debug enabled: %s", property);
175 if (!strcmp(property, "sho
[all...]
/frameworks/base/core/java/android/view/
H A DViewPropertyAnimatorRT.java81 int property = RenderNodeAnimator.mapViewPropertyToRenderProperty(holder.mNameConstant);
84 RenderNodeAnimator animator = new RenderNodeAnimator(property, finalValue);
91 mAnimators[property] = animator;
130 int property = RenderNodeAnimator.mapViewPropertyToRenderProperty(holder.mNameConstant);
131 if (mAnimators[property] != null) {
132 mAnimators[property].cancel();
133 mAnimators[property] = null;
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DVNodeBuilder.java99 public void onPropertyCreated(VCardProperty property) { argument
102 propNode.propName = property.getName();
103 List<String> groupList = property.getGroupList();
107 Map<String, Collection<String>> propertyParameterMap = property.getParameterMap();
121 if (property.getRawValue() == null) {
129 final List<String> values = property.getValueList();
138 propNode.propValue_bytes = property.getByteValue();
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp131 MtpObjectProperty property,
135 MtpObjectProperty property,
138 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property,
141 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property,
144 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property);
147 uint32_t format, uint32_t property,
162 bool getObjectPropertyInfo(MtpObjectProperty property, int& type);
163 bool getDevicePropertyInfo(MtpDeviceProperty property, int& type);
170 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property,
173 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property);
360 getObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
471 setObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
529 getDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet) argument
602 setDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet) argument
663 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument
904 MtpObjectProperty property; member in struct:PropertyTableEntry
938 getObjectPropertyInfo(MtpObjectProperty property, int& type) argument
950 getDevicePropertyInfo(MtpDeviceProperty property, int& type) argument
1001 getObjectPropertyDesc(MtpObjectProperty property, MtpObjectFormat format) argument
1082 getDevicePropertyDesc(MtpDeviceProperty property) argument
[all...]
/frameworks/base/core/java/android/os/
H A DBuild.java31 /** Value used for when a build property is unknown. */
622 * Ensure that raw fingerprint system property is defined. If it was derived
624 * derived value into the property service.
633 Slog.e(TAG, "Failed to set fingerprint property", e);
658 private static String getString(String property) { argument
659 return SystemProperties.get(property, UNKNOWN);
662 private static String[] getStringList(String property, String separator) { argument
663 String value = SystemProperties.get(property);
671 private static long getLong(String property) { argument
673 return Long.parseLong(SystemProperties.get(property));
[all...]
/frameworks/base/include/android_runtime/
H A DAndroidRuntime.h121 bool parseRuntimeOption(const char* property,
125 bool parseCompilerOption(const char* property,
129 bool parseCompilerRuntimeOption(const char* property,
/frameworks/base/core/java/android/animation/
H A DPropertyValuesHolder.java33 * This class holds information about a property and the values that that property
41 * The name of the property associated with the values. This need not be a real property,
54 * PropertyValuesHolder, since it holds all of the per-property information. This
55 * property is automatically
62 * PropertyValuesHolder, since it holds all of the per-property information. This
63 * property is automatically
99 // These maps hold all property entries for a particular class. This map
100 // is used to speed up property/sette
146 PropertyValuesHolder(Property property) argument
171 ofInt(Property<?, Integer> property, int... values) argument
289 ofFloat(Property<?, Float> property, float... values) argument
445 ofObject(Property property, TypeEvaluator<V> evaluator, V... values) argument
472 ofObject(Property<?, V> property, TypeConverter<T, V> converter, TypeEvaluator<T> evaluator, T... values) argument
497 ofObject(Property<?, V> property, TypeConverter<PointF, V> converter, Path path) argument
546 ofKeyframe(Property property, Keyframe... values) argument
565 ofKeyframes(Property property, Keyframes keyframes) argument
1024 setProperty(Property property) argument
1095 IntPropertyValuesHolder(Property property, Keyframes.IntKeyframes keyframes) argument
1110 IntPropertyValuesHolder(Property property, int... values) argument
1232 FloatPropertyValuesHolder(Property property, Keyframes.FloatKeyframes keyframes) argument
1247 FloatPropertyValuesHolder(Property property, float... values) argument
[all...]
H A DObjectAnimator.java32 * as well as the name of the property that will be animated. Appropriate set/get functions
34 * animate the property.
52 * A weak reference to the target object on which the property exists, set
64 * Sets the name of the property that will be animated. This name is used to derive
66 * For example, a property name of <code>foo</code> will result
72 * name of the property being animated, use <code>float</code> or <code>int</code> typed values,
75 * property types and return types will work, but will have more overhead in processing
78 * <p>Note that the setter function derived from this property name
87 * @param propertyName The name of the property being animated. Should not be null.
100 // New property/value
111 setProperty(@onNull Property property) argument
198 ObjectAnimator(T target, Property<T, ?> property) argument
262 ofInt(T target, Property<T, Integer> property, int... values) argument
390 ofArgb(T target, Property<T, Integer> property, int... values) argument
456 ofFloat(T target, Property<T, Float> property, float... values) argument
620 ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... values) argument
648 ofObject(T target, Property<T, P> property, TypeConverter<V, P> converter, TypeEvaluator<V> evaluator, V... values) argument
675 ofObject(T target, @NonNull Property<T, V> property, @Nullable TypeConverter<PointF, V> converter, Path path) 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/core/jni/
H A Dandroid_view_RenderNodeAnimator.cpp86 static inline RenderPropertyAnimator::RenderProperty toRenderProperty(jint property) { argument
87 LOG_ALWAYS_FATAL_IF(property < 0 || property > RenderPropertyAnimator::ALPHA,
88 "Invalid property %d", property);
89 return static_cast<RenderPropertyAnimator::RenderProperty>(property);
101 RenderPropertyAnimator::RenderProperty property = toRenderProperty(propertyRaw); local
102 BaseRenderNodeAnimator* animator = new RenderPropertyAnimator(property, finalValue);

Completed in 466 milliseconds

1234