/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardEntryTests.java | 113 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/ |
D | TypedProperties.java | 419 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/ |
D | GammaFontRenderer.cpp | 44 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 …]
|
D | FboCache.cpp | 33 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()
|
D | Properties.h | 147 char property[PROPERTY_VALUE_MAX]; in readDebugLevel() local 148 if (property_get(PROPERTY_DEBUG, property, NULL) > 0) { in readDebugLevel() 149 return (DebugLevel) atoi(property); in readDebugLevel()
|
D | TextDropShadowCache.cpp | 33 char property[PROPERTY_VALUE_MAX]; in TextDropShadowCache() local 34 if (property_get(PROPERTY_DROP_SHADOW_CACHE_SIZE, property, NULL) > 0) { in TextDropShadowCache() 35 INIT_LOGD(" Setting drop shadow cache size to %sMB", property); in TextDropShadowCache() 36 setMaxSize(MB(atof(property))); in TextDropShadowCache()
|
D | TextureCache.cpp | 40 char property[PROPERTY_VALUE_MAX]; in TextureCache() local 41 if (property_get(PROPERTY_TEXTURE_CACHE_SIZE, property, NULL) > 0) { in TextureCache() 42 INIT_LOGD(" Setting texture cache size to %sMB", property); in TextureCache() 43 setMaxSize(MB(atof(property))); in TextureCache() 48 if (property_get(PROPERTY_TEXTURE_CACHE_FLUSH_RATE, property, NULL) > 0) { in TextureCache() 49 float flushRate = atof(property); in TextureCache()
|
D | LayerCache.cpp | 36 char property[PROPERTY_VALUE_MAX]; in LayerCache() local 37 if (property_get(PROPERTY_LAYER_CACHE_SIZE, property, NULL) > 0) { in LayerCache() 38 INIT_LOGD(" Setting layer cache size to %sMB", property); in LayerCache() 39 setMaxSize(MB(atof(property))); in LayerCache()
|
/frameworks/base/core/java/android/animation/ |
D | PropertyValuesHolder.java | 138 private PropertyValuesHolder(Property property) { in PropertyValuesHolder() argument 139 mProperty = property; in PropertyValuesHolder() 140 if (property != null) { in PropertyValuesHolder() 141 mPropertyName = property.getName(); in PropertyValuesHolder() 163 public static PropertyValuesHolder ofInt(Property<?, Integer> property, int... values) { in ofInt() argument 164 return new IntPropertyValuesHolder(property, values); in ofInt() 185 public static PropertyValuesHolder ofFloat(Property<?, Float> property, float... values) { in ofFloat() argument 186 return new FloatPropertyValuesHolder(property, values); in ofFloat() 221 public static <V> PropertyValuesHolder ofObject(Property property, in ofObject() argument 223 PropertyValuesHolder pvh = new PropertyValuesHolder(property); in ofObject() [all …]
|
D | ObjectAnimator.java | 100 public void setProperty(Property property) { in setProperty() argument 106 valuesHolder.setProperty(property); in setProperty() 111 mPropertyName = property.getName(); in setProperty() 113 mProperty = property; in setProperty() 158 private <T> ObjectAnimator(T target, Property<T, ?> property) { in ObjectAnimator() argument 160 setProperty(property); in ObjectAnimator() 195 public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> property, int... values) { in ofInt() argument 196 ObjectAnimator anim = new ObjectAnimator(target, property); in ofInt() 233 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> property, in ofFloat() argument 235 ObjectAnimator anim = new ObjectAnimator(target, property); in ofFloat() [all …]
|
/frameworks/av/media/mtp/ |
D | MtpDatabase.h | 64 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;
|
D | MtpServer.cpp | 616 MtpObjectProperty property = mRequest.getParameter(2); in doGetObjectPropValue() local 618 MtpDebug::getObjectPropCodeName(property)); in doGetObjectPropValue() 620 return mDatabase->getObjectPropertyValue(handle, property, mData); in doGetObjectPropValue() 627 MtpObjectProperty property = mRequest.getParameter(2); in doSetObjectPropValue() local 629 MtpDebug::getObjectPropCodeName(property)); in doSetObjectPropValue() 631 return mDatabase->setObjectPropertyValue(handle, property, mData); in doSetObjectPropValue() 635 MtpDeviceProperty property = mRequest.getParameter(1); in doGetDevicePropValue() local 637 MtpDebug::getDevicePropCodeName(property)); in doGetDevicePropValue() 639 return mDatabase->getDevicePropertyValue(property, mData); in doGetDevicePropValue() 643 MtpDeviceProperty property = mRequest.getParameter(1); in doSetDevicePropValue() local [all …]
|
D | MtpDevice.cpp | 214 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/ |
D | android_mtp_MtpDatabase.cpp | 124 MtpObjectProperty property, 128 MtpObjectProperty property, 131 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property, 134 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property, 137 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property); 140 uint32_t format, uint32_t property, 155 bool getObjectPropertyInfo(MtpObjectProperty property, int& type); 156 bool getDevicePropertyInfo(MtpDeviceProperty property, int& type); 163 virtual MtpProperty* getObjectPropertyDesc(MtpObjectProperty property, 166 virtual MtpProperty* getDevicePropertyDesc(MtpDeviceProperty property); [all …]
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardParserImpl_V30.java | 181 protected void handleParamWithoutName(VCardProperty property, final String paramValue) { in handleParamWithoutName() argument 182 handleType(property, paramValue); in handleParamWithoutName() 198 protected void handleType(VCardProperty property, final String paramValue) { in handleType() argument 199 splitAndPutParam(property, VCardConstants.PARAM_TYPE, paramValue); in handleType() 214 private void splitAndPutParam(VCardProperty property, String paramName, String paramValue) { in splitAndPutParam() argument 231 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam() 244 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam() 254 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam() 276 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam() 290 protected void handleAgent(VCardProperty property) { in handleAgent() argument
|
D | VCardParserImpl_V21.java | 330 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/ |
D | VNodeBuilder.java | 100 public void onPropertyCreated(VCardProperty property) { in onPropertyCreated() argument 103 propNode.propName = property.getName(); in onPropertyCreated() 104 List<String> groupList = property.getGroupList(); in onPropertyCreated() 108 Map<String, Collection<String>> propertyParameterMap = property.getParameterMap(); in onPropertyCreated() 122 if (property.getRawValue() == null) { in onPropertyCreated() 130 final List<String> values = property.getValueList(); in onPropertyCreated() 139 propNode.propValue_bytes = property.getByteValue(); in onPropertyCreated()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpPropertyList.java | 53 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()
|
/frameworks/base/core/jni/android/graphics/ |
D | RtlProperties.h | 41 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/ |
D | Build.java | 465 private static String getString(String property) { in getString() argument 466 return SystemProperties.get(property, UNKNOWN); in getString() 469 private static long getLong(String property) { in getLong() argument 471 return Long.parseLong(SystemProperties.get(property)); in getLong()
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | prop-animation.jd | 61 <p>The property animation system is a robust framework that allows you 62 to animate almost anything. You can define an animation to change any object property over time, 63 regardless of whether it draws to the screen or not. A property animation changes a property's 65 object property that you want to animate, such as an object's position on the screen, how long 68 <p>The property animation system lets you define the following characteristics of an 74 <li>Time interpolation: You can specify how the values for the property are calculated as a 94 hypothetical object that is animated with its <code>x</code> property, which represents its 113 <p>Let's take a detailed look at how the important components of the property animation system 120 such as how long the animation has been running, and the current value of the property that it is 125 android.animation.TypeEvaluator}, which defines how to calculate values for the property being [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DrawableHolder.java | 71 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/core/java/android/view/ |
D | ViewDebug.java | 952 final ExportedProperty property = sAnnotations.get(method); in exportMethods() local 954 property.category().length() != 0 ? property.category() + ":" : ""; in exportMethods() 958 if (property.resolveId() && context != null) { in exportMethods() 962 final FlagToString[] flagsMapping = property.flagMapping(); in exportMethods() 970 final IntToString[] mapping = property.mapping(); in exportMethods() 994 exportUnrolledArray(context, out, property, array, valuePrefix, suffix); in exportMethods() 999 if (property.deepExport()) { in exportMethods() 1000 dumpViewProperties(context, methodValue, out, prefix + property.prefix()); in exportMethods() 1025 final ExportedProperty property = sAnnotations.get(field); in exportFields() local 1027 property.category().length() != 0 ? property.category() + ":" : ""; in exportFields() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 688 private boolean getBooleanProperty(int property) { in getBooleanProperty() argument 689 return (mBooleanProperties & property) == property; in getBooleanProperty() 698 private void setBooleanProperty(int property, boolean value) { in setBooleanProperty() argument 700 mBooleanProperties |= property; in setBooleanProperty() 702 mBooleanProperties &= ~property; in setBooleanProperty()
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
D | Build_Delegate.java | 38 /*package*/ static String getString(String property) { in getString() argument 40 String value = properties.get(property); in getString()
|