Home
last modified time | relevance | path

Searched refs:getAttributeIntValue (Results 1 – 19 of 19) sorted by relevance

/frameworks/layoutlib/bridge/tests/src/android/util/
DBridgeXmlPullAttributesTest.java82 assertEquals(123, attributes.getAttributeIntValue(BridgeConstants.NS_RESOURCES, in testGetAttributeIntValueForEnums()
84 assertEquals(123, attributes.getAttributeIntValue(0, 500)); in testGetAttributeIntValueForEnums()
86 assertEquals(500, attributes.getAttributeIntValue(BridgeConstants.NS_RESOURCES, in testGetAttributeIntValueForEnums()
88 assertEquals(500, attributes.getAttributeIntValue(2, 500)); in testGetAttributeIntValueForEnums()
91 assertEquals(1, attributes.getAttributeIntValue(BridgeConstants.NS_APP_RES_AUTO, in testGetAttributeIntValueForEnums()
93 assertEquals(1, attributes.getAttributeIntValue(1, 500)); in testGetAttributeIntValueForEnums()
94 assertEquals(2, attributes.getAttributeIntValue(BridgeConstants.NS_APP_RES_AUTO, in testGetAttributeIntValueForEnums()
96 assertEquals(2, attributes.getAttributeIntValue(1, 500)); in testGetAttributeIntValueForEnums()
100 attributes.getAttributeIntValue(BridgeConstants.NS_APP_RES_AUTO, "my_custom_attr", 500); in testGetAttributeIntValueForEnums()
107 attributes.getAttributeIntValue(1, 500); in testGetAttributeIntValueForEnums()
[all …]
/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
DThemePreviewLayout.java71 int maxColumnWidth = attrs.getAttributeIntValue(null, "max_column_width", Integer in ThemePreviewLayout()
73 int minColumnWidth = attrs.getAttributeIntValue(null, "min_column_width", 0); in ThemePreviewLayout()
74 int itemHorizontalMargin = attrs.getAttributeIntValue(null, "item_horizontal_margin", 0); in ThemePreviewLayout()
75 int itemVerticalMargin = attrs.getAttributeIntValue(null, "item_vertical_margin", 0); in ThemePreviewLayout()
89 mMaxColumns = attrs.getAttributeIntValue(null, "max_columns", Integer.MAX_VALUE); in ThemePreviewLayout()
/frameworks/base/core/java/android/util/
DAttributeSet.java203 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() method
279 public int getAttributeIntValue(int index, int defaultValue); in getAttributeIntValue() method
DXmlPullAttributes.java80 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() method in XmlPullAttributes
117 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() method in XmlPullAttributes
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DNopAttributeSet.java82 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() method in NopAttributeSet
114 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() method in NopAttributeSet
DBridgeLayoutParamsMapAttributes.java102 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() method in BridgeLayoutParamsMapAttributes
136 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() method in BridgeLayoutParamsMapAttributes
DBridgeXmlBlockParser.java430 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() method in BridgeXmlBlockParser
431 return mAttrib.getAttributeIntValue(index, defaultValue); in getAttributeIntValue()
435 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() method in BridgeXmlBlockParser
436 return mAttrib.getAttributeIntValue(namespace, attribute, defaultValue); in getAttributeIntValue()
/frameworks/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java163 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() method in BridgeXmlPullAttributes
268 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() method in BridgeXmlPullAttributes
269 return getAttributeIntValue( in getAttributeIntValue()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java78 final int rawColorIntAttr = xml.getAttributeIntValue(null, "rawColor", 0); in checkMetaData()
85 final int colorIntAttr = xml.getAttributeIntValue(nameSpace, "color", 0); in checkMetaData()
/frameworks/base/core/java/android/content/res/
DXmlBlock.java357 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() method in XmlBlock.Parser
361 return getAttributeIntValue(idx, defaultValue); in getAttributeIntValue()
413 public int getAttributeIntValue(int idx, int defaultValue) { in getAttributeIntValue() method in XmlBlock.Parser
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalKeyManager.java97 int version = parser.getAttributeIntValue(null, ATTR_VERSION, 0); in loadGlobalKeys()
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DOverlayBaseTest.java257 actual = as.getAttributeIntValue(null, "value", -1); in testAppXml()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java457 int attrItemCountValue = attrs.getAttributeIntValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java1590 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() method in ZenModeHelperTest.XmlResourceParserImpl
1622 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() method in ZenModeHelperTest.XmlResourceParserImpl
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1780 installLocation = attrs.getAttributeIntValue(i, in parseApkLite()
1783 versionCode = attrs.getAttributeIntValue(i, 0); in parseApkLite()
1785 versionCodeMajor = attrs.getAttributeIntValue(i, 0); in parseApkLite()
1787 revisionCode = attrs.getAttributeIntValue(i, 0); in parseApkLite()
1856 targetSdkVersion = attrs.getAttributeIntValue(i, in parseApkLite()
1860 minSdkVersion = attrs.getAttributeIntValue(i, DEFAULT_MIN_SDK_VERSION); in parseApkLite()
/frameworks/base/config/
Dboot-image-profile.txt5014 HSPLandroid/content/res/XmlBlock$Parser;->getAttributeIntValue(II)I
5015 HSPLandroid/content/res/XmlBlock$Parser;->getAttributeIntValue(Ljava/lang/String;Ljava/lang/String;…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31372 method public abstract int getAttributeIntValue(java.lang.String, java.lang.String, int);
31373 method public abstract int getAttributeIntValue(int, int);
/frameworks/base/non-updatable-api/
Dcurrent.txt49060 method public int getAttributeIntValue(String, String, int);
49061 method public int getAttributeIntValue(int, int);
/frameworks/base/api/
Dcurrent.txt49204 method public int getAttributeIntValue(String, String, int);
49205 method public int getAttributeIntValue(int, int);