Home
last modified time | relevance | path

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

/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
DPartnerConfigHelper.java86 String resourceName = partnerConfig.getResourceName(); in getColor() local
87 ResourceEntry resourceEntry = getResourceEntryFromKey(resourceName); in getColor()
89 Log.w(TAG, "Resource not found: " + resourceName); in getColor()
122 String resourceName = partnerConfig.getResourceName(); in getDrawable() local
123 ResourceEntry resourceEntry = getResourceEntryFromKey(resourceName); in getDrawable()
125 Log.w(TAG, "Resource not found: " + resourceName); in getDrawable()
165 String resourceName = partnerConfig.getResourceName(); in getString() local
166 ResourceEntry resourceEntry = getResourceEntryFromKey(resourceName); in getString()
168 Log.w(TAG, "Resource not found: " + resourceName); in getString()
211 String resourceName = partnerConfig.getResourceName(); in getDimension() local
[all …]
DResourceEntry.java53 String resourceName = bundle.getString(KEY_RESOURCE_NAME); in fromBundle() local
55 return new ResourceEntry(packageName, resourceName, resourceId); in fromBundle()
58 public ResourceEntry(String packageName, String resourceName, int resourceId) { in ResourceEntry() argument
60 mResourceName = resourceName; in ResourceEntry()
DPartnerConfig.java98 PartnerConfig(@PartnerConfigKey String resourceName, ResourceType type) { in PartnerConfig() argument
99 this.mResourceName = resourceName; in PartnerConfig()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaMemoryTracer.cpp35 const char* SkiaMemoryTracer::mapName(const char* resourceName) { in mapName() argument
37 if (SkStrContains(resourceName, resource.first)) { in mapName()
78 const char* resourceName = mapName(mCurrentElement.c_str()); in processElement() local
83 resourceName = categoryResult->second.units; in processElement()
85 resourceName = "Other"; in processElement()
91 if (resourceName == nullptr) { in processElement()
97 auto result = mResults.find(resourceName); in processElement()
112 mResults.insert({resourceName, mCurrentValues}); in processElement()
DSkiaMemoryTracer.h66 const char* mapName(const char* resourceName);
/frameworks/base/mime/java/android/content/type/
DDefaultMimeMapFactory.java51 return create(resourceName -> c.getResourceAsStream("/res/" + resourceName)); in create()
77 Function<String, InputStream> resourceSupplier, String resourceName) { in parseTypes() argument
78 try (InputStream inputStream = Objects.requireNonNull(resourceSupplier.apply(resourceName)); in parseTypes()
102 throw new RuntimeException("Failed to parse " + resourceName, e); in parseTypes()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java102 String resourceName = null; in navigateViews() local
104 resourceName = getContext().getResources().getResourceName(view.getId()); in navigateViews()
106 assertTrue("View " + resourceName != null ? resourceName : view.getId() in navigateViews()
/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.cpp41 const String16& resourceName, in compileXmlFile() argument
51 return compileXmlFile(bundle, assets, resourceName, root, target, table, options); in compileXmlFile()
56 const String16& resourceName, in compileXmlFile() argument
67 return compileXmlFile(bundle, assets, resourceName, root, outTarget, table, options); in compileXmlFile()
72 const String16& resourceName, in compileXmlFile() argument
78 if (table->versionForCompat(bundle, resourceName, target, root)) { in compileXmlFile()
99 if (table->processBundleFormat(bundle, resourceName, target, root) != NO_ERROR) { in compileXmlFile()
122 if (table->modifyForCompat(bundle, resourceName, target, root) != NO_ERROR) { in compileXmlFile()
4769 bool ResourceTable::versionForCompat(const Bundle* bundle, const String16& resourceName, in versionForCompat() argument
4799 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.cpp1714 err = compileXmlFile(bundle, assets, workItem.resourceName, workItem.xmlRoot, in buildResources()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DVelocityBasedConnectedScoreTest.java64 private int setupIntegerResource(int resourceName, int value) { in setupIntegerResource() argument
65 doReturn(value).when(mResources).getInteger(resourceName); in setupIntegerResource()
DScoringParamsTest.java265 private int setupIntegerResource(int resourceName, int value) {
266 doReturn(value).when(mResources).getInteger(resourceName);
DWifiNetworkSelectorTest.java218 private int setupIntegerResource(int resourceName, int value) { in setupIntegerResource() argument
219 doReturn(value).when(mResource).getInteger(resourceName); in setupIntegerResource()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java731 public static int lookUpResourceId(@NonNull Resources res, @Nullable String resourceName, in lookUpResourceId() argument
733 if (resourceName == null) { in lookUpResourceId()
739 return Integer.parseInt(resourceName); in lookUpResourceId()
743 return res.getIdentifier(resourceName, resourceType, packageName); in lookUpResourceId()
745 Log.e(TAG, "Resource ID for name=" + resourceName + " not found in package " in lookUpResourceId()
/frameworks/base/core/java/android/content/
DIntent.java846 public String resourceName; field in Intent.ShortcutIconResource
860 icon.resourceName = context.getResources().getResourceName(resourceId); in fromContext()
873 icon.resourceName = source.readString();
891 dest.writeString(resourceName); in writeToParcel()
896 return resourceName; in toString()
/frameworks/base/core/java/android/view/
DView.java6252 String resourceName = attributeMap.get(resourceId);
6253 if (resourceName == null) {
6255 resourceName = res.getResourceName(resourceId);
6257 resourceName = "0x" + Integer.toHexString(resourceId);
6259 attributeMap.put(resourceId, resourceName);
6262 attributes[i] = resourceName;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7844 field public java.lang.String resourceName;
/frameworks/base/non-updatable-api/
Dcurrent.txt10518 field public String resourceName;
/frameworks/base/api/
Dcurrent.txt10518 field public String resourceName;