/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/ |
D | FakeOverrideContentProvider.java | 51 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 …]
|
D | PartnerConfigHelperTest.java | 183 .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 …]
|
D | ResourceEntryTest.java | 58 assertThat(result.getResourceName()) in fromBundle_bundleWithRequiredData_getResourceEntryWithCorrectData()
|
/frameworks/layoutlib/bridge/tests/src/com/android/ide/common/resources/deprecated/ |
D | SingleResourceFile.java | 54 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/ |
D | PartnerConfigHelper.java | 90 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()
|
D | ResourceEntry.java | 68 public String getResourceName() { in getResourceName() method in ResourceEntry
|
D | PartnerConfig.java | 97 public String getResourceName() { in getResourceName() method in PartnerConfig
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 272 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 …]
|
D | Resources.java | 899 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/ |
D | Split_test.cpp | 136 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/ |
D | CarSetupWizardCompatLayoutTest.java | 559 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/ |
D | GestureLibraries.java | 172 context.getResources().getResourceName(mResourceId), e); in load()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockResources.java | 209 public String getResourceName(int resid) throws NotFoundException { in getResourceName() method in MockResources
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | VolumeDialogImplTest.java | 104 resourceName = getContext().getResources().getResourceName(view.getId()); in navigateViews()
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorInflater.java | 117 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/ |
D | lint-baseline.txt | 102 MissingNullability: android.test.mock.MockResources#getResourceName(int): 103 Missing nullability on method `getResourceName` return
|
/frameworks/base/core/java/android/widget/ |
D | ArrayAdapter.java | 440 + mContext.getResources().getResourceName(mFieldId) in createViewFromResource()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarView.java | 1128 private String getResourceName(int resId) { in getResourceName() method in NavigationBarView 1132 return res.getResourceName(resId); in getResourceName() 1209 getResourceName(getCurrentView().getId()), in dump()
|
D | PanelViewController.java | 221 mViewName = mResources.getResourceName(mView.getId()); in PanelViewController()
|
/frameworks/base/core/java/android/view/ |
D | LayoutInflater.java | 522 Log.d(TAG, "INFLATING from resource: \"" + res.getResourceName(resource) + "\" (" in inflate() 727 + context.getResources().getResourceName(sourceResId); in getParserStateDescription()
|
D | ViewDebug.java | 1267 data[i] = resources.getResourceName(attributeId); 1274 data[i - 1] = resources.getResourceName(outValue.resourceId);
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 1273 "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/ |
D | RenderTests.java | 811 resources.getResourceName(android.R.style.ButtonBar)); in testGetResourceNameVariants() 819 resources.getResourceName(id)); in testGetResourceNameVariants()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | XmlConfigTests.java | 387 fail("Bad config " + getContext().getResources().getResourceName(configId) in testBadConfig()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 4268 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, ¤t_res)) { in createIdmap() 7495 if (this->getResourceName(resID, true, &resName)) { in print() 7582 if (this->getResourceName(resID, true, &resName)) { in print()
|