/frameworks/base/core/java/android/provider/ |
SocialContract.java | 19 import android.content.res.Resources; 40 * The package name to use when creating {@link Resources} objects for
|
/frameworks/base/core/java/com/google/android/util/ |
SmileyResources.java | 25 * Resources for smiley parser. 27 public class SmileyResources implements AbstractMessageParser.Resources {
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
CallerInfoTest.java | 24 import android.content.res.Resources; 129 public String getString(int resId) throws Resources.NotFoundException { 142 private Resources mResources; 155 public Resources getResources() {
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ArrayTest.java | 19 import android.content.res.Resources; 26 private Resources mResources;
|
/development/apps/BuildWidget/src/com/android/buildwidget/ |
BuildWidget.java | 26 import android.content.res.Resources; 61 // Pick out month names from resources 62 Resources res = context.getResources();
|
/external/guava/src/com/google/common/io/ |
Resources.java | 31 * Provides utility methods for working with resources in the classpath. 33 * are usually not appropriate for HTTP or other non-classpath resources. 41 public final class Resources { 140 * found in the class path. {@code Resources.class.getClassLoader()} is used 146 URL url = Resources.class.getClassLoader().getResource(resourceName);
|
/frameworks/base/core/java/android/content/ |
SyncAdaptersCache.java | 21 import android.content.res.Resources; 46 public SyncAdapterType parseServiceAttributes(Resources res,
|
/frameworks/base/core/java/android/widget/ |
DigitalClock.java | 20 import android.content.res.Resources; 62 Resources r = mContext.getResources();
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
PaintDrawable.java | 20 import android.content.res.Resources; 72 protected boolean inflateTag(String name, Resources r, XmlPullParser parser,
|
NinePatchDrawable.java | 20 import android.content.res.Resources; 35 * is defined in a .png file with a special format, described in <a link="../../../resources.html#ninepatch"> 36 * Resources</a>. 59 * @deprecated Use {@link #NinePatchDrawable(Resources, Bitmap, byte[], Rect, String)} 69 * based on the display metrics of the resources. 71 public NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk, 79 * @deprecated Use {@link #NinePatchDrawable(Resources, NinePatch)} 89 * based on the display metrics of the resources. 91 public NinePatchDrawable(Resources res, NinePatch patch) { 96 private void setNinePatchState(NinePatchState state, Resources res) [all...] |
AnimationDrawable.java | 24 import android.content.res.Resources; 68 * href="{@docRoot}guide/topics/resources/animation-resource.html">Animation Resources</a>.</p> 221 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) 303 Resources res) { 321 public Drawable newDrawable(Resources res) { 341 private AnimationDrawable(AnimationState state, Resources res) {
|
ClipDrawable.java | 22 import android.content.res.Resources; 42 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p> 75 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) 249 ClipState(ClipState orig, ClipDrawable owner, Resources res) { 269 public Drawable newDrawable(Resources res) { 288 private ClipDrawable(ClipState state, Resources res) {
|
InsetDrawable.java | 22 import android.content.res.Resources; 37 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p> 76 @Override public void inflate(Resources r, XmlPullParser parser, 268 InsetState(InsetState orig, InsetDrawable owner, Resources res) { 290 public Drawable newDrawable(Resources res) { 309 private InsetDrawable(InsetState state, Resources res) {
|
/frameworks/base/test-runner/src/android/test/ |
ProviderTestCase2.java | 22 import android.content.res.Resources; 80 public Resources getResources() {
|
/packages/apps/Browser/src/com/android/browser/search/ |
SearchEngines.java | 25 import android.content.res.Resources; 42 Resources res = context.getResources();
|
/packages/apps/Calendar/src/com/android/calendar/ |
EventRecurrenceFormatter.java | 19 import android.content.res.Resources; 27 public static String getRepeatString(Resources r, EventRecurrence recurrence) {
|
/packages/apps/Camera/src/com/android/camera/ |
IconIndicator.java | 20 import android.content.res.Resources; 56 private Drawable[] loadIcons(Resources resources, int iconsId) { 57 TypedArray array = resources.obtainTypedArray(iconsId); 62 drawable[i] = id == 0 ? null : resources.getDrawable(id);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LiveFolderIcon.java | 20 import android.content.res.Resources; 43 final Resources resources = launcher.getResources(); local 46 b = Utilities.createIconBitmap(resources.getDrawable(R.drawable.ic_launcher_folder),
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactAggregatorPerformanceTest.java | 20 import android.content.res.Resources; 66 public Resources getResources() {
|
/frameworks/base/core/java/com/android/internal/widget/ |
PasswordEntryKeyboard.java | 21 import android.content.res.Resources; 60 private Resources mRes; 72 final Resources res = context.getResources(); 91 protected Key createKeyFromXml(Resources res, Row parent, int x, int y, 115 * Allows enter key resources to be overridden 116 * @param res resources to grab given items from 121 void setEnterKeyResources(Resources res, int previewId, int iconId, int labelId) { 223 public LatinKey(Resources res, Keyboard.Row parent, int x, int y,
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageUtil.java | 33 import android.content.res.Resources; 92 * @param pContext context of package that can load the resources 93 * @param appInfo ApplicationInfo object of package whose resources are to be loaded 114 * @param pContext context of package that can load the resources 115 * @param appInfo ApplicationInfo object of package whose resources are to be loaded 150 * @param pContext context of package that can load the resources 151 * @param appInfo ApplicationInfo object of package whose resources are to be loaded 157 Resources pRes = pContext.getResources(); 160 Resources res = new Resources(assmgr, pRes.getDisplayMetrics(), pRes.getConfiguration()) [all...] |
/frameworks/base/core/java/android/content/res/ |
TypedArray.java | 31 * {@link Resources.Theme#obtainStyledAttributes(AttributeSet, int[], int, int)} 32 * or {@link Resources#obtainAttributes}. Be 39 private final Resources mResources; 75 * Return the Resources object this array was loaded from. 77 public Resources getResources() { 101 Log.w(Resources.TAG, "Converting to string: " + v); 104 Log.w(Resources.TAG, "getString of bad type: 0x" 129 Log.w(Resources.TAG, "Converting to string: " + v); 133 Log.w(Resources.TAG, "getString of bad type: 0x" 141 * is, this does not allow references to string resources, strin [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
BridgeResources.java | 30 import android.content.res.Resources; 48 public final class BridgeResources extends Resources { 55 * This initializes the static field {@link Resources#mSystem} which is used 56 * by methods who get global resources using {@link Resources#getSystem()}. 58 * They will end up using our bridge resources. 62 /*package*/ static Resources initSystem(BridgeContext context, 67 if (!(Resources.mSystem instanceof BridgeResources)) { 68 Resources.mSystem = new BridgeResources(context, 74 return Resources.mSystem [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
LevelListDrawableTest.java | 24 import android.content.res.Resources; 45 private Resources mResources; 135 args = {android.content.res.Resources.class, org.xmlpull.v1.XmlPullParser.class, 174 args = {android.content.res.Resources.class, org.xmlpull.v1.XmlPullParser.class, 178 + "LevelListDrawable#inflate(Resources, XmlPullParser, AttributeSet) when param r," 207 Resources resources = getInstrumentation().getTargetContext().getResources(); local 209 (LevelListDrawable) resources.getDrawable(R.drawable.levellistdrawable); 211 (LevelListDrawable) resources.getDrawable(R.drawable.levellistdrawable); 213 (LevelListDrawable) resources.getDrawable(R.drawable.levellistdrawable) [all...] |
/frameworks/base/core/java/android/text/ |
AutoText.java | 19 import android.content.res.Resources; 58 private static AutoText sInstance = new AutoText(Resources.getSystem()); 76 private AutoText(Resources resources) { 77 mLocale = resources.getConfiguration().locale; 78 init(resources); 84 * @param view to get the resources from 88 Resources res = view.getContext().getResources(); 107 * The View is used to get the current Locale and Resources. 117 * @param view used to retrieve the current Locale and Resources [all...] |