Home
last modified time | relevance | path

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

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DResourceExpr.java53 String resourceName, List<Expr> args) { in ResourceExpr() argument
62 mResourceId = resourceName; in ResourceExpr()
173 final String resourceName = mPackage + "R." + getResourceObject() + "." + mResourceId; in toJava() local
174 …eturn "android.view.animation.AnimationUtils.loadAnimation(" + context + ", " + resourceName + ")"; in toJava()
175 …)) return "android.animation.AnimatorInflater.loadAnimator(" + context + ", " + resourceName + ")"; in toJava()
176 if ("bool".equals(mResourceType)) return resources + ".getBoolean(" + resourceName + ")"; in toJava()
177 …urn "android.databinding.DynamicUtil.getColorFromResource(" + viewName + ", " + resourceName + ")"; in toJava()
178 …oid.databinding.DynamicUtil.getColorStateListFromResource(" + viewName + ", " + resourceName + ")"; in toJava()
179 if ("dimen".equals(mResourceType)) return resources + ".getDimension(" + resourceName + ")"; in toJava()
180 …Offset".equals(mResourceType)) return resources + ".getDimensionPixelOffset(" + resourceName + ")"; in toJava()
[all …]
DExprModel.java277 String resourceName, List<Expr> args) {
278 return register(new ResourceExpr(target, packageName, resourceType, resourceName, args));
/frameworks/base/tools/aapt/
DResourceTable.h39 const String16& resourceName,
46 const String16& resourceName,
54 const String16& resourceName,
84 String16 resourceName; member
206 bool versionForCompat(const Bundle* bundle, const String16& resourceName,
211 const String16& resourceName,
216 const String16& resourceName,
619 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
81 if (table->versionForCompat(bundle, resourceName, target, root)) { in compileXmlFile()
102 if (table->processBundleFormat(bundle, resourceName, target, root) != NO_ERROR) { in compileXmlFile()
125 if (table->modifyForCompat(bundle, resourceName, target, root) != NO_ERROR) { in compileXmlFile()
4772 bool ResourceTable::versionForCompat(const Bundle* bundle, const String16& resourceName, in versionForCompat() argument
4802 String16(target->getResourceType()), resourceName); in versionForCompat()
[all …]
DImages.cpp1592 String16 resourceName(parseResourceName(file->getSourceFile().getPathLeaf())); in postProcessImage() local
1593 return compileXmlFile(bundle, assets, resourceName, file, table); in postProcessImage()
DResource.cpp1684 err = compileXmlFile(bundle, assets, workItem.resourceName, workItem.xmlRoot, in buildResources()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/
DSettings.java148 public boolean getBoolean(String resourceName, boolean defaultValue) { in getBoolean() argument
149 int resId = mResources.getIdentifier(resourceName, "bool", mPackageName); in getBoolean()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java540 public static int lookUpResourceId(@NonNull Resources res, @Nullable String resourceName, in lookUpResourceId() argument
542 if (resourceName == null) { in lookUpResourceId()
548 return Integer.parseInt(resourceName); in lookUpResourceId()
552 return res.getIdentifier(resourceName, resourceType, packageName); in lookUpResourceId()
554 Log.e(TAG, "Resource ID for name=" + resourceName + " not found in package " in lookUpResourceId()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DExpressionVisitor.java405 final String resourceName = resourceReference.substring(slashIndex + 1).trim(); in visitResources()
406 return mModel.resourceExpr(mTarget, packageName, resourceType, resourceName, args); in visitResources()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTest.java154 private int setupIntegerResource(int resourceName, int value) { in setupIntegerResource() argument
155 doReturn(value).when(mResource).getInteger(resourceName); in setupIntegerResource()
/frameworks/base/core/java/android/content/
DIntent.java830 public String resourceName; field in Intent.ShortcutIconResource
844 icon.resourceName = context.getResources().getResourceName(resourceId); in fromContext()
857 icon.resourceName = source.readString();
875 dest.writeString(resourceName); in writeToParcel()
880 return resourceName; in toString()
/frameworks/base/core/java/android/view/
DView.java5461 String resourceName = attributeMap.get(resourceId);
5462 if (resourceName == null) {
5464 resourceName = res.getResourceName(resourceId);
5466 resourceName = "0x" + Integer.toHexString(resourceId);
5468 attributeMap.put(resourceId, resourceName);
5471 attributes[i] = resourceName;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7844 field public java.lang.String resourceName;
/frameworks/base/api/
Dcurrent.txt9617 field public java.lang.String resourceName;
Dtest-current.txt9652 field public java.lang.String resourceName;
Dsystem-current.txt10166 field public java.lang.String resourceName;