/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ResourceUtils.java | 31 public static int getNavbarSize(String resName, Resources res) { in getNavbarSize() argument 32 return getDimenByName(resName, res, DEFAULT_NAVBAR_VALUE); in getNavbarSize() 35 public static int getDimenByName(String resName, Resources res, int defaultValue) { in getDimenByName() argument 37 final int frameSizeResID = res.getIdentifier(resName, "dimen", "android"); in getDimenByName() 46 public static boolean getBoolByName(String resName, Resources res, boolean defaultValue) { in getBoolByName() argument 48 final int resId = res.getIdentifier(resName, "bool", "android"); in getBoolByName() 57 public static int getIntegerByName(String resName, Resources res, int defaultValue) { in getIntegerByName() argument 58 int resId = res.getIdentifier(resName, "integer", "android"); in getIntegerByName()
|
/packages/apps/Car/tests/tools/rro/ |
D | resource_utils.py | 100 resName = attr.get('name') 103 if resName is None or resName.startswith('android:'): 106 …add_resource_to_set(result, Resource(resName, resType, ResourceLocation(filename, attr.sourceline)… 108 resName = resource.get('name') 119 resName = overlayable.get('name') 121 add_resource_to_set(result, Resource(resName, resType, 124 add_resource_to_set(result, Resource(resName, resType,
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | SystemStaticAsset.java | 32 public SystemStaticAsset(Resources res, int resId, String resName) { in SystemStaticAsset() argument 34 mResName = resName; in SystemStaticAsset() 51 PackageResourceKey(Resources res, int resId, String resName) { in PackageResourceKey() argument 53 mResName = resName; in PackageResourceKey()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | LauncherInstrumentation.java | 906 List<UiObject2> getObjectsInContainer(UiObject2 container, String resName) { in getObjectsInContainer() argument 908 return container.findObjects(getLauncherObjectSelector(resName)); in getObjectsInContainer() 916 UiObject2 waitForObjectInContainer(UiObject2 container, String resName) { in waitForObjectInContainer() argument 919 Until.findObject(getLauncherObjectSelector(resName)), in waitForObjectInContainer() 921 assertNotNull("Can't find a view in Launcher, id: " + resName + " in container: " in waitForObjectInContainer() 968 UiObject2 waitForLauncherObject(String resName) { in waitForLauncherObject() argument 969 return waitForObjectBySelector(getLauncherObjectSelector(resName)); in waitForLauncherObject() 983 UiObject2 waitForFallbackLauncherObject(String resName) { in waitForFallbackLauncherObject() argument 984 return waitForObjectBySelector(getOverviewObjectSelector(resName)); in waitForFallbackLauncherObject() 1005 BySelector getLauncherObjectSelector(String resName) { in getLauncherObjectSelector() argument [all …]
|
/packages/apps/Car/libs/car-ui-lib/tests/apitest/ |
D | resource_utils.py | 109 resName = resource.get('name') 119 resName = overlayable.get('name') 121 add_resource_to_set(result, Resource(resName, resType, 124 add_resource_to_set(result, Resource(resName, resType,
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.java | 168 String resName = mSharedPrefs.getString(key, null); in getResIdPersistedByName() local 169 if (resName == null) { in getResIdPersistedByName() 172 return mContext.getResources().getIdentifier(resName, type, in getResIdPersistedByName() 177 String resName = mContext.getResources().getResourceName(resId); in persistResIdByName() local 178 mSharedPrefs.edit().putString(key, resName).apply(); in persistResIdByName()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | ThemeBundledWallpaperInfo.java | 77 public ThemeBundledWallpaperInfo(String packageName, String resName, String themeName, in ThemeBundledWallpaperInfo() argument 80 mResName = resName; in ThemeBundledWallpaperInfo()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | PermissionActivity.java | 506 final String resName = "permission_" + verb + "_" + data; in resolveTitleText() local 507 final int resId = getResources().getIdentifier(resName, "plurals", in resolveTitleText() 515 throw new IllegalStateException("Invalid resource: " + resName); in resolveTitleText() 524 final String resName = "permission_progress_" + verb + "_" + data; in resolveProgressMessageText() local 525 final int resId = getResources().getIdentifier(resName, "plurals", in resolveProgressMessageText()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | NetworkProviderDownloadedSimListControllerTest.java | 164 private String setSummaryResId(String resName) { in setSummaryResId() argument 165 return ResourcesUtils.getResourcesString(mContext, resName); in setSummaryResId()
|
D | NetworkProviderSimListControllerTest.java | 155 private String setSummaryResId(String resName, String value) { in setSummaryResId() argument 156 return ResourcesUtils.getResourcesString(mContext, resName, value); in setSummaryResId()
|
D | NetworkProviderCallsSmsControllerTest.java | 159 private String setSummaryResId(String resName) { in setSummaryResId() argument 160 return ResourcesUtils.getResourcesString(mContext, resName); in setSummaryResId()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | SystemStaticWallpaperInfo.java | 172 public SystemStaticWallpaperInfo(String packageName, String resName, String collectionId, in SystemStaticWallpaperInfo() argument 176 mWallpaperId = resName; in SystemStaticWallpaperInfo()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | OrientationTouchTransformer.java | 338 private int getNavbarSize(String resName) { in getNavbarSize() argument 339 return ResourceUtils.getNavbarSize(resName, mResources); in getNavbarSize()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 1728 private int getIntResourceForName(@NonNull String resName) { 1730 final int resId = r.getIdentifier(resName, "integer", "android");
|