Home
last modified time | relevance | path

Searched refs:resourceName (Results 1 – 17 of 17) sorted by relevance

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DResourceExpr.java48 public ResourceExpr(String packageName, String resourceType, String resourceName, in ResourceExpr() argument
57 mResourceId = resourceName; in ResourceExpr()
150 final String resourceName = mPackage + "R." + getResourceObject() + "." + mResourceId; in toJava() local
151 …eturn "android.view.animation.AnimationUtils.loadAnimation(" + context + ", " + resourceName + ")"; in toJava()
152 …)) return "android.animation.AnimatorInflater.loadAnimator(" + context + ", " + resourceName + ")"; in toJava()
153 if ("bool".equals(mResourceType)) return resources + ".getBoolean(" + resourceName + ")"; in toJava()
154 …e)) return "android.databinding.DynamicUtil.getColorFromResource(getRoot(), " + resourceName + ")"; in toJava()
155 …olorStateList".equals(mResourceType)) return "getColorStateListFromResource(" + resourceName + ")"; in toJava()
156 if ("dimen".equals(mResourceType)) return resources + ".getDimension(" + resourceName + ")"; in toJava()
157 …Offset".equals(mResourceType)) return resources + ".getDimensionPixelOffset(" + resourceName + ")"; in toJava()
[all …]
DExprModel.java238 public Expr resourceExpr(String packageName, String resourceType, String resourceName,
240 return register(new ResourceExpr(packageName, resourceType, resourceName, args));
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
DBaseBot.java48 protected void assertHasFocus(String resourceName) { in assertHasFocus() argument
49 UiObject2 candidate = mDevice.findObject(By.res(resourceName)); in assertHasFocus()
50 assertNotNull("Expected " + resourceName + " to have focus, but it didn't.", in assertHasFocus()
/frameworks/base/tools/aapt/
DResourceTable.h39 const String16& resourceName,
46 const String16& resourceName,
54 const String16& resourceName,
84 String16 resourceName; member
208 const String16& resourceName,
213 const String16& resourceName,
611 const String16& resourceName,
DResourceTable.cpp44 const String16& resourceName, in compileXmlFile() argument
54 return compileXmlFile(bundle, assets, resourceName, root, target, table, options); in compileXmlFile()
59 const String16& resourceName, in compileXmlFile() argument
70 return compileXmlFile(bundle, assets, resourceName, root, outTarget, table, options); in compileXmlFile()
75 const String16& resourceName, in compileXmlFile() argument
91 if (table->processBundleFormat(bundle, resourceName, target, root) != NO_ERROR) { in compileXmlFile()
114 if (table->modifyForCompat(bundle, resourceName, target, root) != NO_ERROR) { in compileXmlFile()
4725 const String16& resourceName, in modifyForCompat() argument
4801 String16(target->getResourceType()), resourceName); in modifyForCompat()
4810 String8(resourceName).string()); in modifyForCompat()
[all …]
DImages.cpp1591 String16 resourceName(parseResourceName(file->getSourceFile().getPathLeaf())); in postProcessImage() local
1592 return compileXmlFile(bundle, assets, resourceName, file, table); in postProcessImage()
DResource.cpp1552 err = compileXmlFile(bundle, assets, workItem.resourceName, workItem.xmlRoot, in buildResources()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/
DSettings.java119 public boolean getBoolean(String resourceName, boolean defaultValue) { in getBoolean() argument
120 int resId = mResources.getIdentifier(resourceName, "bool", mPackageName); in getBoolean()
/frameworks/base/tools/aapt2/link/
DTableMerger.cpp226 ResourceNameRef resourceName(srcPackage->name, in doMerge() local
231 << "resource '" << resourceName in doMerge()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DExpressionVisitor.java315 final String resourceName = resourceReference.substring(slashIndex + 1).trim(); in visitResources()
316 return mModel.resourceExpr(packageName, resourceType, resourceName, args); in visitResources()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp437 ResourceNameRef resourceName(packageNameToGenerate, type->type, unmangledName); in addMembersToTypeClass() local
439 err << "invalid symbol name '" << resourceName << "'"; in addMembersToTypeClass()
/frameworks/base/core/java/android/content/
DIntent.java797 public String resourceName; field in Intent.ShortcutIconResource
811 icon.resourceName = context.getResources().getResourceName(resourceId); in fromContext()
824 icon.resourceName = source.readString();
842 dest.writeString(resourceName); in writeToParcel()
847 return resourceName; in toString()
/frameworks/base/core/java/android/view/
DView.java4780 String resourceName = attributeMap.get(resourceId); in saveAttributeData() local
4781 if (resourceName == null) { in saveAttributeData()
4783 resourceName = res.getResourceName(resourceId); in saveAttributeData()
4785 resourceName = "0x" + Integer.toHexString(resourceId); in saveAttributeData()
4787 attributeMap.put(resourceId, resourceName); in saveAttributeData()
4790 attributes[i] = resourceName; in saveAttributeData()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7844 field public java.lang.String resourceName;
/frameworks/base/api/
Dcurrent.txt8799 field public java.lang.String resourceName;
Dsystem-current.txt9141 field public java.lang.String resourceName;
Dtest-current.txt8808 field public java.lang.String resourceName;