Home
last modified time | relevance | path

Searched refs:getResourceName (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
DFakeOverrideContentProvider.java51 mFakeProviderResultBundle.putBundle(resourceEntry.getResourceName(), in injectResourceEntry()
69 PartnerConfig.CONFIG_LAYOUT_BG_COLOR.getResourceName(), in installDefaultProvider()
74 PartnerConfig.CONFIG_LAYOUT_BG_COLOR.getResourceName(), in installDefaultProvider()
76 PartnerConfig.CONFIG_LAYOUT_BG_COLOR.getResourceName(), in installDefaultProvider()
82 PartnerConfig.CONFIG_TOOLBAR_PRIMARY_BUTTON_BG.getResourceName(), in installDefaultProvider()
87 PartnerConfig.CONFIG_TOOLBAR_PRIMARY_BUTTON_BG.getResourceName(), in installDefaultProvider()
89 PartnerConfig.CONFIG_TOOLBAR_PRIMARY_BUTTON_BG.getResourceName(), in installDefaultProvider()
95 PartnerConfig.CONFIG_TOOLBAR_BUTTON_TEXT_SIZE.getResourceName(), in installDefaultProvider()
100 PartnerConfig.CONFIG_TOOLBAR_BUTTON_TEXT_SIZE.getResourceName(), in installDefaultProvider()
102 PartnerConfig.CONFIG_TOOLBAR_BUTTON_TEXT_SIZE.getResourceName(), in installDefaultProvider()
[all …]
DPartnerConfigHelperTest.java183 .putColor(TEST_COLOR_RESOURCE_NAME.getResourceName(), android.R.color.darker_gray); in prepareFakeData()
185 .putDimension(TEST_DIMENSION_RESOURCE_NAME.getResourceName(), EXCEPTED_DIMENSION); in prepareFakeData()
186 testResources.putText(TEST_STRING_RESOURCE_NAME.getResourceName(), EXCEPTED_STRING); in prepareFakeData()
192 testResources.putDrawable(TEST_DRAWABLE_RESOURCE_NAME.getResourceName(), mExpectedDrawable); in prepareFakeData()
197 TEST_COLOR_RESOURCE_NAME.getResourceName(), in prepareFakeData()
199 TEST_COLOR_RESOURCE_NAME.getResourceName(), in prepareFakeData()
204 TEST_DIMENSION_RESOURCE_NAME.getResourceName(), in prepareFakeData()
206 TEST_DIMENSION_RESOURCE_NAME.getResourceName(), in prepareFakeData()
211 TEST_STRING_RESOURCE_NAME.getResourceName(), in prepareFakeData()
213 TEST_STRING_RESOURCE_NAME.getResourceName(), in prepareFakeData()
[all …]
DResourceEntryTest.java58 assertThat(result.getResourceName()) in fromBundle_bundleWithRequiredData_getResourceEntryWithCorrectData()
/frameworks/layoutlib/bridge/tests/src/com/android/ide/common/resources/deprecated/
DSingleResourceFile.java54 mResourceName = getResourceName(); in SingleResourceFile()
65 getResourceName()), in SingleResourceFile()
73 getResourceName()), in SingleResourceFile()
117 private String getResourceName() { in getResourceName() method in SingleResourceFile
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
DPartnerConfigHelper.java90 String resourceName = partnerConfig.getResourceName(); in getColor()
129 String resourceName = partnerConfig.getResourceName(); in getColorStateList()
173 String resourceName = partnerConfig.getResourceName(); in getDrawable()
216 String resourceName = partnerConfig.getResourceName(); in getString()
262 String resourceName = partnerConfig.getResourceName(); in getDimension()
298 String resourceName = partnerConfig.getResourceName(); in getBoolean()
DResourceEntry.java68 public String getResourceName() { in getResourceName() method in ResourceEntry
DPartnerConfig.java97 public String getResourceName() { in getResourceName() method in PartnerConfig
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java272 String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName() method in ResourcesImpl
273 String str = mAssets.getResourceName(resid); in getResourceName()
615 final String name = getResourceName(id); in loadDrawable()
662 final String name = getResourceName(id); in loadDrawable()
712 name = getResourceName(id); in loadDrawable()
772 resName = getResourceName(resourceId); in verifyPreloadConfig()
786 resName = getResourceName(resourceId); in verifyPreloadConfig()
827 throw new NotFoundException("Resource \"" + getResourceName(id) + "\" (" in loadDrawableForCookie()
836 final String name = getResourceName(id); in loadDrawableForCookie()
899 final String name = getResourceName(id); in loadDrawableForCookie()
[all …]
DResources.java899 Log.w(TAG, "Drawable " + getResourceName(id) + " has unresolved theme " in getDrawable()
1097 Log.w(TAG, "ColorStateList " + getResourceName(id) + " has " in getColorStateList()
1772 return getResourceName(Integer.parseInt(hexString, 16)); in getResourceNameFromHexString()
2182 public String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName() method in Resources
2183 return mResourcesImpl.getResourceName(resid); in getResourceName()
/frameworks/base/libs/androidfw/tests/
DSplit_test.cpp136 EXPECT_TRUE(table.getResourceName(R::string::test1, false, &baseName)); in TEST_F()
142 EXPECT_TRUE(table.getResourceName(R::string::test1, false, &frName)); in TEST_F()
237 EXPECT_FALSE(table.getResourceName(R::string::test3, false, &name)); in TEST_F()
242 ASSERT_TRUE(table.getResourceName(R::string::test3, false, &name)); in TEST_F()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DCarSetupWizardCompatLayoutTest.java559 TEST_TOOLBAR_BUTTON_TEXT_SIZE_RESOURCE_NAME.getResourceName(), EXCEPTED_TEXT_SIZE); in prepareFakeData()
564 TEST_TOOLBAR_BUTTON_TEXT_SIZE_RESOURCE_NAME.getResourceName(), in prepareFakeData()
566 TEST_TOOLBAR_BUTTON_TEXT_SIZE_RESOURCE_NAME.getResourceName(), in prepareFakeData()
/frameworks/base/core/java/android/gesture/
DGestureLibraries.java172 context.getResources().getResourceName(mResourceId), e); in load()
/frameworks/base/test-mock/src/android/test/mock/
DMockResources.java209 public String getResourceName(int resid) throws NotFoundException { in getResourceName() method in MockResources
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java104 resourceName = getContext().getResources().getResourceName(view.getId()); in navigateViews()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java117 Log.d(TAG, "loaded animator from cache, " + resources.getResourceName(id)); in loadAnimator()
121 Log.d(TAG, "cache miss for animator " + resources.getResourceName(id)); in loadAnimator()
132 Log.d(TAG, "caching animator for res " + resources.getResourceName(id)); in loadAnimator()
/frameworks/base/test-mock/api/
Dlint-baseline.txt102 MissingNullability: android.test.mock.MockResources#getResourceName(int):
103 Missing nullability on method `getResourceName` return
/frameworks/base/core/java/android/widget/
DArrayAdapter.java440 + mContext.getResources().getResourceName(mFieldId) in createViewFromResource()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarView.java1128 private String getResourceName(int resId) { in getResourceName() method in NavigationBarView
1132 return res.getResourceName(resId); in getResourceName()
1209 getResourceName(getCurrentView().getId()), in dump()
DPanelViewController.java221 mViewName = mResources.getResourceName(mView.getId()); in PanelViewController()
/frameworks/base/core/java/android/view/
DLayoutInflater.java522 Log.d(TAG, "INFLATING from resource: \"" + res.getResourceName(resource) + "\" (" in inflate()
727 + context.getResources().getResourceName(sourceResId); in getParserStateDescription()
DViewDebug.java1267 data[i] = resources.getResourceName(attributeId);
1274 data[i - 1] = resources.getResourceName(outValue.resourceId);
/frameworks/base/core/java/android/app/
DWallpaperManager.java1273 "res:" + resources.getResourceName(resid), in setResource()
1559 String name = "res:" + resources.getResourceName(resid); in hasResourceWallpaper()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java811 resources.getResourceName(android.R.style.ButtonBar)); in testGetResourceNameVariants()
819 resources.getResourceName(id)); in testGetResourceNameVariants()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DXmlConfigTests.java387 fail("Bad config " + getContext().getResources().getResourceName(configId) in testBadConfig()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4268 bool ResTable::getResourceName(uint32_t resID, bool allowUtf8, resource_name* outName) const in getResourceName() function in android::ResTable
5842 if (getResourceName(bag->map.name.ident, false, &rname)) { in stringToValue()
5895 if (getResourceName(bagi->map.name.ident, false, &rname)) { in stringToValue()
7175 if (!getResourceName(overlay_resid, false, &current_res)) { in createIdmap()
7495 if (this->getResourceName(resID, true, &resName)) { in print()
7582 if (this->getResourceName(resID, true, &resName)) { in print()

12