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

1234

/frameworks/av/media/libmedia/
H A DMediaUtils.h24 The value to use will be read from the specified system property, or if the
25 property doesn't exist it will use the specified number of bytes or the
29 const char *property,
H A DMediaUtils.cpp30 const char *property,
56 int64_t propVal = property_get_int64(property, maxMem);
29 limitProcessMemory( const char *property, size_t numberOfBytes, size_t percentageOfTotalMem) argument
/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.java58 public void sendDevicePropertyChanged(int property) { argument
59 native_send_device_property_changed(property);
75 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;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DTouchAnimator.java131 public Builder addFloat(Object target, String property, float... values) { argument
132 add(target, KeyframeSet.ofFloat(getProperty(target, property, float.class), values));
136 public Builder addInt(Object target, String property, int... values) { argument
137 add(target, KeyframeSet.ofInt(getProperty(target, property, int.class), values));
146 private static Property getProperty(Object target, String property, Class<?> cls) { argument
148 switch (property) {
169 if (target instanceof TouchAnimator && "position".equals(property)) {
172 return Property.of(target.getClass(), cls, property);
221 public static KeyframeSet ofInt(Property property, int... values) { argument
222 return new IntKeyframeSet((Property<?, Integer>) property, value
225 ofFloat(Property property, float... values) argument
234 FloatKeyframeSet(Property<T, Float> property, float[] values) argument
252 IntKeyframeSet(Property<T, Integer> property, int[] values) argument
[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/base/libs/hwui/
H A DProperties.cpp90 char property[PROPERTY_VALUE_MAX]; local
96 if (property_get(PROPERTY_DEBUG_OVERDRAW, property, nullptr) > 0) {
97 INIT_LOGD(" Overdraw debug enabled: %s", property);
98 if (!strcmp(property, "show")) {
101 } else if (!strcmp(property, "show_deuteranomaly")) {
108 if (property_get(PROPERTY_DEBUG_STENCIL_CLIP, property, nullptr) > 0) {
109 INIT_LOGD(" Stencil clip debug enabled: %s", property);
110 if (!strcmp(property, "hide")) {
112 } else if (!strcmp(property, "highlight")) {
114 } else if (!strcmp(property, "regio
[all...]
/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.cpp136 MtpObjectProperty property,
140 MtpObjectProperty property,
143 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property,
146 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property,
149 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property);
152 uint32_t format, uint32_t property,
167 bool getObjectPropertyInfo(MtpObjectProperty property, int& type);
168 bool getDevicePropertyInfo(MtpDeviceProperty property, int& type);
175 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property,
178 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property);
366 getObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
544 setObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
575 getDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet) argument
648 setDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet) argument
682 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument
996 MtpObjectProperty property; member in struct:PropertyTableEntry
1035 getObjectPropertyInfo(MtpObjectProperty property, int& type) argument
1047 getDevicePropertyInfo(MtpDeviceProperty property, int& type) argument
1098 getObjectPropertyDesc(MtpObjectProperty property, MtpObjectFormat format) argument
1179 getDevicePropertyDesc(MtpDeviceProperty property) argument
[all...]
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioMixingRule.java270 * property to match against.
274 * @param property see the definition of each rule for the type to use (either an
281 public Builder addMixRule(int rule, Object property) throws IllegalArgumentException { argument
285 return checkAddRuleObjInternal(rule, property);
305 * @param property see the definition of each rule for the type to use (either an
311 public Builder excludeMixRule(int rule, Object property) throws IllegalArgumentException { argument
315 return checkAddRuleObjInternal(rule | RULE_EXCLUSION_MASK, property);
322 * @param property
326 private Builder checkAddRuleObjInternal(int rule, Object property) argument
328 if (property
[all...]
/frameworks/base/core/java/android/os/
H A DBuild.java35 /** Value used for when a build property is unknown. */
759 * Ensure that raw fingerprint system property is defined. If it was derived
761 * derived value into the property service.
770 Slog.e(TAG, "Failed to set fingerprint property", e);
871 private static String getString(String property) { argument
872 return SystemProperties.get(property, UNKNOWN);
875 private static String[] getStringList(String property, String separator) { argument
876 String value = SystemProperties.get(property);
884 private static long getLong(String property) { argument
886 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/native/services/inputflinger/host/
H A DInputDriver.h75 virtual const char* inputGetPropertyKey(input_property_t* property) = 0;
76 virtual const char* inputGetPropertyValue(input_property_t* property) = 0;
77 virtual void inputFreeDeviceProperty(input_property_t* property) = 0;
122 virtual const char* inputGetPropertyKey(input_property_t* property) override;
123 virtual const char* inputGetPropertyValue(input_property_t* property) override;
124 virtual void inputFreeDeviceProperty(input_property_t* property) override;
185 const char* input_get_property_key(input_host_t* host, input_property_t* property);
187 const char* input_get_property_value(input_host_t* host, input_property_t* property);
189 void input_free_device_property(input_host_t* host, input_property_t* property);
H A DInputDriver.cpp257 const char* InputDriver::inputGetPropertyKey(input_property_t* property) { argument
258 if (property != nullptr) {
259 return property->key.string();
264 const char* InputDriver::inputGetPropertyValue(input_property_t* property) { argument
265 if (property != nullptr) {
266 return property->value.string();
271 void InputDriver::inputFreeDeviceProperty(input_property_t* property) { argument
272 if (property != nullptr) {
273 delete property;
392 const char* input_get_property_key(input_host_t* host, input_property_t* property) { argument
397 input_get_property_value(input_host_t* host, input_property_t* property) argument
402 input_free_device_property(input_host_t* host, input_property_t* property) argument
[all...]
/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
142 PropertyValuesHolder(Property property) argument
167 ofInt(Property<?, Integer> property, int... values) argument
286 ofFloat(Property<?, Float> property, float... values) argument
454 ofObject(Property property, TypeEvaluator<V> evaluator, V... values) argument
487 ofObject(Property<?, V> property, TypeConverter<T, V> converter, TypeEvaluator<T> evaluator, T... values) argument
512 ofObject(Property<?, V> property, TypeConverter<PointF, V> converter, Path path) argument
561 ofKeyframe(Property property, Keyframe... values) argument
580 ofKeyframes(Property property, Keyframes keyframes) argument
1049 setProperty(Property property) argument
1168 IntPropertyValuesHolder(Property property, Keyframes.IntKeyframes keyframes) argument
1183 IntPropertyValuesHolder(Property property, int... values) argument
1192 setProperty(Property property) argument
1315 FloatPropertyValuesHolder(Property property, Keyframes.FloatKeyframes keyframes) argument
1330 FloatPropertyValuesHolder(Property property, float... values) argument
1339 setProperty(Property property) argument
[all...]
H A DObjectAnimator.java33 * as well as the name of the property that will be animated. Appropriate set/get functions
35 * animate the property.
77 * A weak reference to the target object on which the property exists, set
89 * Sets the name of the property that will be animated. This name is used to derive
91 * For example, a property name of <code>foo</code> will result
97 * name of the property being animated, use <code>float</code> or <code>int</code> typed values,
100 * property types and return types will work, but will have more overhead in processing
103 * <p>Note that the setter function derived from this property name
112 * @param propertyName The name of the property being animated. Should not be null.
125 // New property/value
136 setProperty(@onNull Property property) argument
223 ObjectAnimator(T target, Property<T, ?> property) argument
289 ofInt(T target, Property<T, Integer> property, int... values) argument
420 ofArgb(T target, Property<T, Integer> property, int... values) argument
488 ofFloat(T target, Property<T, Float> property, float... values) argument
666 ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... values) argument
701 ofObject(T target, Property<T, P> property, TypeConverter<V, P> converter, TypeEvaluator<V> evaluator, V... values) argument
728 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.cpp95 static inline RenderPropertyAnimator::RenderProperty toRenderProperty(jint property) { argument
96 LOG_ALWAYS_FATAL_IF(property < 0 || property > RenderPropertyAnimator::ALPHA,
97 "Invalid property %d", property);
98 return static_cast<RenderPropertyAnimator::RenderProperty>(property);
110 RenderPropertyAnimator::RenderProperty property = toRenderProperty(propertyRaw); local
111 BaseRenderNodeAnimator* animator = new RenderPropertyAnimator(property, finalValue);

Completed in 554 milliseconds

1234