Home
last modified time | relevance | path

Searched refs:attrName (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/opengl/tests/hwc/
DhwcRects.cpp405 string attrName; in parseRect() local
407 in >> attrName; in parseRect()
416 if (attrName == "transform:") { // Transform in parseRect()
437 } else if (attrName == "blend:") { // Blend in parseRect()
452 } else if (attrName == "color:") { // Color in parseRect()
458 } else if (attrName == "alpha:") { // Alpha in parseRect()
465 } else if (attrName == "sourceDim:") { // Source Dimension in parseRect()
472 } else if (attrName == "sourceCrop:") { // Source Crop in parseRect()
480 testPrintE("Unknown attribute of \"%s\" in: %s", attrName.c_str(), in parseRect()
/frameworks/layoutlib/bridge/tests/src/android/util/
DBridgeXmlPullAttributesTest.java64 attrName -> { in testGetAttributeIntValueForEnums()
65 if ("layout_width".equals(attrName)) { in testGetAttributeIntValueForEnums()
71 (ns, attrName) -> { in testGetAttributeIntValueForEnums()
72 if ("my_custom_attr".equals(attrName)) { in testGetAttributeIntValueForEnums()
/frameworks/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java47 @NonNull ResourceNamespace namespace, @NonNull String attrName); in getEnumValues() argument
77 this(parser, context, xmlFileResourceNamespace, Bridge::getEnumValues, (ns, attrName) -> { in BridgeXmlPullAttributes()
80 ResourceReference.attr(ns, attrName)); in BridgeXmlPullAttributes()
/frameworks/rs/driver/
DrsdShaderCache.cpp236 int32_t RsdShaderCache::vtxAttribSlot(const std::string &attrName) const { in vtxAttribSlot()
238 if (attrName == mCurrent->vtxAttrs[ct].name) { in vtxAttribSlot()
DrsdShaderCache.h58 int32_t vtxAttribSlot(const std::string &attrName) const;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java828 String attrName = attributeHolder.getName(); in internalObtainStyledAttributes() local
832 attributeHolder.getNamespace().getXmlNamespaceUri(), attrName); in internalObtainStyledAttributes()
837 value = set.getAttributeValue(BridgeConstants.NS_APP_RES_AUTO, attrName); in internalObtainStyledAttributes()
887 ResourceValue patchedValue = FRAMEWORK_PATCHED_VALUES.get(attrName); in internalObtainStyledAttributes()
905 defaultValue = FRAMEWORK_REPLACE_VALUES.get(attrName); in internalObtainStyledAttributes()
911 !attrName.equals(RTL_ATTRS.get(val)))) { in internalObtainStyledAttributes()
924 attrName, attributeHolder.getNamespace(), in internalObtainStyledAttributes()
932 attrName, attributeHolder.getNamespace(), in internalObtainStyledAttributes()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java347 String attrName = name.substring(arrayName.length() + 1); in parseStyleable() local
350 sRMap.put(attrValue, Pair.of(ResourceType.ATTR, attrName)); in parseStyleable()
351 revRAttrMap.put(attrName, attrValue); in parseStyleable()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java226 int attrName = attributeSet.getAttributeNameResource(i); in createStateListAnimatorFromXml() local
227 if (attrName == R.attr.animation) { in createStateListAnimatorFromXml()
233 attrName : -attrName; in createStateListAnimatorFromXml()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java3632 final String attrName = in.getAttributeName(attrNdx); in restoreFromXml() local
3635 "ActivityRecord: attribute name=" + attrName + " value=" + attrValue); in restoreFromXml()
3636 if (ATTR_ID.equals(attrName)) { in restoreFromXml()
3638 } else if (ATTR_LAUNCHEDFROMUID.equals(attrName)) { in restoreFromXml()
3640 } else if (ATTR_LAUNCHEDFROMPACKAGE.equals(attrName)) { in restoreFromXml()
3642 } else if (ATTR_RESOLVEDTYPE.equals(attrName)) { in restoreFromXml()
3644 } else if (ATTR_COMPONENTSPECIFIED.equals(attrName)) { in restoreFromXml()
3646 } else if (ATTR_USERID.equals(attrName)) { in restoreFromXml()
3648 } else if (attrName.startsWith(ATTR_TASKDESCRIPTION_PREFIX)) { in restoreFromXml()
3649 taskDescription.restoreFromXml(attrName, attrValue); in restoreFromXml()
[all …]
DTaskRecord.java2797 final String attrName = in.getAttributeName(attrNdx); in restoreFromXml() local
2800 attrName + " value=" + attrValue); in restoreFromXml()
2801 switch (attrName) { in restoreFromXml()
2888 if (attrName.startsWith(TaskDescription.ATTR_TASKDESCRIPTION_PREFIX)) { in restoreFromXml()
2889 taskDescription.restoreFromXml(attrName, attrValue); in restoreFromXml()
2891 Slog.w(TAG, "TaskRecord: Unknown attribute=" + attrName); in restoreFromXml()
/frameworks/base/core/java/android/app/
DActivityManager.java1348 public void restoreFromXml(String attrName, String attrValue) { in restoreFromXml() argument
1349 if (ATTR_TASKDESCRIPTIONLABEL.equals(attrName)) { in restoreFromXml()
1351 } else if (ATTR_TASKDESCRIPTIONCOLOR_PRIMARY.equals(attrName)) { in restoreFromXml()
1353 } else if (ATTR_TASKDESCRIPTIONCOLOR_BACKGROUND.equals(attrName)) { in restoreFromXml()
1355 } else if (ATTR_TASKDESCRIPTIONICON_FILENAME.equals(attrName)) { in restoreFromXml()
1357 } else if (ATTR_TASKDESCRIPTIONICON_RESOURCE.equals(attrName)) { in restoreFromXml()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java587 private long getLongValue(XmlPullParser parser, String attrName, long defValue) { in getLongValue() argument
588 String value = parser.getAttributeValue(null, attrName); in getLongValue()
/frameworks/base/core/java/android/content/
DIntent.java10856 final String attrName = in.getAttributeName(attrNdx); in restoreFromXml() local
10858 if (ATTR_ACTION.equals(attrName)) { in restoreFromXml()
10860 } else if (ATTR_DATA.equals(attrName)) { in restoreFromXml()
10862 } else if (ATTR_TYPE.equals(attrName)) { in restoreFromXml()
10864 } else if (ATTR_IDENTIFIER.equals(attrName)) { in restoreFromXml()
10866 } else if (ATTR_COMPONENT.equals(attrName)) { in restoreFromXml()
10868 } else if (ATTR_FLAGS.equals(attrName)) { in restoreFromXml()
10871 Log.e(TAG, "restoreFromXml: unknown attribute=" + attrName); in restoreFromXml()
/frameworks/base/tools/aapt/
DResourceTable.cpp5141 String16 attrPackage, attrType, attrName; in processBundleFormatImpl() local
5144 &attrPackage, &attrType, &attrName, in processBundleFormatImpl()
5209 if (parent->getAttribute(attrNs, attrName) != NULL) { in processBundleFormatImpl()
5212 String8(attrPackage).string(), String8(attrName).string()); in processBundleFormatImpl()
5217 parent->addAttribute(attrNs, attrName, nestedResourceRef); in processBundleFormatImpl()
DResource.cpp756 const String16& attrName) { in fullyQualifyClassName() argument
758 String16("http://schemas.android.com/apk/res/android"), attrName); in fullyQualifyClassName()