Home
last modified time | relevance | path

Searched refs:property (Results 1 – 25 of 152) 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.cpp152 char property[PROPERTY_VALUE_MAX]; in initStaticProperties() local
153 if (property_get(PROPERTY_ENABLE_GPU_PIXEL_BUFFERS, property, "true") > 0) { in initStaticProperties()
154 gpuPixelBuffersEnabled = !strcmp(property, "true"); in initStaticProperties()
164 char property[PROPERTY_VALUE_MAX]; in initProperties() local
165 if (property_get(PROPERTY_DEBUG_LAYERS_UPDATES, property, NULL) > 0) { in initProperties()
166 INIT_LOGD(" Layers updates debug enabled: %s", property); in initProperties()
167 debugLayersUpdates = !strcmp(property, "true"); in initProperties()
173 if (property_get(PROPERTY_DEBUG_OVERDRAW, property, NULL) > 0) { in initProperties()
174 INIT_LOGD(" Overdraw debug enabled: %s", property); in initProperties()
175 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.h248 char property[PROPERTY_VALUE_MAX]; in readDebugLevel() local
249 if (property_get(PROPERTY_DEBUG, property, NULL) > 0) { in readDebugLevel()
250 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()
DExtensions.cpp68 char property[PROPERTY_VALUE_MAX]; in Extensions() local
69 if (property_get(PROPERTY_DEBUG_NV_PROFILING, property, NULL) > 0) { in Extensions()
70 mHasNvSystemTime = !strcmp(property, "true") && hasEglExtension("EGL_NV_system_time"); in Extensions()
/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()
632 MtpObjectProperty property = mRequest.getParameter(2); in doGetObjectPropValue() local
634 MtpDebug::getObjectPropCodeName(property)); in doGetObjectPropValue()
636 return mDatabase->getObjectPropertyValue(handle, property, mData); in doGetObjectPropValue()
643 MtpObjectProperty property = mRequest.getParameter(2); in doSetObjectPropValue() local
645 MtpDebug::getObjectPropCodeName(property)); in doSetObjectPropValue()
647 return mDatabase->setObjectPropertyValue(handle, property, mData); in doSetObjectPropValue()
651 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/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/java/android/animation/
DPropertyValuesHolder.java146 private PropertyValuesHolder(Property property) { in PropertyValuesHolder() argument
147 mProperty = property; in PropertyValuesHolder()
148 if (property != null) { in PropertyValuesHolder()
149 mPropertyName = property.getName(); in PropertyValuesHolder()
171 public static PropertyValuesHolder ofInt(Property<?, Integer> property, int... values) { in ofInt() argument
172 return new IntPropertyValuesHolder(property, values); in ofInt()
289 public static PropertyValuesHolder ofFloat(Property<?, Float> property, float... values) { in ofFloat() argument
290 return new FloatPropertyValuesHolder(property, values); in ofFloat()
445 public static <V> PropertyValuesHolder ofObject(Property property, in ofObject() argument
447 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/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/core/java/android/os/
DBuild.java658 private static String getString(String property) { in getString() argument
659 return SystemProperties.get(property, UNKNOWN); in getString()
662 private static String[] getStringList(String property, String separator) { in getStringList() argument
663 String value = SystemProperties.get(property); in getStringList()
671 private static long getLong(String property) { in getLong() argument
673 return Long.parseLong(SystemProperties.get(property)); in getLong()
/frameworks/base/core/jni/
Dandroid_view_RenderNodeAnimator.cpp86 static inline RenderPropertyAnimator::RenderProperty toRenderProperty(jint property) { in toRenderProperty() argument
87 LOG_ALWAYS_FATAL_IF(property < 0 || property > RenderPropertyAnimator::ALPHA, in toRenderProperty()
88 "Invalid property %d", property); in toRenderProperty()
89 return static_cast<RenderPropertyAnimator::RenderProperty>(property); in toRenderProperty()
101 RenderPropertyAnimator::RenderProperty property = toRenderProperty(propertyRaw); in createAnimator() local
102 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