/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoDumper.java | 95 serializer.attribute("", "rotation", Integer.toString(rotation)); in dumpWindowToFile() 139 serializer.attribute("", "id", Integer.toString(displayId)); in dumpWindowsToFile() 162 serializer.attribute("", "index", Integer.toString(index)); in dumpWindowRec() 167 serializer.attribute("", "bounds", tmpBounds.toShortString()); in dumpWindowRec() 170 serializer.attribute("", "accessibility-focused", in dumpWindowRec() 172 serializer.attribute("", "id", Integer.toString(winfo.getId())); in dumpWindowRec() 173 serializer.attribute("", "layer", Integer.toString(winfo.getLayer())); in dumpWindowRec() 189 serializer.attribute("", "rotation", Integer.toString(rotation)); in dumpWindowRec() 201 serializer.attribute("", "NAF", Boolean.toString(true)); in dumpNodeRec() 202 serializer.attribute("", "index", Integer.toString(index)); in dumpNodeRec() [all …]
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/DumpTest/ |
H A D | components_full_proto.txt | 898 attribute { 918 attribute { 953 attribute { 965 attribute { 971 attribute { 983 attribute { 989 attribute { 993 attribute { 1003 attribute { 1016 attribute { [all …]
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | XmlPullAttributes.java | 62 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue() argument 65 getAttributeValue(namespace, attribute), options, defaultValue); in getAttributeListValue() 68 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() argument 71 getAttributeValue(namespace, attribute), defaultValue); in getAttributeBooleanValue() 74 public int getAttributeResourceValue(String namespace, String attribute, in getAttributeResourceValue() argument 77 getAttributeValue(namespace, attribute), defaultValue); in getAttributeResourceValue() 80 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() argument 83 getAttributeValue(namespace, attribute), defaultValue); in getAttributeIntValue() 89 getAttributeValue(namespace, attribute), defaultValue); in getAttributeUnsignedIntValue() 92 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue() argument [all …]
|
H A D | AttributeSet.java | 161 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue() argument 173 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() argument 191 public int getAttributeResourceValue(String namespace, String attribute, in getAttributeResourceValue() argument 203 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() argument 217 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue() argument 229 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue() argument
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/ |
H A D | BubbleXmlHelper.kt | 57 serializer.attribute(null, ATTR_VERSION, CURRENT_VERSION.toString()) 62 serializer.attribute(null, ATTR_USER_ID, k.toString()) 79 serializer.attribute(null, ATTR_USER_ID, bubble.userId.toString()) 80 serializer.attribute(null, ATTR_PACKAGE, bubble.packageName) 81 serializer.attribute(null, ATTR_SHORTCUT_ID, bubble.shortcutId) 82 serializer.attribute(null, ATTR_KEY, bubble.key) 83 serializer.attribute(null, ATTR_DESIRED_HEIGHT, bubble.desiredHeight.toString()) 85 bubble.title?.let { serializer.attribute(null, ATTR_TITLE, it) } 86 serializer.attribute(null, ATTR_TASK_ID, bubble.taskId.toString()) 87 bubble.locus?.let { serializer.attribute(null, ATTR_LOCUS, it) } [all …]
|
/aosp14/frameworks/base/errorprone/refaster/ |
H A D | EfficientXml.java | 33 out.attribute(null, n, Integer.toString(v)); in beforeToString() 38 out.attribute(null, n, String.valueOf(v)); in beforeValueOf() 123 out.attribute(null, n, Long.toString(v)); in beforeToString() 128 out.attribute(null, n, String.valueOf(v)); in beforeValueOf() 150 out.attribute(null, n, Long.toHexString(v)); in beforeToHexString() 213 out.attribute(null, n, Float.toString(v)); in beforeToString() 218 out.attribute(null, n, String.valueOf(v)); in beforeValueOf() 257 out.attribute(null, n, String.valueOf(v)); in beforeValueOf() 286 out.attribute(null, n, String.valueOf(v)); in beforeValueOf() 298 out.attribute(null, n, "true"); in before() [all …]
|
/aosp14/frameworks/base/core/java/android/accessibilityservice/ |
H A D | InputMethod.java | 103 public void onStartInput(@NonNull EditorInfo attribute, boolean restarting) { in onStartInput() argument 150 @NonNull EditorInfo attribute) { in startInput() argument 151 Log.v(LOG_TAG, "startInput(): editor=" + attribute); in startInput() 153 doStartInput(ic, attribute, false /* restarting */); in startInput() 158 @NonNull EditorInfo attribute) { in restartInput() argument 159 Log.v(LOG_TAG, "restartInput(): editor=" + attribute); in restartInput() 161 doStartInput(ic, attribute, true /* restarting */); in restartInput() 166 final void doStartInput(RemoteAccessibilityInputConnection ic, EditorInfo attribute, in doStartInput() argument 177 mInputEditorInfo = attribute; in doStartInput() 179 onStartInput(attribute, restarting); in doStartInput()
|
/aosp14/system/core/libprocessgroup/profiles/ |
H A D | task_profiles_test.h | 40 auto&& attribute = task_profiles_->attributes(i); in TEST_P() 41 EXPECT_FALSE(attribute.name().empty()) in TEST_P() 43 EXPECT_FALSE(attribute.controller().empty()) in TEST_P() 45 EXPECT_FALSE(attribute.file().empty()) in TEST_P()
|
/aosp14/frameworks/base/tools/aapt2/link/ |
H A D | XmlReferenceLinker.cpp | 67 const Attribute* attribute = &default_attribute; in Visit() local 90 attribute = &attr.compiled_attribute.value().attribute; in Visit() 93 attr.compiled_value = ResourceUtils::TryParseItemForAttribute(attr.value, attribute); in Visit() 98 } else if ((attribute->type_mask & android::ResTable_map::TYPE_STRING) == 0) { in Visit() 102 << *attribute; in Visit()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | SettingsXml.java | 321 WriteSection attribute(String attrName, @Nullable String value) throws IOException; in attribute() method 323 WriteSection attribute(String attrName, int value) throws IOException; in attribute() method 325 WriteSection attribute(String attrName, long value) throws IOException; in attribute() method 327 WriteSection attribute(String attrName, boolean value) throws IOException; in attribute() method 356 public WriteSection attribute(String attrName, String value) throws IOException { in attribute() method in SettingsXml.WriteSectionImpl 358 mXmlSerializer.attribute(null, attrName, value); in attribute() 364 public WriteSection attribute(String attrName, int value) throws IOException { in attribute() method in SettingsXml.WriteSectionImpl 372 public WriteSection attribute(String attrName, long value) throws IOException { in attribute() method in SettingsXml.WriteSectionImpl 380 public WriteSection attribute(String attrName, boolean value) throws IOException { in attribute() method in SettingsXml.WriteSectionImpl
|
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | BundlePolicySerializer.java | 141 serializer.attribute(null, ATTR_KEY, key); in writeBundle() 144 serializer.attribute(null, ATTR_VALUE_TYPE, ATTR_TYPE_BOOLEAN); in writeBundle() 147 serializer.attribute(null, ATTR_VALUE_TYPE, ATTR_TYPE_INTEGER); in writeBundle() 150 serializer.attribute(null, ATTR_VALUE_TYPE, ATTR_TYPE_STRING); in writeBundle() 153 serializer.attribute(null, ATTR_VALUE_TYPE, ATTR_TYPE_BUNDLE); in writeBundle() 156 serializer.attribute(null, ATTR_VALUE_TYPE, ATTR_TYPE_BUNDLE_ARRAY); in writeBundle() 163 serializer.attribute(null, ATTR_VALUE_TYPE, ATTR_TYPE_BUNDLE); in writeBundle() 168 serializer.attribute(null, ATTR_VALUE_TYPE, ATTR_TYPE_STRING_ARRAY); in writeBundle()
|
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | PrintSpoolerService.java | 947 serializer.attribute(null, ATTR_TAG, tag); in doWriteStateLocked() 956 serializer.attribute(null, ATTR_CANCELLING, String.valueOf( in doWriteStateLocked() 984 serializer.attribute(null, ATTR_END, String.valueOf( in doWriteStateLocked() 995 serializer.attribute(null, ATTR_COLOR_MODE, in doWriteStateLocked() 999 serializer.attribute(null, ATTR_DUPLEX_MODE, in doWriteStateLocked() 1014 serializer.attribute(null, ATTR_PACKAGE_NAME, in doWriteStateLocked() 1016 serializer.attribute(null, ATTR_LABEL_RES_ID, in doWriteStateLocked() 1019 serializer.attribute(null, ATTR_LABEL, in doWriteStateLocked() 1033 serializer.attribute(null, ATTR_LABEL, in doWriteStateLocked() 1076 serializer.attribute(null, ATTR_KEY, key); in doWriteStateLocked() [all …]
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | IntentFilterVerificationInfo.java | 125 String getStringFromXml(TypedXmlPullParser parser, String attribute, String defaultValue) { in getStringFromXml() argument 126 String value = parser.getAttributeValue(null, attribute); in getStringFromXml() 128 String msg = "Missing element under " + TAG +": " + attribute + " at " + in getStringFromXml() 137 int getIntFromXml(TypedXmlPullParser parser, String attribute, int defaultValue) { in getIntFromXml() argument 138 return parser.getAttributeInt(null, attribute, defaultValue); in getIntFromXml() 179 serializer.attribute(null, ATTR_PACKAGE_NAME, mPackageName); in writeToXml() 183 serializer.attribute(null, ATTR_DOMAIN_NAME, str); in writeToXml()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
H A D | ControlsFavoritePersistenceWrapper.kt | 116 attribute(null, TAG_COMPONENT, s.componentName.flattenToString()) 117 attribute(null, TAG_STRUCTURE, s.structure.toString()) 122 attribute(null, TAG_ID, c.controlId) 123 attribute(null, TAG_TITLE, c.controlTitle.toString()) 124 attribute(null, TAG_SUBTITLE, c.controlSubtitle.toString()) 125 attribute(null, TAG_TYPE, c.deviceType.toString())
|
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
H A D | UninstallAppProgress.java | 332 TypedValue attribute = new TypedValue(); in initView() local 333 getTheme().resolveAttribute(android.R.attr.windowBackground, attribute, true); in initView() 334 if (attribute.type >= TypedValue.TYPE_FIRST_COLOR_INT && in initView() 335 attribute.type <= TypedValue.TYPE_LAST_COLOR_INT) { in initView() 336 getWindow().setBackgroundDrawable(new ColorDrawable(attribute.data)); in initView() 338 getWindow().setBackgroundDrawable(getResources().getDrawable(attribute.resourceId, in initView() 342 getTheme().resolveAttribute(android.R.attr.navigationBarColor, attribute, true); in initView() 343 getWindow().setNavigationBarColor(attribute.data); in initView() 345 getTheme().resolveAttribute(android.R.attr.statusBarColor, attribute, true); in initView() 346 getWindow().setStatusBarColor(attribute.data); in initView()
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | XmlUtils.java | 67 return attribute(namespace, name, value); in attributeInterned() 482 out.attribute(null, "name", name); in writeMapXml() 545 out.attribute(null, "name", name); in writeListXml() 568 out.attribute(null, "name", name); in writeSetXml() 602 out.attribute(null, "name", name); in writeByteArrayXml() 638 out.attribute(null, "name", name); in writeIntArrayXml() 677 out.attribute(null, "name", name); in writeLongArrayXml() 716 out.attribute(null, "name", name); in writeDoubleArrayXml() 755 out.attribute(null, "name", name); in writeStringArrayXml() 763 out.attribute(null, "value", val[i]); in writeStringArrayXml() [all …]
|
/aosp14/frameworks/base/core/java/android/content/res/ |
H A D | XmlBlock.java | 392 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue() argument 394 int idx = nativeGetAttributeIndex(mParseState, namespace, attribute); in getAttributeListValue() 400 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() argument 402 int idx = nativeGetAttributeIndex(mParseState, namespace, attribute); in getAttributeBooleanValue() 408 public int getAttributeResourceValue(String namespace, String attribute, in getAttributeResourceValue() argument 410 int idx = nativeGetAttributeIndex(mParseState, namespace, attribute); in getAttributeResourceValue() 416 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() argument 418 int idx = nativeGetAttributeIndex(mParseState, namespace, attribute); in getAttributeIntValue() 427 int idx = nativeGetAttributeIndex(mParseState, namespace, attribute); in getAttributeUnsignedIntValue() 433 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue() argument [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/ |
H A D | AdditionalSubtypeUtils.java | 167 out.attribute(null, ATTR_ID, imiId); in saveToFile() 175 out.attribute(null, ATTR_NAME_OVERRIDE, subtype.getNameOverride().toString()); in saveToFile() 178 out.attribute(null, ATTR_NAME_PK_LANGUAGE_TAG, in saveToFile() 181 out.attribute(null, ATTR_NAME_PK_LAYOUT_TYPE, in saveToFile() 184 out.attribute(null, ATTR_IME_SUBTYPE_LOCALE, subtype.getLocale()); in saveToFile() 185 out.attribute(null, ATTR_IME_SUBTYPE_LANGUAGE_TAG, in saveToFile() 187 out.attribute(null, ATTR_IME_SUBTYPE_MODE, subtype.getMode()); in saveToFile() 188 out.attribute(null, ATTR_IME_SUBTYPE_EXTRA_VALUE, subtype.getExtraValue()); in saveToFile()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
H A D | DomainVerificationPersistence.java | 232 .attribute(ATTR_PACKAGE_NAME, packageName) in writePkgStateToXml() 233 .attribute(ATTR_ID, pkgState.getId().toString()) in writePkgStateToXml() 234 .attribute(ATTR_HAS_AUTO_VERIFY_DOMAINS, in writePkgStateToXml() 236 .attribute(ATTR_SIGNATURE, signature)) { in writePkgStateToXml() 274 .attribute(ATTR_NAME, stateMap.keyAt(index)) in writeStateMap() 275 .attribute(ATTR_STATE, stateMap.valueAt(index)) in writeStateMap() 319 .attribute(ATTR_USER_ID, userState.getUserId()) in writeUserStateToXml() 320 .attribute(ATTR_ALLOW_LINK_HANDLING, in writeUserStateToXml() 329 .attribute(ATTR_NAME, enabledHosts.valueAt(index)) in writeUserStateToXml()
|
/aosp14/frameworks/base/core/java/android/hardware/usb/ |
H A D | DeviceFilter.java | 153 serializer.attribute(null, "vendor-id", Integer.toString(mVendorId)); in write() 156 serializer.attribute(null, "product-id", Integer.toString(mProductId)); in write() 159 serializer.attribute(null, "class", Integer.toString(mClass)); in write() 162 serializer.attribute(null, "subclass", Integer.toString(mSubclass)); in write() 165 serializer.attribute(null, "protocol", Integer.toString(mProtocol)); in write() 168 serializer.attribute(null, "manufacturer-name", mManufacturerName); in write() 171 serializer.attribute(null, "product-name", mProductName); in write() 174 serializer.attribute(null, "serial-number", mSerialNumber); in write()
|
/aosp14/frameworks/base/tools/aapt2/ |
H A D | Resources.proto | 270 // as XML attribute values or on the right hand side of style attribute definitions. The concrete 346 // represent the value of a style attribute before the attribute is compiled and the set of 436 // Bitmask of formats allowed for an attribute. 473 // An XML attribute/value pair defined in the style. 481 // A reference to the XML attribute. 484 // The Item defined for this XML attribute. 494 // The set of XML attribute/value pairs for this style. 501 // An attribute defined for this styleable. 509 // The reference to the attribute. 513 // The set of attribute declarations. [all …]
|
/aosp14/frameworks/base/opengl/java/android/opengl/ |
H A D | EGLLogWrapper.java | 166 int attribute, int[] value) { in eglGetConfigAttrib() argument 170 arg("attribute", attribute); in eglGetConfigAttrib() 172 boolean result = mEgl10.eglGetConfigAttrib(display, config, attribute, in eglGetConfigAttrib() 278 int attribute, int[] value) { in eglQueryContext() argument 282 arg("attribute", attribute); in eglQueryContext() 284 boolean result = mEgl10.eglQueryContext(display, context, attribute, in eglQueryContext() 304 int attribute, int[] value) { in eglQuerySurface() argument 308 arg("attribute", attribute); in eglQuerySurface() 310 boolean result = mEgl10.eglQuerySurface(display, surface, attribute, in eglQuerySurface()
|
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
H A D | EventResultPersister.java | 251 serializer.attribute(null, "counter", Integer.toString(counter)); in writeState() 256 serializer.attribute(null, "id", in writeState() 258 serializer.attribute(null, "status", in writeState() 260 serializer.attribute(null, "legacyStatus", in writeState() 263 serializer.attribute(null, "statusMessage", in writeState() 266 serializer.attribute(null, "serviceId", in writeState()
|
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/theme/ |
H A D | Color.kt | 28 fun colorAttr(@AttrRes attribute: Int): Color { 29 return AndroidColorScheme.getColor(LocalContext.current, attribute)
|
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/ui/theme/ |
H A D | Color.kt | 28 fun colorAttr(@AttrRes attribute: Int): Color { 29 return AndroidColorScheme.getColor(LocalContext.current, attribute)
|