/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 | 34 char property[PROPERTY_VALUE_MAX]; in GammaFontRenderer() local 38 if (property_get(PROPERTY_TEXT_GAMMA, property, NULL) > 0) { in GammaFontRenderer() 39 INIT_LOGD(" Setting text gamma to %s", property); in GammaFontRenderer() 40 gamma = atof(property); in GammaFontRenderer() 47 if (property_get(PROPERTY_TEXT_BLACK_GAMMA_THRESHOLD, property, NULL) > 0) { in GammaFontRenderer() 48 INIT_LOGD(" Setting text black gamma threshold to %s", property); in GammaFontRenderer() 49 mBlackThreshold = atoi(property); in GammaFontRenderer() 57 if (property_get(PROPERTY_TEXT_WHITE_GAMMA_THRESHOLD, property, NULL) > 0) { in GammaFontRenderer() 58 INIT_LOGD(" Setting text white gamma threshold to %s", property); in GammaFontRenderer() 59 mWhiteThreshold = atoi(property); in GammaFontRenderer()
|
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 | 90 char property[PROPERTY_VALUE_MAX]; in readDebugLevel() local 91 if (property_get(PROPERTY_DEBUG, property, NULL) > 0) { in readDebugLevel() 92 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 | GradientCache.cpp | 40 char property[PROPERTY_VALUE_MAX]; in GradientCache() local 41 if (property_get(PROPERTY_GRADIENT_CACHE_SIZE, property, NULL) > 0) { in GradientCache() 42 INIT_LOGD(" Setting gradient cache size to %sMB", property); in GradientCache() 43 setMaxSize(MB(atof(property))); in GradientCache()
|
/frameworks/base/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/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 | 93 public void setProperty(Property property) { in setProperty() argument 99 valuesHolder.setProperty(property); in setProperty() 104 mPropertyName = property.getName(); in setProperty() 106 mProperty = property; in setProperty() 151 private <T> ObjectAnimator(T target, Property<T, ?> property) { in ObjectAnimator() argument 153 setProperty(property); in ObjectAnimator() 188 public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> property, int... values) { in ofInt() argument 189 ObjectAnimator anim = new ObjectAnimator(target, property); in ofInt() 226 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> property, in ofFloat() argument 228 ObjectAnimator anim = new ObjectAnimator(target, property); in ofFloat() [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); 598 property.setRawValue(quotedPrintablePart); 618 property.setValues(encodedValueList); [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 | 336 private static String getString(String property) { in getString() argument 337 return SystemProperties.get(property, UNKNOWN); in getString() 340 private static long getLong(String property) { in getLong() argument 342 return Long.parseLong(SystemProperties.get(property)); in getLong()
|
/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/services/surfaceflinger/DisplayHardware/ |
D | DisplayHardware.cpp | 159 char property[PROPERTY_VALUE_MAX]; in init() local 160 if (property_get("debug.sf.hw", property, NULL) > 0) { in init() 161 if (atoi(property) == 0) { in init() 218 if (property_get("qemu.sf.lcd_density", property, NULL) <= 0) { in init() 219 if (property_get("ro.sf.lcd_density", property, NULL) <= 0) { in init() 221 strcpy(property, "160"); in init() 225 mDpiX = mDpiY = atoi(property); in init() 227 mDensity = atoi(property) * (1.0f/160.0f); in init()
|
/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 …]
|
D | animation.jd | 17 <p>The Android framework provides two animation systems: property animation 19 but the property animation system, in general, is the preferred method to use, because it 35 …<p>With the property animation system, these constraints are completely removed, and you can anima… 36 any property of any object (Views and non-Views) and the object itself is actually modified. 37 The property animation system is also more robust in the way it carries out animation. At 44 works the way you want, there is no need to use the property animation system. It also might 50 <dd>Introduced in Android 3.0 (API level 11), the property animation system lets you
|
/frameworks/base/core/java/android/server/ |
D | BluetoothDeviceProperties.java | 114 String getProperty(String address, String property) { in getProperty() argument 118 return properties.get(property); in getProperty() 125 return properties.get(property); in getProperty() 129 Log.e(TAG, "getRemoteDeviceProperty: " + property + " not present: " + address); in getProperty()
|
/frameworks/base/libs/ui/ |
D | GraphicLog.cpp | 81 char property[PROPERTY_VALUE_MAX]; in GraphicLog() local 82 if (property_get("debug.graphic_log", property, NULL) > 0) { in GraphicLog() 83 mEnabled = atoi(property); in GraphicLog()
|