Lines Matching refs:resources
24 import android.content.res.Resources;
196 final Resources resources = getResources();
198 // com.android.launcher2; Resources needs the real package name,
199 // com.android.launcher. So we ask Resources for what it thinks the
201 final String packageName = resources.getResourcePackageName(R.array.wallpapers);
203 addWallpapers(resources, packageName, R.array.wallpapers);
204 addWallpapers(resources, packageName, R.array.extra_wallpapers);
207 private void addWallpapers(Resources resources, String packageName, int list) {
208 final String[] extras = resources.getStringArray(list);
210 int res = resources.getIdentifier(extra, "drawable", packageName);
212 int thumbRes = resources.getIdentifier(extra + "_small",