Home | History | Annotate | Download | only in launcher2

Lines Matching defs:resources

24 import android.content.res.Resources;
195 final Resources resources = getResources();
197 // com.android.launcher2; Resources needs the real package name,
198 // com.android.launcher. So we ask Resources for what it thinks the
200 final String packageName = resources.getResourcePackageName(R.array.wallpapers);
202 addWallpapers(resources, packageName, R.array.wallpapers);
203 addWallpapers(resources, packageName, R.array.extra_wallpapers);
206 private void addWallpapers(Resources resources, String packageName, int list) {
207 final String[] extras = resources.getStringArray(list);
209 int res = resources.getIdentifier(extra, "drawable", packageName);
211 final int thumbRes = resources.getIdentifier(extra + "_small",