/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothPairingRequest.java | 28 import android.content.res.Resources; 77 Resources res = context.getResources();
|
/packages/apps/Tag/src/com/android/apps/tag/ |
TagBrowserActivity.java | 27 import android.content.res.Resources; 49 Resources res = getResources();
|
/packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/ |
WalkAroundWallpaper.java | 26 import android.content.res.Resources; 162 final Resources resources = getResources(); local 163 final boolean portrait = resources.getConfiguration().orientation == 168 final DisplayMetrics metrics = resources.getDisplayMetrics();
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapFactoryTest.java | 25 import android.content.res.Resources; 43 private Resources mRes; 81 args = {android.content.res.Resources.class, int.class, 98 args = {android.content.res.Resources.class, int.class}
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
StateListDrawableTest.java | 25 import android.content.res.Resources; 48 private Resources mResources; 198 args = {android.content.res.Resources.class, org.xmlpull.v1.XmlPullParser.class, 253 args = {android.content.res.Resources.class, org.xmlpull.v1.XmlPullParser.class, 257 + "StateListDrawable#inflate(Resources, XmlPullParser, AttributeSet) when param r,"
|
PaintDrawableTest.java | 30 import android.content.res.Resources; 136 args = {java.lang.String.class, android.content.res.Resources.class, 173 // null Resources 245 protected boolean inflateTag(String name, Resources r, XmlPullParser parser,
|
RotateDrawableTest.java | 31 import android.content.res.Resources; 55 Resources resources = mContext.getResources(); local 56 mRotateDrawable = (RotateDrawable) resources.getDrawable(R.drawable.rotatedrawable); 279 args = {android.content.res.Resources.class, org.xmlpull.v1.XmlPullParser.class, 290 Resources r = mContext.getResources(); 332 Resources resources = mContext.getResources(); local 334 RotateDrawable d1 = (RotateDrawable) resources.getDrawable(R.drawable.rotatedrawable); 335 RotateDrawable d2 = (RotateDrawable) resources.getDrawable(R.drawable.rotatedrawable) [all...] |
ShapeDrawableTest.java | 30 import android.content.res.Resources; 329 args = {android.content.res.Resources.class, org.xmlpull.v1.XmlPullParser.class, 335 args = {java.lang.String.class, android.content.res.Resources.class, 340 final Resources res = mContext.getResources(); 387 protected boolean inflateTag(String name, Resources r, XmlPullParser parser, 486 // How to load a ShapeDrawable from resources.
|
/frameworks/base/core/java/android/content/ |
Context.java | 22 import android.content.res.Resources; 45 * allows access to application-specific resources and classes, as well as 123 /** Return a Resources instance for your application's package. */ 124 public abstract Resources getResources(); 212 public abstract Resources.Theme getTheme(); 216 * {@link Resources.Theme#obtainStyledAttributes(int[])} 219 * @see Resources.Theme#obtainStyledAttributes(int[]) 228 * {@link Resources.Theme#obtainStyledAttributes(int, int[])} 231 * @see Resources.Theme#obtainStyledAttributes(int, int[]) 234 int resid, int[] attrs) throws Resources.NotFoundException [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
ShapeDrawable.java | 21 import android.content.res.Resources; 39 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p> 279 protected boolean inflateTag(String name, Resources r, XmlPullParser parser, 302 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) 403 public Drawable newDrawable(Resources res) {
|
/frameworks/base/libs/rs/java/Film/src/com/android/film/ |
FilmView.java | 28 import android.content.res.Resources;
|
/frameworks/base/libs/rs/java/Fountain/src/com/android/fountain/ |
FountainView.java | 28 import android.content.res.Resources;
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockPackageManager.java | 41 import android.content.res.Resources; 314 public Resources getResourcesForActivity(ComponentName activityName) 320 public Resources getResourcesForApplication(ApplicationInfo app) { 325 public Resources getResourcesForApplication(String appPackageName)
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ImageSwitcherTest.java | 30 import android.content.res.Resources; 94 Resources resources = getContext().getResources(); local 95 Drawable drawable = resources.getDrawable(R.drawable.scenery); 103 drawable = resources.getDrawable(R.drawable.testimage); 175 Resources resources = getContext().getResources(); local 177 Drawable drawable = resources.getDrawable(R.drawable.scenery); 182 drawable = resources.getDrawable(R.drawable.testimage);
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NotePadProvider.java | 26 import android.content.res.Resources; 179 Resources r = Resources.getSystem();
|
/frameworks/base/core/java/android/app/ |
WallpaperInfo.java | 29 import android.content.res.Resources.NotFoundException; 30 import android.content.res.Resources; 101 Resources res = pm.getResourcesForApplication(si.applicationInfo); 188 * resources. 198 * resources. 208 * resources.
|
/frameworks/base/core/java/android/content/res/ |
ColorStateList.java | 59 * href="{@docRoot}guide/topics/resources/color-list-resource.html">Color State 113 * Create a ColorStateList from an XML document, given a set of {@link Resources}. 115 public static ColorStateList createFromXml(Resources r, XmlPullParser parser) 136 private static ColorStateList createFromXmlInner(Resources r, XmlPullParser parser, 173 private void inflate(Resources r, XmlPullParser parser, AttributeSet attrs)
|
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 19 import android.content.res.Resources; 51 Resources r = Resources.getSystem();
|
/frameworks/base/core/tests/coretests/src/com/android/server/ |
MountServiceTests.java | 22 import android.content.res.Resources; 23 import android.content.res.Resources.NotFoundException; 120 Resources res = mContext.getResources();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
StatusBarIconView.java | 21 import android.content.res.Resources; 49 final Resources res = context.getResources(); 122 * @param context Context to use to get resources if iconPackage is not set 127 Resources r = null;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
WallpaperChooser.java | 21 import android.content.res.Resources; 80 final Resources resources = getResources(); local 82 // com.android.launcher2; Resources needs the real package name, 83 // com.android.launcher. So we ask Resources for what it thinks the 85 final String packageName = resources.getResourcePackageName(R.array.wallpapers); 87 addWallpapers(resources, packageName, R.array.wallpapers); 88 addWallpapers(resources, packageName, R.array.extra_wallpapers); 91 private void addWallpapers(Resources resources, String packageName, int list) [all...] |
/packages/apps/Music/src/com/android/music/ |
MediaAppWidgetProvider.java | 25 import android.content.res.Resources; 67 final Resources res = context.getResources(); 113 final Resources res = service.getResources();
|
/packages/apps/Settings/src/com/android/settings/ |
IccLockSettings.java | 20 import android.content.res.Resources; 82 private Resources mRes; 111 Resources res = context.getResources();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 24 import android.content.res.Resources; 293 Resources r = Resources.getSystem(); 381 Resources r = Resources.getSystem();
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
Pm.java | 34 import android.content.res.Resources; 52 private WeakHashMap<String, Resources> mResourceCache 53 = new WeakHashMap<String, Resources>(); 344 Resources r = getResources(pii); 439 Resources res = getResources(pgi); 452 Resources res = getResources(pgi); 488 Resources res = getResources(pi); 500 Resources res = getResources(pi); 817 private Resources getResources(PackageItemInfo pii) { 818 Resources res = mResourceCache.get(pii.packageName) [all...] |