/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapFactory.java | 20 import android.content.res.Resources; 89 * {@link BitmapFactory#decodeResource(Resources, int)}, 90 * {@link BitmapFactory#decodeResource(Resources, int, android.graphics.BitmapFactory.Options)}, 110 * {@link BitmapFactory#decodeResource(Resources, int)}, 111 * {@link BitmapFactory#decodeResource(Resources, int, android.graphics.BitmapFactory.Options)}, 113 * will fill in the density associated the Resources object's 300 * resources, which we pass to be able to scale the bitmap accordingly. 302 public static Bitmap decodeResourceStream(Resources res, TypedValue value, 329 * @param res The resources object containing the image data 337 public static Bitmap decodeResource(Resources res, int id, Options opts) [all...] |
/packages/apps/Browser/src/com/android/browser/search/ |
SearchEnginePreference.java | 25 import android.content.res.Resources;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AllApps2D.java | 21 import android.content.res.Resources; 133 if (mGrid == null) throw new Resources.NotFoundException(); 140 if (homeButton == null) throw new Resources.NotFoundException(); 147 } catch (Resources.NotFoundException e) {
|
FolderIcon.java | 20 import android.content.res.Resources; 51 final Resources resources = launcher.getResources(); local 52 Drawable d = resources.getDrawable(R.drawable.ic_launcher_folder); 54 icon.mOpenIcon = resources.getDrawable(R.drawable.ic_launcher_folder_open);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
AnimatedRotateDrawable.java | 22 import android.content.res.Resources; 51 private AnimatedRotateDrawable(AnimatedRotateState rotateState, Resources res) { 214 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) 300 Resources res) { 324 public Drawable newDrawable(Resources res) {
|
RotateDrawable.java | 25 import android.content.res.Resources; 40 * href="{@docRoot}guide/topics/resources/animation-resource.html">Animation Resources</a>.</p> 69 private RotateDrawable(RotateState rotateState, Resources res) { 199 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) 310 public RotateState(RotateState source, RotateDrawable owner, Resources res) { 334 public Drawable newDrawable(Resources res) {
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ResourcesTest.java | 35 import android.content.res.Resources; 38 import android.content.res.Resources.NotFoundException; 53 @TestTargetClass(Resources.class) 61 private Resources mResources; 73 method = "Resources", 99 final Resources r = new Resources(am, dm, cfg); 135 XmlUtils.beginDocument(parser, "resources"); 167 private Resources getResources(final Configuration config, final int mcc, final int mnc, 184 return new Resources(assmgr, metrics, config) [all...] |
ConfigTest.java | 23 import android.content.res.Resources; 25 import android.content.res.Resources.NotFoundException; 50 private static void checkValue(final Resources res, final int resId, 66 private static void checkValue(final Resources res, final int resId, 68 final Resources.Theme theme = res.newTheme(); 160 public Resources getResources() { 163 return new Resources(assmgr, mMetrics, mConfig); 167 private static void checkPair(Resources res, int[] notResIds, 191 Resources res = config.getResources(); 350 Resources res = config.getResources() [all...] |
FractionTest.java | 19 import android.content.res.Resources; 27 private Resources mResources;
|
PrimitiveTest.java | 19 import android.content.res.Resources; 27 private Resources mResources; 109 + actual + "\" in resources 0x" + Integer.toHexString(resid),
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ColorDrawableTest.java | 30 import android.content.res.Resources; 157 notes = "Test inflate(Resources, XmlPullParser, AttributeSet)", 159 args = {android.content.res.Resources.class, org.xmlpull.v1.XmlPullParser.class,
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TwoLineListItemTest.java | 29 import android.content.res.Resources; 125 Resources res = mActivity.getResources();
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
NinePatchLab.java | 23 import android.content.res.Resources; 96 Resources res = context.getResources();
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryDatabase.java | 22 import android.content.res.Resources; 204 final Resources resources = mHelperContext.getResources(); local 205 InputStream inputStream = resources.openRawResource(R.raw.definitions);
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
WordWidget.java | 29 import android.content.res.Resources; 79 // Pick out month names from resources 80 Resources res = context.getResources();
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
WordWidget.java | 29 import android.content.res.Resources; 68 // Pick out month names from resources 69 Resources res = context.getResources();
|
/external/svox/picolanginstaller/src/com/svox/langpack/installer/ |
InstallerActivity.java | 13 import android.content.res.Resources; 57 Resources res = getResources();
|
/frameworks/base/services/java/com/android/server/am/ |
AppNotRespondingDialog.java | 25 import android.content.res.Resources; 48 Resources res = context.getResources();
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockResources.java | 20 import android.content.res.Resources; 35 * A mock {@link android.content.res.Resources} class. All methods are non-functional and throw 39 public class MockResources extends Resources {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferAdapter.java | 40 import android.content.res.Resources; 67 Resources r = context.getResources();
|
/packages/apps/Browser/src/com/android/browser/ |
CombinedBookmarkHistoryActivity.java | 22 import android.content.res.Resources; 148 Resources resources = getResources(); local 151 resources.getText(labelResId), resources.getDrawable(iconResId))
|
/packages/apps/Calendar/src/com/android/calendar/ |
AgendaAdapter.java | 20 import android.content.res.Resources; 31 private Resources mResources;
|
AlertReceiver.java | 25 import android.content.res.Resources; 122 Resources res = context.getResources();
|
/packages/apps/Mms/src/com/android/mms/ui/ |
AudioAttachmentView.java | 23 import android.content.res.Resources; 44 private final Resources mRes;
|
/packages/apps/Settings/src/com/android/settings/ |
Display.java | 22 import android.content.res.Resources; 45 Resources r = getResources();
|