Home
last modified time | relevance | path

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

12

/aosp12/frameworks/layoutlib/bridge/tests/src/android/util/
H A 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 …]
/aosp12/frameworks/base/core/java/android/util/
H A DAttributeSet.java203 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() method
279 public int getAttributeIntValue(int index, int defaultValue); in getAttributeIntValue() method
H A 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
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A 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
H A 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
H A 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()
/aosp12/frameworks/base/core/java/android/content/pm/parsing/
H A DApkLiteParseUtils.java352 int installLocation = parser.getAttributeIntValue(ANDROID_RES_NAMESPACE, in parseApkLite()
354 int versionCode = parser.getAttributeIntValue(ANDROID_RES_NAMESPACE, "versionCode", 0); in parseApkLite()
355 int versionCodeMajor = parser.getAttributeIntValue(ANDROID_RES_NAMESPACE, in parseApkLite()
358 int revisionCode = parser.getAttributeIntValue(ANDROID_RES_NAMESPACE, "revisionCode", 0); in parseApkLite()
416 rollbackDataPolicy = parser.getAttributeIntValue(ANDROID_RES_NAMESPACE, in parseApkLite()
445 overlayPriority = parser.getAttributeIntValue(ANDROID_RES_NAMESPACE, "priority", 0); in parseApkLite()
/aosp12/frameworks/layoutlib/bridge/src/android/util/
H A 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()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DMetaDataTest.java78 final int rawColorIntAttr = xml.getAttributeIntValue(null, "rawColor", 0); in checkMetaData()
85 final int colorIntAttr = xml.getAttributeIntValue(nameSpace, "color", 0); in checkMetaData()
/aosp12/packages/apps/Stk/src/com/android/stk/
H A DStkMenuConfig.java170 int mcc = parser.getAttributeIntValue(null, XML_MCC_ATTR, UNSPECIFIED); in initialize()
171 int mnc = parser.getAttributeIntValue(null, XML_MNC_ATTR, UNSPECIFIED); in initialize()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
H A DRoleParser.java274 int minSdkVersion = getAttributeIntValue(parser, ATTRIBUTE_MIN_SDK_VERSION, in parsePermission()
348 int minSdkVersion = getAttributeIntValue(parser, ATTRIBUTE_MIN_SDK_VERSION, in parseRole()
525 int queryFlags = getAttributeIntValue(parser, ATTRIBUTE_QUERY_FLAGS, 0); in parseRequiredComponent()
760 Integer maxTargetSdkVersion = getAttributeIntValue(parser, in parseAppOps()
918 private int getAttributeIntValue(@NonNull XmlResourceParser parser, in getAttributeIntValue() method in RoleParser
920 return parser.getAttributeIntValue(null, name, defaultValue); in getAttributeIntValue()
/aosp12/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java368 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() method in XmlBlock.Parser
372 return getAttributeIntValue(idx, defaultValue); in getAttributeIntValue()
424 public int getAttributeIntValue(int idx, int defaultValue) { in getAttributeIntValue() method in XmlBlock.Parser
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DScreenRecordDrawable.java68 mLevel = attrs.getAttributeIntValue(null, "level", 0); in inflate()
/aosp12/frameworks/base/services/core/java/com/android/server/policy/
H A DGlobalKeyManager.java129 int version = parser.getAttributeIntValue(null, ATTR_VERSION, 0); in loadGlobalKeys()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
H A DWallpaperCategory.java152 mPriority = attrs.getAttributeIntValue(null, "priority", -1); in Builder()
/aosp12/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
H A DOverlayBaseTest.java269 actual = as.getAttributeIntValue(null, "value", -1); in testAppXml()
/aosp12/frameworks/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java456 int attrItemCountValue = attrs.getAttributeIntValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java1626 installLocation = attrs.getAttributeIntValue(i, in parseApkLite()
1629 versionCode = attrs.getAttributeIntValue(i, 0); in parseApkLite()
1631 versionCodeMajor = attrs.getAttributeIntValue(i, 0); in parseApkLite()
1633 revisionCode = attrs.getAttributeIntValue(i, 0); in parseApkLite()
1686 rollbackDataPolicy = attrs.getAttributeIntValue(i, 0); in parseApkLite()
1701 overlayPriority = attrs.getAttributeIntValue(i, 0); in parseApkLite()
1720 targetSdkVersion = attrs.getAttributeIntValue(i, in parseApkLite()
1724 minSdkVersion = attrs.getAttributeIntValue(i, DEFAULT_MIN_SDK_VERSION); in parseApkLite()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DZenModeHelperTest.java2045 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() method in ZenModeHelperTest.XmlResourceParserImpl
2077 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() method in ZenModeHelperTest.XmlResourceParserImpl
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/account/
H A DBaseAccountType.java693 return attrs.getAttributeIntValue(null, attribute, defaultValue); in getAttr()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/account/
H A DBaseAccountType.java152 return attrs.getAttributeIntValue(null, attribute, defaultValue); in getAttr()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt5700 HSPLandroid/content/res/XmlBlock$Parser;->getAttributeIntValue(II)I
5701 HSPLandroid/content/res/XmlBlock$Parser;->getAttributeIntValue(Ljava/lang/String;Ljava/lang/String;…
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt46071 method public int getAttributeIntValue(String, String, int);
46072 method public int getAttributeIntValue(int, int);
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt31372 method public abstract int getAttributeIntValue(java.lang.String, java.lang.String, int);
31373 method public abstract int getAttributeIntValue(int, int);

12