Home
last modified time | relevance | path

Searched refs:partnerRes (Results 1 – 5 of 5) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DPartnerWallpaperInfo.java77 final Resources partnerRes = partnerProvider.getResources(); in getAll() local
79 if (partnerRes == null) { in getAll()
83 final int resId = partnerRes.getIdentifier(PartnerProvider.WALLPAPER_RES_ID, "array", in getAll()
91 final String[] extras = partnerRes.getStringArray(resId); in getAll()
93 int wpResId = partnerRes.getIdentifier(extra, "drawable", packageName); in getAll()
95 … final int thumbRes = partnerRes.getIdentifier(extra + "_small", "drawable", packageName); in getAll()
98 final int fullRes = partnerRes.getIdentifier(extra, "drawable", packageName); in getAll()
128 Resources partnerRes = getPartnerResources(context); in getAsset() local
129 mAsset = new ResourceAsset(partnerRes, mFullRes); in getAsset()
137 Resources partnerRes = getPartnerResources(context); in getThumbAsset() local
[all …]
DWallpaperCategory.java146 public Builder(Resources partnerRes, AttributeSet attrs) { in Builder() argument
147 mPartnerRes = partnerRes; in Builder()
/packages/apps/Launcher3/src/com/android/launcher3/
DDefaultLayoutParser.java246 final Resources partnerRes = partner.getResources(); in parseAndAdd() local
247 final int resId = partnerRes.getIdentifier(Partner.RES_FOLDER, in parseAndAdd()
250 final XmlPullParser partnerParser = partnerRes.getXml(resId); in parseAndAdd()
253 FolderParser folderParser = new FolderParser(getFolderElementsMap(partnerRes)); in parseAndAdd()
DLauncherProvider.java546 final Resources partnerRes = partner.getResources(); in loadDefaultFavoritesIfNecessary() local
547 int workspaceResId = partnerRes.getIdentifier(Partner.RES_DEFAULT_LAYOUT, in loadDefaultFavoritesIfNecessary()
551 mOpenHelper, partnerRes, workspaceResId); in loadDefaultFavoritesIfNecessary()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultCategoryProvider.java283 Resources partnerRes = mPartnerProvider.getResources(); in getSystemCategories() local
286 if (partnerRes == null || packageName == null) { in getSystemCategories()
290 @XmlRes int wallpapersResId = partnerRes.getIdentifier(PartnerProvider.WALLPAPER_RES_ID, in getSystemCategories()
298 try (XmlResourceParser parser = partnerRes.getXml(wallpapersResId)) { in getSystemCategories()