Home
last modified time | relevance | path

Searched refs:TYPE_ATTRIBUTE (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/content/res/
DTypedArray.java524 } else if (type == TypedValue.TYPE_ATTRIBUTE) { in getColor()
560 if (value.type == TypedValue.TYPE_ATTRIBUTE) { in getComplexColor()
595 if (value.type == TypedValue.TYPE_ATTRIBUTE) { in getColorStateList()
634 } else if (type == TypedValue.TYPE_ATTRIBUTE) { in getInteger()
681 } else if (type == TypedValue.TYPE_ATTRIBUTE) { in getDimension()
729 } else if (type == TypedValue.TYPE_ATTRIBUTE) { in getDimensionPixelOffset()
778 } else if (type == TypedValue.TYPE_ATTRIBUTE) { in getDimensionPixelSize()
822 } else if (type == TypedValue.TYPE_ATTRIBUTE) { in getLayoutDimension()
897 } else if (type == TypedValue.TYPE_ATTRIBUTE) { in getFraction()
959 if (data[index + STYLE_TYPE] == TypedValue.TYPE_ATTRIBUTE) { in getThemeAttributeId()
[all …]
/frameworks/base/libs/androidfw/tests/
DDynamicRefTable_test.cpp48 value.dataType = Res_value::TYPE_ATTRIBUTE; in TEST()
57 value2.dataType = Res_value::TYPE_ATTRIBUTE; in TEST()
110 value2.dataType = Res_value::TYPE_ATTRIBUTE; in TEST()
DAttributeResolution_test.cpp192 EXPECT_EQ(Res_value::TYPE_ATTRIBUTE, values_cursor[STYLE_TYPE]); in TEST_F()
DAssetManager2_test.cpp328 EXPECT_EQ(Res_value::TYPE_ATTRIBUTE, bag_two->entries[2].value.dataType); in TEST_F()
/frameworks/base/core/java/android/util/
DTypedValue.java35 public static final int TYPE_ATTRIBUTE = 0x02; field in TypedValue
505 case TYPE_ATTRIBUTE: in coerceToString()
/frameworks/base/libs/androidfw/
DAttributeResolution.cpp122 value.dataType = Res_value::TYPE_ATTRIBUTE; in ResolveAttrs()
236 if (value.dataType == value.TYPE_ATTRIBUTE) { in ApplyStyle()
DAssetManager2.cpp1226 if (entry.value.dataType == Res_value::TYPE_ATTRIBUTE) { in GetAttribute()
1256 if (in_out_value->dataType == Res_value::TYPE_ATTRIBUTE) { in ResolveAttributeReference()
1387 bool is_reference = (entry.value.dataType == Res_value::TYPE_ATTRIBUTE in SetTo()
DResourceTypes.cpp3893 if (type == Res_value::TYPE_ATTRIBUTE) { in getAttribute()
3923 if (inOutValue->dataType == Res_value::TYPE_ATTRIBUTE) { in resolveAttributeReference()
5659 outValue->dataType = outValue->TYPE_ATTRIBUTE; in stringToValue()
7022 case Res_value::TYPE_ATTRIBUTE: in lookupResourceValue()
7023 resolvedType = Res_value::TYPE_ATTRIBUTE; in lookupResourceValue()
7036 resolvedType = Res_value::TYPE_ATTRIBUTE; in lookupResourceValue()
7375 } else if (value.dataType == Res_value::TYPE_ATTRIBUTE) { in print_value()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp591 case android::Res_value::TYPE_ATTRIBUTE: in AndroidTypeToAttributeTypeMask()
781 case android::Res_value::TYPE_ATTRIBUTE: in ParseBinaryResValue()
785 if (res_value.dataType == android::Res_value::TYPE_ATTRIBUTE || in ParseBinaryResValue()
DResourceValues.cpp132 out_value->dataType = android::Res_value::TYPE_ATTRIBUTE; in Flatten()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java50 import static android.util.TypedValue.TYPE_ATTRIBUTE;
799 return TYPE_ATTRIBUTE; in getType()
/frameworks/base/core/jni/
Dandroid_util_XmlBlock.cpp335 || value.dataType == value.TYPE_ATTRIBUTE in android_content_XmlBlock_nativeGetStyleAttribute()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt166 if (colors.getType(i) == TypedValue.TYPE_ATTRIBUTE) { in <lambda>()
DBatteryMeterDrawableBase.java109 if (colors.getType(i) == TypedValue.TYPE_ATTRIBUTE) { in BatteryMeterDrawableBase()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h281 TYPE_ATTRIBUTE = 0x02, enumerator
/frameworks/base/tools/aapt/
DXMLNode.cpp478 } else if (value.dataType == Res_value::TYPE_ATTRIBUTE) { in printXMLBlock()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31935 field public static final int TYPE_ATTRIBUTE = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt48422 field public static final int TYPE_ATTRIBUTE = 2; // 0x2