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.java92 PartnerConfig(@PartnerConfigKey String resourceName, ResourceType type) { in PartnerConfig() argument
93 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/tests/FlickerTests/lib/src/com/android/server/wm/flicker/
DWindowUtils.java90 String resourceName; in getStatusBarPosition() local
94 resourceName = "status_bar_height_portrait"; in getStatusBarPosition()
97 resourceName = "status_bar_height_landscape"; in getStatusBarPosition()
101 int resourceId = resources.getIdentifier(resourceName, "dimen", "android"); in getStatusBarPosition()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTestUtils.java169 static void install(String resourceName, boolean enableRollback) in install() argument
171 installSplit(enableRollback, resourceName); in install()
194 for (String resourceName : resourceNames) { in installSplit()
195 try (OutputStream packageInSession = session.openWrite(resourceName, 0, -1); in installSplit()
196 InputStream is = loader.getResourceAsStream(resourceName);) { in installSplit()
252 for (String resourceName : resourceNames) { in install()
259 if (resourceName.endsWith(".apex")) { in install()
267 try (OutputStream packageInSession = session.openWrite(resourceName, 0, -1); in install()
268 InputStream is = loader.getResourceAsStream(resourceName);) { in install()
/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.java6129 String resourceName = attributeMap.get(resourceId);
6130 if (resourceName == null) {
6132 resourceName = res.getResourceName(resourceId);
6134 resourceName = "0x" + Integer.toHexString(resourceId);
6136 attributeMap.put(resourceId, resourceName);
6139 attributes[i] = resourceName;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7844 field public java.lang.String resourceName;
/frameworks/base/api/
Dcurrent.txt10508 field public String resourceName;