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

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DResourceExpr.java48 public ResourceExpr(String packageName, String resourceType, String resourceName, argument
57 mResourceId = resourceName;
150 final String resourceName = mPackage + "R." + getResourceObject() + "." + mResourceId;
151 if ("anim".equals(mResourceType)) return "android.view.animation.AnimationUtils.loadAnimation(" + context + ", " + resourceName + ")";
152 if ("animator".equals(mResourceType)) return "android.animation.AnimatorInflater.loadAnimator(" + context + ", " + resourceName + ")";
153 if ("bool".equals(mResourceType)) return resources + ".getBoolean(" + resourceName + ")";
154 if ("color".equals(mResourceType)) return "android.databinding.DynamicUtil.getColorFromResource(getRoot(), " + resourceName + ")";
155 if ("colorStateList".equals(mResourceType)) return "getColorStateListFromResource(" + resourceName + ")";
156 if ("dimen".equals(mResourceType)) return resources + ".getDimension(" + resourceName + ")";
157 if ("dimenOffset".equals(mResourceType)) return resources + ".getDimensionPixelOffset(" + resourceName
197 makeParameterCall(String resourceName, String methodCall) argument
[all...]
H A DExprModel.java238 public Expr resourceExpr(String packageName, String resourceType, String resourceName, argument
240 return register(new ResourceExpr(packageName, resourceType, resourceName, args));
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
H A DBaseBot.java48 protected void assertHasFocus(String resourceName) { argument
49 UiObject2 candidate = mDevice.findObject(By.res(resourceName));
50 assertNotNull("Expected " + resourceName + " to have focus, but it didn't.",
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/
H A DSettings.java123 public boolean getBoolean(String resourceName, boolean defaultValue) { argument
124 int resId = mResources.getIdentifier(resourceName, "bool", mPackageName);
/frameworks/base/tools/aapt/
H A DResourceTable.h39 const String16& resourceName,
46 const String16& resourceName,
54 const String16& resourceName,
84 String16 resourceName; member in struct:CompileResourceWorkItem
208 const String16& resourceName,
213 const String16& resourceName,
611 const String16& resourceName,
H A DResourceTable.cpp44 const String16& resourceName,
54 return compileXmlFile(bundle, assets, resourceName, root, target, table, options);
59 const String16& resourceName,
70 return compileXmlFile(bundle, assets, resourceName, root, outTarget, table, options);
75 const String16& resourceName,
91 if (table->processBundleFormat(bundle, resourceName, target, root) != NO_ERROR) {
114 if (table->modifyForCompat(bundle, resourceName, target, root) != NO_ERROR) {
4734 const String16& resourceName,
4810 String16(target->getResourceType()), resourceName);
4819 String8(resourceName)
42 compileXmlFile(const Bundle* bundle, const sp<AaptAssets>& assets, const String16& resourceName, const sp<AaptFile>& target, ResourceTable* table, int options) argument
57 compileXmlFile(const Bundle* bundle, const sp<AaptAssets>& assets, const String16& resourceName, const sp<AaptFile>& target, const sp<AaptFile>& outTarget, ResourceTable* table, int options) argument
73 compileXmlFile(const Bundle* bundle, const sp<AaptAssets>& assets, const String16& resourceName, const sp<XMLNode>& root, const sp<AaptFile>& target, ResourceTable* table, int options) argument
4733 modifyForCompat(const Bundle* bundle, const String16& resourceName, const sp<AaptFile>& target, const sp<XMLNode>& root) argument
4956 processBundleFormat(const Bundle* bundle, const String16& resourceName, const sp<AaptFile>& target, const sp<XMLNode>& root) argument
4967 processBundleFormatImpl(const Bundle* bundle, const String16& resourceName, const sp<AaptFile>& target, const sp<XMLNode>& parent, Vector<sp<XMLNode> >* namespaces) argument
[all...]
H A DImages.cpp1591 String16 resourceName(parseResourceName(file->getSourceFile().getPathLeaf()));
1592 return compileXmlFile(bundle, assets, resourceName, file, table);
H A DResource.cpp1566 err = compileXmlFile(bundle, assets, workItem.resourceName, workItem.xmlRoot,
/frameworks/base/tools/aapt2/link/
H A DTableMerger.cpp226 ResourceNameRef resourceName(srcPackage->name,
231 << "resource '" << resourceName
/frameworks/base/core/java/android/content/pm/
H A DShortcutInfo.java513 * if {@code resourceName} is an integer then it'll just return its value. (Which also the
522 public static int lookUpResourceId(@NonNull Resources res, @Nullable String resourceName, argument
524 if (resourceName == null) {
530 return Integer.parseInt(resourceName);
534 return res.getIdentifier(resourceName, resourceType, packageName);
536 Log.e(TAG, "Resource ID for name=" + resourceName + " not found in package "
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
H A DExpressionVisitor.java315 final String resourceName = resourceReference.substring(slashIndex + 1).trim();
316 return mModel.resourceExpr(packageName, resourceType, resourceName, args);
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.cpp437 ResourceNameRef resourceName(packageNameToGenerate, type->type, unmangledName);
439 err << "invalid symbol name '" << resourceName << "'"; local
/frameworks/base/core/java/android/content/
H A DIntent.java797 public String resourceName; field in class:Intent.ShortcutIconResource
811 icon.resourceName = context.getResources().getResourceName(resourceId);
824 icon.resourceName = source.readString();
842 dest.writeString(resourceName);
847 return resourceName;
/frameworks/base/core/java/android/view/
H A DView.java4808 String resourceName = attributeMap.get(resourceId);
4809 if (resourceName == null) {
4811 resourceName = res.getResourceName(resourceId);
4813 resourceName = "0x" + Integer.toHexString(resourceId);
4815 attributeMap.put(resourceId, resourceName);
4818 attributes[i] = resourceName;
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 6123 milliseconds