Searched defs:property (Results 26 - 45 of 45) sorted by relevance

12

/frameworks/base/services/surfaceflinger/DisplayHardware/
H A DDisplayHardware.cpp170 char property[PROPERTY_VALUE_MAX]; local
171 if (property_get("debug.sf.hw", property, NULL) > 0) {
172 if (atoi(property) == 0) {
226 /* Read density from build-specific ro.sf.lcd_density property
229 if (property_get("qemu.sf.lcd_density", property, NULL) <= 0) {
230 if (property_get("ro.sf.lcd_density", property, NULL) <= 0) {
232 strcpy(property, "160");
236 mDpiX = mDpiY = atoi(property);
238 mDensity = atoi(property) * (1.0f/160.0f);
/frameworks/base/core/java/android/animation/
H A DPropertyValuesHolder.java30 * This class holds information about a property and the values that that property
38 * The name of the property associated with the values. This need not be a real property,
51 * PropertyValuesHolder, since it holds all of the per-property information. This
52 * property is automatically
59 * PropertyValuesHolder, since it holds all of the per-property information. This
60 * property is automatically
96 // These maps hold all property entries for a particular class. This map
97 // is used to speed up property/sette
138 PropertyValuesHolder(Property property) argument
163 ofInt(Property<?, Integer> property, int... values) argument
185 ofFloat(Property<?, Float> property, float... values) argument
221 ofObject(Property property, TypeEvaluator<V> evaluator, V... values) argument
279 ofKeyframe(Property property, Keyframe... values) argument
680 setProperty(Property property) argument
751 IntPropertyValuesHolder(Property property, IntKeyframeSet keyframeSet) argument
766 IntPropertyValuesHolder(Property property, int... values) argument
887 FloatPropertyValuesHolder(Property property, FloatKeyframeSet keyframeSet) argument
902 FloatPropertyValuesHolder(Property property, float... values) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityRecord.java609 * Gets the value of a boolean property.
611 * @param property The property.
614 private boolean getBooleanProperty(int property) { argument
615 return (mBooleanProperties & property) == property;
619 * Sets a boolean property.
621 * @param property The property.
624 private void setBooleanProperty(int property, boolea argument
[all...]
H A DAccessibilityNodeInfo.java732 * Gets the value of a boolean property.
734 * @param property The property.
737 private boolean getBooleanProperty(int property) { argument
738 return (mBooleanProperties & property) != 0;
742 * Sets a boolean property.
744 * @param property The property.
749 private void setBooleanProperty(int property, boolean value) { argument
752 mBooleanProperties |= property;
[all...]
/frameworks/base/libs/hwui/
H A DShapeCache.h407 char property[PROPERTY_VALUE_MAX]; local
408 if (property_get(propertyName, property, NULL) > 0) {
409 INIT_LOGD(" Setting %s cache size to %sMB", name, property);
410 setMaxSize(MB(atof(property)));
H A DFontRenderer.cpp334 char property[PROPERTY_VALUE_MAX]; local
335 if (property_get(PROPERTY_TEXT_CACHE_WIDTH, property, NULL) > 0) {
337 INIT_LOGD(" Setting text cache width to %s pixels", property);
339 mCacheWidth = atoi(property);
346 if (property_get(PROPERTY_TEXT_CACHE_HEIGHT, property, NULL) > 0) {
348 INIT_LOGD(" Setting text cache width to %s pixels", property);
350 mCacheHeight = atoi(property);
/frameworks/base/libs/ui/
H A DKeyCharacterMap.cpp590 // Parse all comma-delimited property names up to the first colon.
600 LOGE("%s: Expected a property name or modifier, got '%s'.",
619 LOGE("%s: Expected ',' or ':' after property name.",
687 const Property& property = properties.itemAt(i); local
688 switch (property.property) {
713 if (b->metaState == property.metaState) {
720 newBehavior->metaState = property.metaState;
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java65 // cached property groups for single properties
69 // cached property groups for all properties for a given format
668 private MtpPropertyList getObjectPropertyList(long handle, int format, long property, argument
676 if (property == 0xFFFFFFFFL) {
684 propertyGroup = mPropertyGroupsByProperty.get(property);
686 int[] propertyList = new int[] { (int)property };
688 mPropertyGroupsByProperty.put(new Integer((int)property), propertyGroup);
758 private int setObjectProperty(int handle, int property, argument
760 switch (property) {
769 private int getDeviceProperty(int property, lon argument
799 setDeviceProperty(int property, long intValue, String stringValue) argument
[all...]
/frameworks/base/media/mtp/
H A DMtpDevice.cpp214 MtpProperty* property = getDevicePropDesc(propCode); local
215 if (property)
216 mDeviceProperties.push(property);
239 MtpProperty* property = getDevicePropDesc(propCode); local
240 if (property) {
241 property->print();
242 delete property;
258 MtpProperty* property = getObjectPropDesc(prop, format); local
259 if (property) {
260 property
549 MtpProperty* property = new MtpProperty; local
568 MtpProperty* property = new MtpProperty; local
[all...]
H A DMtpServer.cpp616 MtpObjectProperty property = mRequest.getParameter(2); local
618 MtpDebug::getObjectPropCodeName(property));
620 return mDatabase->getObjectPropertyValue(handle, property, mData);
627 MtpObjectProperty property = mRequest.getParameter(2); local
629 MtpDebug::getObjectPropCodeName(property));
631 return mDatabase->setObjectPropertyValue(handle, property, mData);
635 MtpDeviceProperty property = mRequest.getParameter(1); local
637 MtpDebug::getDevicePropCodeName(property));
639 return mDatabase->getDevicePropertyValue(property, mData);
643 MtpDeviceProperty property local
651 MtpDeviceProperty property = mRequest.getParameter(1); local
665 uint32_t property = mRequest.getParameter(3); local
1071 MtpProperty* property = mDatabase->getObjectPropertyDesc(propCode, format); local
1082 MtpProperty* property = mDatabase->getDevicePropertyDesc(propCode); local
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParserImpl_V21.java165 * @return true when a given property name is a valid property name.
330 private void parseItemInter(VCardProperty property, String propertyNameUpper) argument
332 String propertyRawValue = property.getRawValue();
334 handleAgent(property);
341 handlePropertyValue(property, propertyNameUpper);
343 throw new VCardException("Unknown property name: \"" + propertyNameUpper + "\"");
357 // For performance reason, the states for group and property name are merged into one.
380 if (ch == ':') { // End of a property name.
392 nameIndex = i + 1; // Next should be another group or a property nam
570 handlePropertyValue(VCardProperty property, String propertyName) argument
825 handleAgent(final VCardProperty property) argument
[all...]
H A DVCardEntry.java737 private final String mPhoneticName; // We won't have this in "TITLE" property.
1924 // Probably the "TITLE" property comes before the "ORG" property via
1992 * SORT-STRING, since it is regitimate property to be understood.
2061 * property
2124 public void addProperty(final VCardProperty property) { argument
2125 final String propertyName = property.getName();
2126 final Map<String, Collection<String>> paramMap = property.getParameterMap();
2127 final List<String> propertyValueList = property.getValueList();
2128 byte[] propertyBytes = property
[all...]
/frameworks/base/core/jni/
H A Dandroid_bluetooth_common.cpp567 char *property = NULL; local
574 dbus_message_iter_get_basic(&iter, &property);
580 if (!strncmp(property, properties[i].name, strlen(property)))
639 void create_prop_array(JNIEnv *env, jobjectArray strArray, Properties *property, argument
645 char *name = property->name;
646 int prop_type = property->type;
H A Dandroid_server_BluetoothEventLoop.cpp924 jstring property =(jstring) env->GetObjectArrayElement(str_array, 0); local
925 const char *c_property = env->GetStringUTFChars(property, NULL);
934 env->ReleaseStringUTFChars(property, c_property);
/frameworks/base/libs/rs/
H A DrsFont.cpp340 char property[PROPERTY_VALUE_MAX]; local
344 if (property_get(PROPERTY_TEXT_GAMMA, property, NULL) > 0) {
345 gamma = atof(property);
350 if (property_get(PROPERTY_TEXT_BLACK_GAMMA_THRESHOLD, property, NULL) > 0) {
351 blackThreshold = atoi(property);
357 if (property_get(PROPERTY_TEXT_WHITE_GAMMA_THRESHOLD, property, NULL) > 0) {
358 whiteThreshold = atoi(property);
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp124 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);
353 getObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
466 setObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property, MtpDataPacket& packet) argument
524 getDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet) argument
590 setDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet) argument
647 resetDeviceProperty(MtpDeviceProperty property) argument
651 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument
879 MtpObjectProperty property; member in struct:PropertyTableEntry
912 getObjectPropertyInfo(MtpObjectProperty property, int& type) argument
924 getDevicePropertyInfo(MtpDeviceProperty property, int& type) argument
975 getObjectPropertyDesc(MtpObjectProperty property, MtpObjectFormat format) argument
1023 getDevicePropertyDesc(MtpDeviceProperty property) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewDebug.java141 * <p>Enables or disables views consistency check. Even when this property is enabled,
143 * to true. The value of this property can be configured externally in one of the
167 * @return true if the property's value must be transformed into an Android
234 * When deep export is turned on, this property is not dumped. Instead, the
235 * properties contained in this property are dumped. Each child property
236 * is prefixed with the name of this property.
238 * @return true if the properties of this property should be dumped
254 * Specifies the category the property falls into, such as measurement,
1471 final ExportedProperty property
1634 exportUnrolledArray(Context context, BufferedWriter out, ExportedProperty property, int[] array, String prefix, String suffix) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DPhoneBase.java130 * Set a system property, unless we're in unit test mode
133 setSystemProperty(String property, String value) { argument
137 SystemProperties.set(property, value);
233 * By default old phones won't have the property set but do generate
234 * the RIL_UNSOL_CALL_RING so the default if there is no property is
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCDMAPhone.java199 // Sets operator alpha property by retrieving from build-time system property
203 // Sets operator numeric property by retrieving from build-time system property
207 // Sets iso country property by retrieving from build-time system property
741 // TODO: The default value of voicemail number should be read from a system property
1105 public final void setSystemProperty(String property, String value) { argument
1106 super.setSystemProperty(property, value);
1379 * Sets PROPERTY_ICC_OPERATOR_ISO_COUNTRY property
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java194 //Change the system property
419 setSystemProperty(String property, String value) { argument
420 super.setSystemProperty(property, value);

Completed in 1991 milliseconds

12