/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | ResourceExpr.java | 53 String resourceName, List<Expr> args) { 62 mResourceId = resourceName; 173 final String resourceName = mPackage + "R." + getResourceObject() + "." + mResourceId; 174 if ("anim".equals(mResourceType)) return "android.view.animation.AnimationUtils.loadAnimation(" + context + ", " + resourceName + ")"; 175 if ("animator".equals(mResourceType)) return "android.animation.AnimatorInflater.loadAnimator(" + context + ", " + resourceName + ")"; 176 if ("bool".equals(mResourceType)) return resources + ".getBoolean(" + resourceName + ")"; 177 if ("color".equals(mResourceType)) return "android.databinding.DynamicUtil.getColorFromResource(" + viewName + ", " + resourceName + ")"; 178 if ("colorStateList".equals(mResourceType)) return "android.databinding.DynamicUtil.getColorStateListFromResource(" + viewName + ", " + resourceName + ")"; 179 if ("dimen".equals(mResourceType)) return resources + ".getDimension(" + resourceName + ")"; 180 if ("dimenOffset".equals(mResourceType)) return resources + ".getDimensionPixelOffset(" + resourceName 52 ResourceExpr(BindingTarget target, String packageName, String resourceType, String resourceName, List<Expr> args) argument 220 makeParameterCall(String resources, String resourceName, String methodCall) argument [all...] |
H A D | ExprModel.java | 277 String resourceName, List<Expr> args) { 278 return register(new ResourceExpr(target, packageName, resourceType, resourceName, args)); 276 resourceExpr(BindingTarget target, String packageName, String resourceType, String resourceName, List<Expr> args) argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/ |
H A D | Settings.java | 123 public boolean getBoolean(String resourceName, boolean defaultValue) { argument 124 int resId = mResources.getIdentifier(resourceName, "bool", mPackageName);
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.h | 39 const String16& resourceName, 46 const String16& resourceName, 54 const String16& resourceName, 84 String16 resourceName; member in struct:CompileResourceWorkItem 206 bool versionForCompat(const Bundle* bundle, const String16& resourceName, 211 const String16& resourceName, 216 const String16& resourceName, 619 const String16& resourceName,
|
H A D | ResourceTable.cpp | 44 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, 81 if (table->versionForCompat(bundle, resourceName, target, root)) { 102 if (table->processBundleFormat(bundle, resourceName, target, root) != NO_ERROR) { 125 if (table->modifyForCompat(bundle, resourceName, target, root) != NO_ERROR) { 4772 bool ResourceTable::versionForCompat(const Bundle* bundle, const String16& resourceName, argument 4802 String16(target->getResourceType()), 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 4842 modifyForCompat(const Bundle* bundle, const String16& resourceName, const sp<AaptFile>& target, const sp<XMLNode>& root) argument 5074 processBundleFormat(const Bundle* bundle, const String16& resourceName, const sp<AaptFile>& target, const sp<XMLNode>& root) argument 5085 processBundleFormatImpl(const Bundle* bundle, const String16& resourceName, const sp<AaptFile>& target, const sp<XMLNode>& parent, Vector<sp<XMLNode> >* namespaces) argument [all...] |
H A D | Images.cpp | 1592 String16 resourceName(parseResourceName(file->getSourceFile().getPathLeaf())); 1593 return compileXmlFile(bundle, assets, resourceName, file, table);
|
H A D | Resource.cpp | 1684 err = compileXmlFile(bundle, assets, workItem.resourceName, workItem.xmlRoot,
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ShortcutInfo.java | 531 * if {@code resourceName} is an integer then it'll just return its value. (Which also the 540 public static int lookUpResourceId(@NonNull Resources res, @Nullable String resourceName, argument 542 if (resourceName == null) { 548 return Integer.parseInt(resourceName); 552 return res.getIdentifier(resourceName, resourceType, packageName); 554 Log.e(TAG, "Resource ID for name=" + resourceName + " not found in package "
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
H A D | ExpressionVisitor.java | 405 final String resourceName = resourceReference.substring(slashIndex + 1).trim(); 406 return mModel.resourceExpr(mTarget, packageName, resourceType, resourceName, args);
|
/frameworks/base/core/java/android/content/ |
H A D | Intent.java | 828 public String resourceName; field in class:Intent.ShortcutIconResource 842 icon.resourceName = context.getResources().getResourceName(resourceId); 855 icon.resourceName = source.readString(); 873 dest.writeString(resourceName); 878 return resourceName;
|
/frameworks/opt/setupwizard/tools/docs/ |
H A D | jsilver.jar | META-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ... |
/frameworks/base/core/java/android/view/ |
H A D | View.java | 5423 String resourceName = attributeMap.get(resourceId); 5424 if (resourceName == null) { 5426 resourceName = res.getResourceName(resourceId); 5428 resourceName = "0x" + Integer.toHexString(resourceId); 5430 attributeMap.put(resourceId, resourceName); 5433 attributes[i] = resourceName;
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |