Home
last modified time | relevance | path

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

123

/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/bridge_client/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.java88 String resourceName = partnerConfig.getResourceName(); in getColor()
127 String resourceName = partnerConfig.getResourceName(); in getColorStateList()
171 String resourceName = partnerConfig.getResourceName(); in getDrawable()
214 String resourceName = partnerConfig.getResourceName(); in getString()
260 String resourceName = partnerConfig.getResourceName(); in getDimension()
296 String resourceName = partnerConfig.getResourceName(); in getBoolean()
DResourceEntry.java67 public String getResourceName() { in getResourceName() method in ResourceEntry
DPartnerConfig.java106 public String getResourceName() { in getResourceName() method in PartnerConfig
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DSplitNavLayoutTest.java124 ULTRA_WIDE_SCREEN_CONTENT_WIDTH_RESOURCE_NAME.getResourceName(), in prepareCustomContentWidth()
130 ULTRA_WIDE_SCREEN_CONTENT_WIDTH_RESOURCE_NAME.getResourceName(), in prepareCustomContentWidth()
132 ULTRA_WIDE_SCREEN_CONTENT_WIDTH_RESOURCE_NAME.getResourceName(), in prepareCustomContentWidth()
DCarSetupWizardCompatLayoutTest.java698 TEST_TOOLBAR_BUTTON_TEXT_SIZE_RESOURCE_NAME.getResourceName(), EXCEPTED_TEXT_SIZE); in prepareFakeData()
703 TEST_TOOLBAR_BUTTON_TEXT_SIZE_RESOURCE_NAME.getResourceName(), in prepareFakeData()
705 TEST_TOOLBAR_BUTTON_TEXT_SIZE_RESOURCE_NAME.getResourceName(), in prepareFakeData()
/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/base/core/java/android/content/res/
DResourcesImpl.java314 String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName() method in ResourcesImpl
315 String str = mAssets.getResourceName(resid); in getResourceName()
717 final String name = getResourceName(id); in loadDrawable()
806 name = getResourceName(id); in loadDrawable()
866 resName = getResourceName(resourceId); in verifyPreloadConfig()
880 resName = getResourceName(resourceId); in verifyPreloadConfig()
935 throw new NotFoundException("Resource \"" + getResourceName(id) + "\" ("
944 final String name = getResourceName(id);
1040 throw new NotFoundException("Resource \"" + getResourceName(id) + "\" ("
1129 final String name = getResourceName(id);
[all …]
DResources.java921 Log.w(TAG, "Drawable " + getResourceName(id) + " has unresolved theme " in getDrawable()
1119 Log.w(TAG, "ColorStateList " + getResourceName(id) + " has " in getColorStateList()
1847 return getResourceName(Integer.parseInt(hexString, 16)); in getResourceNameFromHexString()
2340 public String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName() method in Resources
2341 return mResourcesImpl.getResourceName(resid); in getResourceName()
/frameworks/base/core/java/android/app/admin/
DParcelableResource.java95 this.mResourceName = context.getResources().getResourceName(resourceId); in ParcelableResource()
164 public String getResourceName() { in getResourceName() method in ParcelableResource
261 String name = resources.getResourceName(mResourceId); in verifyResourceName()
/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/core/java/android/window/
DSplashScreen.java189 ? activity.getResources().getResourceName(themeId) : null; in setSplashScreenTheme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemoryViewWalker.kt207 view.resources.getResourceName(view.id) in <lambda>()
/frameworks/base/test-mock/api/
Dlint-baseline.txt102 MissingNullability: android.test.mock.MockResources#getResourceName(int):
103 Missing nullability on method `getResourceName` return
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarView.java1050 private String getResourceName(int resId) { in getResourceName() method in NavigationBarView
1054 return res.getResourceName(resId); in getResourceName()
1122 getResourceName(getCurrentView().getId()), in dump()
/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()
133 Log.d(TAG, "caching animator for res " + resources.getResourceName(id)); in loadAnimator()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleTileViewHelperTest.java1177 assertThat(getResourceName(actual)).isEqualTo(getResourceName(expected)); in assertResourcesEqual()
1181 assertThat(getResourceName(actual)).isNotEqualTo(getResourceName(expected)); in assertResourcesNotEqual()
1184 private String getResourceName(int resId) { in getResourceName() method in PeopleTileViewHelperTest
/frameworks/base/core/java/android/widget/
DArrayAdapter.java440 + mContext.getResources().getResourceName(mFieldId) in createViewFromResource()
/frameworks/base/core/java/android/view/
DLayoutInflater.java456 Log.d(TAG, "INFLATING from resource: \"" + res.getResourceName(resource) + "\" (" in inflate()
617 + context.getResources().getResourceName(sourceResId); in getParserStateDescription()
/frameworks/base/core/java/com/android/internal/widget/
DNotificationOptimizedLinearLayout.java581 logMessage.append(resources.getResourceName(layoutId)); in logSkipOptimizedOnMeasure()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutParser.java389 ? service.mContext.getResources().getResourceName(splashScreenThemeResId) in parseShortcutAttributes()

123