Home
last modified time | relevance | path

Searched refs:getAttributeIntValue (Results 1 – 21 of 21) 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/base/core/java/android/content/pm/parsing/
DApkLiteParseUtils.java326 installLocation = attrs.getAttributeIntValue(i, in parseApkLite()
330 versionCode = attrs.getAttributeIntValue(i, 0); in parseApkLite()
333 versionCodeMajor = attrs.getAttributeIntValue(i, 0); in parseApkLite()
336 revisionCode = attrs.getAttributeIntValue(i, 0); in parseApkLite()
413 overlayPriority = attrs.getAttributeIntValue(i, 0); in parseApkLite()
431 targetSdkVersion = attrs.getAttributeIntValue(i, in parseApkLite()
435 minSdkVersion = attrs.getAttributeIntValue(i, DEFAULT_MIN_SDK_VERSION); in parseApkLite()
/frameworks/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java159 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() method in BridgeXmlPullAttributes
264 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() method in BridgeXmlPullAttributes
265 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/packages/SystemUI/src/com/android/systemui/statusbar/
DScreenRecordDrawable.java68 mLevel = attrs.getAttributeIntValue(null, "level", 0); in inflate()
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DOverlayBaseTest.java265 actual = as.getAttributeIntValue(null, "value", -1); in testAppXml()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java456 int attrItemCountValue = attrs.getAttributeIntValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java1800 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() method in ZenModeHelperTest.XmlResourceParserImpl
1832 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() method in ZenModeHelperTest.XmlResourceParserImpl
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1601 installLocation = attrs.getAttributeIntValue(i, in parseApkLite()
1604 versionCode = attrs.getAttributeIntValue(i, 0); in parseApkLite()
1606 versionCodeMajor = attrs.getAttributeIntValue(i, 0); in parseApkLite()
1608 revisionCode = attrs.getAttributeIntValue(i, 0); in parseApkLite()
1677 overlayPriority = attrs.getAttributeIntValue(i, 0); in parseApkLite()
1696 targetSdkVersion = attrs.getAttributeIntValue(i, in parseApkLite()
1700 minSdkVersion = attrs.getAttributeIntValue(i, DEFAULT_MIN_SDK_VERSION); in parseApkLite()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/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/config/
Dboot-image-profile.txt6596 HSPLandroid/content/res/XmlBlock$Parser;->getAttributeIntValue(II)I
6597 HSPLandroid/content/res/XmlBlock$Parser;->getAttributeIntValue(Ljava/lang/String;Ljava/lang/String;…
/frameworks/base/api/
Dcurrent.txt51305 method public int getAttributeIntValue(String, String, int);
51306 method public int getAttributeIntValue(int, int);