Home
last modified time | relevance | path

Searched refs:getResourceName (Results 1 – 25 of 39) 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.java118 .putColor(TEST_COLOR_RESOURCE_NAME.getResourceName(), android.R.color.darker_gray); in prepareFakeData()
120 .putDimension(TEST_DIMENSION_RESOURCE_NAME.getResourceName(), EXCEPTED_DIMENSION); in prepareFakeData()
121 testResources.putText(TEST_STRING_RESOURCE_NAME.getResourceName(), EXCEPTED_STRING); in prepareFakeData()
127 testResources.putDrawable(TEST_DRAWABLE_RESOURCE_NAME.getResourceName(), mExpectedDrawable); in prepareFakeData()
132 TEST_COLOR_RESOURCE_NAME.getResourceName(), in prepareFakeData()
134 TEST_COLOR_RESOURCE_NAME.getResourceName(), in prepareFakeData()
139 TEST_DIMENSION_RESOURCE_NAME.getResourceName(), in prepareFakeData()
141 TEST_DIMENSION_RESOURCE_NAME.getResourceName(), in prepareFakeData()
146 TEST_STRING_RESOURCE_NAME.getResourceName(), in prepareFakeData()
148 TEST_STRING_RESOURCE_NAME.getResourceName(), in prepareFakeData()
[all …]
DResourceEntryTest.java58 assertThat(result.getResourceName()) in fromBundle_bundleWithRequiredData_getResourceEntryWithCorrectData()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
DPartnerConfigHelper.java86 String resourceName = partnerConfig.getResourceName(); in getColor()
122 String resourceName = partnerConfig.getResourceName(); in getDrawable()
165 String resourceName = partnerConfig.getResourceName(); in getString()
211 String resourceName = partnerConfig.getResourceName(); in getDimension()
247 String resourceName = partnerConfig.getResourceName(); in getBoolean()
DResourceEntry.java68 public String getResourceName() { in getResourceName() method in ResourceEntry
DPartnerConfig.java88 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()
601 final String name = getResourceName(id); in loadDrawable()
648 final String name = getResourceName(id); in loadDrawable()
698 name = getResourceName(id); in loadDrawable()
758 resName = getResourceName(resourceId); in verifyPreloadConfig()
772 resName = getResourceName(resourceId); in verifyPreloadConfig()
813 throw new NotFoundException("Resource \"" + getResourceName(id) + "\" (" in loadDrawableForCookie()
822 final String name = getResourceName(id); in loadDrawableForCookie()
884 final String name = getResourceName(id); in loadDrawableForCookie()
[all …]
DResources.java822 Log.w(TAG, "Drawable " + getResourceName(id) + " has unresolved theme " in getDrawable()
1020 Log.w(TAG, "ColorStateList " + getResourceName(id) + " has " in getColorStateList()
1695 return getResourceName(Integer.parseInt(hexString, 16)); in getResourceNameFromHexString()
2063 public String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName() method in Resources
2064 return mResourcesImpl.getResourceName(resid); in getResourceName()
DAssetManager.java712 @Nullable String getResourceName(@AnyRes int resId) { in getResourceName() method in AssetManager
/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()
DIdmap_test.cpp97 ASSERT_TRUE(target_table_.getResourceName(R::array::integerArray1, true, &res_name)); in TEST_F()
/frameworks/base/core/java/android/gesture/
DGestureLibraries.java137 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/cmds/idmap/
Dinspect.cpp152 if (!rt.getResourceName(res_id, false, &data)) { in resource_metadata()
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarView.java1017 private String getResourceName(int resId) { in getResourceName() method in NavigationBarView
1021 return res.getResourceName(resId); in getResourceName()
1098 getResourceName(getCurrentView().getId()), in dump()
DPanelView.java805 mViewName = getResources().getResourceName(getId()); in onAttachedToWindow()
/frameworks/base/core/java/android/widget/
DArrayAdapter.java443 + mContext.getResources().getResourceName(mFieldId) in createViewFromResource()
/frameworks/base/core/java/android/view/
DLayoutInflater.java524 Log.d(TAG, "INFLATING from resource: \"" + res.getResourceName(resource) + "\" (" in inflate()
729 + context.getResources().getResourceName(sourceResId); in getParserStateDescription()
DViewDebug.java1094 data[i] = resources.getResourceName(attributeId);
1101 data[i - 1] = resources.getResourceName(outValue.resourceId);
/frameworks/base/core/java/android/app/
DWallpaperManager.java1178 "res:" + resources.getResourceName(resid), in setResource()
1464 String name = "res:" + resources.getResourceName(resid); in hasResourceWallpaper()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java766 resources.getResourceName(android.R.style.ButtonBar)); in testGetResourceNameVariants()
774 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/include/androidfw/
DResourceTypes.h1781 bool getResourceName(uint32_t resID, bool allowUtf8, resource_name* outName) const;

12