Home
last modified time | relevance | path

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

1234567

/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/base/libs/hwui/
DGammaFontRenderer.cpp44 char property[PROPERTY_VALUE_MAX]; in createRenderer() local
45 if (property_get(PROPERTY_TEXT_GAMMA_METHOD, property, DEFAULT_TEXT_GAMMA_METHOD) > 0) { in createRenderer()
46 if (!strcasecmp(property, "lookup")) { in createRenderer()
48 } else if (!strcasecmp(property, "shader")) { in createRenderer()
50 } else if (!strcasecmp(property, "shader3")) { in createRenderer()
60 char property[PROPERTY_VALUE_MAX]; in GammaFontRenderer() local
64 if (property_get(PROPERTY_TEXT_GAMMA, property, NULL) > 0) { in GammaFontRenderer()
65 INIT_LOGD(" Setting text gamma to %s", property); in GammaFontRenderer()
66 mGamma = atof(property); in GammaFontRenderer()
73 if (property_get(PROPERTY_TEXT_BLACK_GAMMA_THRESHOLD, property, NULL) > 0) { in GammaFontRenderer()
[all …]
DCaches.cpp154 char property[PROPERTY_VALUE_MAX]; in initStaticProperties() local
155 if (property_get(PROPERTY_ENABLE_GPU_PIXEL_BUFFERS, property, "true") > 0) { in initStaticProperties()
156 gpuPixelBuffersEnabled = !strcmp(property, "true"); in initStaticProperties()
166 char property[PROPERTY_VALUE_MAX]; in initProperties() local
167 if (property_get(PROPERTY_DEBUG_LAYERS_UPDATES, property, NULL) > 0) { in initProperties()
168 INIT_LOGD(" Layers updates debug enabled: %s", property); in initProperties()
169 debugLayersUpdates = !strcmp(property, "true"); in initProperties()
175 if (property_get(PROPERTY_DEBUG_OVERDRAW, property, NULL) > 0) { in initProperties()
176 INIT_LOGD(" Overdraw debug enabled: %s", property); in initProperties()
177 if (!strcmp(property, "show")) { in initProperties()
[all …]
DFboCache.cpp33 char property[PROPERTY_VALUE_MAX]; in FboCache() local
34 if (property_get(PROPERTY_FBO_CACHE_SIZE, property, NULL) > 0) { in FboCache()
35 INIT_LOGD(" Setting fbo cache size to %s", property); in FboCache()
36 mMaxSize = atoi(property); in FboCache()
DProperties.h257 char property[PROPERTY_VALUE_MAX]; in readDebugLevel() local
258 if (property_get(PROPERTY_DEBUG, property, NULL) > 0) { in readDebugLevel()
259 return (DebugLevel) atoi(property); in readDebugLevel()
DRenderBufferCache.cpp44 char property[PROPERTY_VALUE_MAX]; in RenderBufferCache() local
45 if (property_get(PROPERTY_RENDER_BUFFER_CACHE_SIZE, property, NULL) > 0) { in RenderBufferCache()
46 INIT_LOGD(" Setting render buffer cache size to %sMB", property); in RenderBufferCache()
47 setMaxSize(MB(atof(property))); in RenderBufferCache()
/frameworks/av/media/mtp/
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;
DMtpServer.cpp266 void MtpServer::sendDevicePropertyChanged(MtpDeviceProperty property) { in sendDevicePropertyChanged() argument
267 ALOGV("sendDevicePropertyChanged %d\n", property); in sendDevicePropertyChanged()
268 sendEvent(MTP_EVENT_DEVICE_PROP_CHANGED, property); in sendDevicePropertyChanged()
652 MtpObjectProperty property = mRequest.getParameter(2); in doGetObjectPropValue() local
654 MtpDebug::getObjectPropCodeName(property)); in doGetObjectPropValue()
656 return mDatabase->getObjectPropertyValue(handle, property, mData); in doGetObjectPropValue()
665 MtpObjectProperty property = mRequest.getParameter(2); in doSetObjectPropValue() local
667 MtpDebug::getObjectPropCodeName(property)); in doSetObjectPropValue()
669 return mDatabase->setObjectPropertyValue(handle, property, mData); in doSetObjectPropValue()
675 MtpDeviceProperty property = mRequest.getParameter(1); in doGetDevicePropValue() local
[all …]
DMtpDevice.cpp214 MtpProperty* property = getDevicePropDesc(propCode); in initialize() local
215 if (property) in initialize()
216 mDeviceProperties.push(property); in initialize()
239 MtpProperty* property = getDevicePropDesc(propCode); in print() local
240 if (property) { in print()
241 property->print(); in print()
242 delete property; in print()
258 MtpProperty* property = getObjectPropDesc(prop, format); in print() local
259 if (property) { in print()
260 property->print(); in print()
[all …]
/frameworks/base/media/jni/
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);
[all …]
/frameworks/base/core/java/android/view/
DViewPropertyAnimatorRT.java81 int property = RenderNodeAnimator.mapViewPropertyToRenderProperty(holder.mNameConstant); in doStartAnimation() local
84 RenderNodeAnimator animator = new RenderNodeAnimator(property, finalValue); in doStartAnimation()
91 mAnimators[property] = animator; in doStartAnimation()
130 int property = RenderNodeAnimator.mapViewPropertyToRenderProperty(holder.mNameConstant); in cancelAnimators() local
131 if (mAnimators[property] != null) { in cancelAnimators()
132 mAnimators[property].cancel(); in cancelAnimators()
133 mAnimators[property] = null; in cancelAnimators()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V30.java158 protected void handleParamWithoutName(VCardProperty property, final String paramValue) { in handleParamWithoutName() argument
159 handleType(property, paramValue); in handleParamWithoutName()
175 protected void handleType(VCardProperty property, final String paramValue) { in handleType() argument
176 splitAndPutParam(property, VCardConstants.PARAM_TYPE, paramValue); in handleType()
191 private void splitAndPutParam(VCardProperty property, String paramName, String paramValue) { in splitAndPutParam() argument
208 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam()
221 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam()
231 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam()
253 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam()
267 protected void handleAgent(VCardProperty property) { in handleAgent() argument
DVCardParserImpl_V21.java330 private void parseItemInter(VCardProperty property, String propertyNameUpper) in parseItemInter() argument
332 String propertyRawValue = property.getRawValue(); in parseItemInter()
334 handleAgent(property); in parseItemInter()
341 handlePropertyValue(property, propertyNameUpper); in parseItemInter()
570 protected void handlePropertyValue(VCardProperty property, String propertyName)
572 final String propertyNameUpper = property.getName().toUpperCase();
573 String propertyRawValue = property.getRawValue();
576 property.getParameters(VCardConstants.PARAM_CHARSET);
587 handleAdrOrgN(property, propertyRawValue, sourceCharset, targetCharset);
596 property.getParameters(VCardConstants.PARAM_ENCODING) == null &&
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DVNodeBuilder.java99 public void onPropertyCreated(VCardProperty property) { in onPropertyCreated() argument
102 propNode.propName = property.getName(); in onPropertyCreated()
103 List<String> groupList = property.getGroupList(); in onPropertyCreated()
107 Map<String, Collection<String>> propertyParameterMap = property.getParameterMap(); in onPropertyCreated()
121 if (property.getRawValue() == null) { in onPropertyCreated()
129 final List<String> values = property.getValueList(); in onPropertyCreated()
138 propNode.propValue_bytes = property.getByteValue(); in onPropertyCreated()
/frameworks/base/core/java/android/animation/
DPropertyValuesHolder.java143 private PropertyValuesHolder(Property property) { in PropertyValuesHolder() argument
144 mProperty = property; in PropertyValuesHolder()
145 if (property != null) { in PropertyValuesHolder()
146 mPropertyName = property.getName(); in PropertyValuesHolder()
168 public static PropertyValuesHolder ofInt(Property<?, Integer> property, int... values) { in ofInt() argument
169 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()
442 public static <V> PropertyValuesHolder ofObject(Property property, in ofObject() argument
444 PropertyValuesHolder pvh = new PropertyValuesHolder(property); in ofObject()
[all …]
DObjectAnimator.java111 public void setProperty(@NonNull Property property) { in setProperty() argument
117 valuesHolder.setProperty(property); in setProperty()
122 mPropertyName = property.getName(); in setProperty()
124 mProperty = property; in setProperty()
198 private <T> ObjectAnimator(T target, Property<T, ?> property) { in ObjectAnimator() argument
200 setProperty(property); in ObjectAnimator()
262 public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> property, int... values) { in ofInt() argument
263 ObjectAnimator anim = new ObjectAnimator(target, property); in ofInt()
390 public static <T> ObjectAnimator ofArgb(T target, Property<T, Integer> property, in ofArgb() argument
392 ObjectAnimator animator = ofInt(target, property, values); in ofArgb()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpPropertyList.java53 public void append(int handle, int property, int type, long value) { in append() argument
59 mPropertyCodes[index] = property; in append()
64 public void append(int handle, int property, String value) { in append() argument
70 mPropertyCodes[index] = property; in append()
DMtpServer.java55 public void sendDevicePropertyChanged(int property) { in sendDevicePropertyChanged() argument
56 native_send_device_property_changed(property); in sendDevicePropertyChanged()
72 private native final void native_send_device_property_changed(int property); in native_send_device_property_changed() argument
/frameworks/base/core/jni/android/graphics/
DRtlProperties.h41 char property[PROPERTY_VALUE_MAX]; in readRtlDebugLevel() local
42 if (property_get(RTL_PROPERTY_DEBUG, property, NULL) > 0) { in readRtlDebugLevel()
43 return (RtlDebugLevel) atoi(property); in readRtlDebugLevel()
/frameworks/base/docs/html/training/transitions/
Dcustom-transitions.jd24 however, you have to provide the code that captures property values and generates animations.
27 <p>This lesson teaches you to capture property values and generate animations to create
59 <p>Transition animations use the property animation system described in
61 animations change a view property between a starting and ending value over a specified
63 the property to construct the animation.</p>
65 <p>However, a property animation usually needs only a small subset of all the view's property
66 values. For example, a color animation needs color property values, while a movement
67 animation needs position property values. Since the property values needed for an animation
68 are specific to a transition, the transitions framework does not provide every property value
70 capture only the property values it needs and store them in the framework.</p>
[all …]
/frameworks/base/core/java/android/os/
DBuild.java692 private static String getString(String property) { in getString() argument
693 return SystemProperties.get(property, UNKNOWN); in getString()
696 private static String[] getStringList(String property, String separator) { in getStringList() argument
697 String value = SystemProperties.get(property); in getStringList()
705 private static long getLong(String property) { in getLong() argument
707 return Long.parseLong(SystemProperties.get(property)); in getLong()
/frameworks/base/core/jni/
Dandroid_view_RenderNodeAnimator.cpp95 static inline RenderPropertyAnimator::RenderProperty toRenderProperty(jint property) { in toRenderProperty() argument
96 LOG_ALWAYS_FATAL_IF(property < 0 || property > RenderPropertyAnimator::ALPHA, in toRenderProperty()
97 "Invalid property %d", property); in toRenderProperty()
98 return static_cast<RenderPropertyAnimator::RenderProperty>(property); in toRenderProperty()
110 RenderPropertyAnimator::RenderProperty property = toRenderProperty(propertyRaw); in createAnimator() local
111 BaseRenderNodeAnimator* animator = new RenderPropertyAnimator(property, finalValue); in createAnimator()
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java71 String property, float toValue, boolean replace) { in addAnimTo() argument
73 if (replace) removeAnimationFor(property); in addAnimTo()
75 ObjectAnimator anim = ObjectAnimator.ofFloat(this, property, toValue); in addAnimTo()
89 public void removeAnimationFor(String property) { in removeAnimationFor() argument
92 if (property.equals(currentAnim.getPropertyName())) { in removeAnimationFor()
/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd60 <p>The property animation system is a robust framework that allows you
61 to animate almost anything. You can define an animation to change any object property over time,
62 regardless of whether it draws to the screen or not. A property animation changes a property's
64 object property that you want to animate, such as an object's position on the screen, how long
67 <p>The property animation system lets you define the following characteristics of an
73 <li>Time interpolation: You can specify how the values for the property are calculated as a
93 hypothetical object that is animated with its <code>x</code> property, which represents its
112 <p>Let's take a detailed look at how the important components of the property animation system
119 such as how long the animation has been running, and the current value of the property that it is
124 android.animation.TypeEvaluator}, which defines how to calculate values for the property being
[all …]

1234567