Lines Matching defs:res
16 package android.content.res.cts;
24 import android.content.res.ColorStateList;
25 import android.content.res.Resources;
26 import android.content.res.Resources.NotFoundException;
27 import android.content.res.Resources.Theme;
50 final Resources res = getContext().getResources();
51 final ColorStateList c = ColorStateList.createFromXml(res, res.getXml(xmlId));
63 final Resources res = getContext().getResources();
64 final Theme theme = res.newTheme();
66 final ColorStateList c = ColorStateList.createFromXml(res, res.getXml(xmlId), theme);
76 final Resources res = getContext().getResources();
79 c = res.getColorStateList(R.color.testcolor, null);
82 c = res.getColorStateList(R.color.testcolor_orientation, null);