/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
CustomDrawableTest.java | 22 import android.content.res.Resources; 23 import android.content.res.Resources.Theme; 60 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme)
|
/cts/tests/tests/text/src/android/text/cts/ |
MyanmarTest.java | 22 import android.content.res.Resources; 46 final String[] localeNames = Resources.getSystem().getStringArray( 47 Resources.getSystem().getIdentifier("supported_locales", "array", "android"));
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
BitmapUtils.java | 23 import android.content.res.Resources; 59 public ArrayList<PictureData> loadPhotos(Resources resources) { 63 Bitmap bitmap = getBitmap(resources, resourceId); 75 static Bitmap getBitmap(Resources resources, int resourceId) { 78 bitmap = BitmapFactory.decodeResource(resources, resourceId);
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
Resources.java | 12 package org.jacoco.report.internal.html.resources; 25 public class Resources { 48 * Attaches resources to the report with the given root folder. 53 public Resources(final ReportOutputFolder root) { 54 folder = root.subFolder("jacoco-resources"); 96 * Copies all static resources into the report. 99 * if the resources can't be written to the report 125 final InputStream in = Resources.class.getResourceAsStream(name);
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
PercentageColumn.java | 28 import org.jacoco.report.internal.html.resources.Resources; 65 final Resources resources, final ReportOutputFolder base) 71 final Resources resources, final ReportOutputFolder base)
|
/frameworks/base/core/java/android/content/pm/ |
LauncherActivityInfo.java | 22 import android.content.res.Resources; 45 * @param context The context for fetching resources. 106 // Get the preferred density icon from the app's resources 109 final Resources resources local 111 icon = resources.getDrawableForDensity(iconRes, density); 112 } catch (NameNotFoundException | Resources.NotFoundException exc) {
|
/frameworks/base/core/java/android/net/ |
NetworkBadging.java | 25 import android.content.res.Resources; 26 import android.content.res.Resources.Theme; 69 return Resources.getSystem().getDrawable(getWifiSignalResource(signalLevel), theme);
|
/frameworks/base/core/java/android/view/animation/ |
AnticipateOvershootInterpolator.java | 24 import android.content.res.Resources; 25 import android.content.res.Resources.Theme; 72 public AnticipateOvershootInterpolator(Resources res, Theme theme, AttributeSet attrs) {
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
ConfigurationBoundResourceCacheTest.java | 44 final Resources res = getActivity().getResources(); 51 final Resources res = getActivity().getResources(); 60 final Resources res = getActivity().getResources(); 70 final Resources res = getActivity().getResources(); 82 final Resources res = getActivity().getResources(); 103 final Resources res = getActivity().getResources(); 126 final Resources res = getActivity().getResources(); 161 final Resources res = getActivity().getResources(); 171 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null; 185 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
ConfigurableTexts.java | 20 import android.content.res.Resources; 46 final Resources res = mContext.getResources(); 80 } catch (Resources.NotFoundException e) {
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
UT_alloc.java | 20 import android.content.res.Resources; 24 private Resources mRes; 26 protected UT_alloc(RSTestCore rstc, Resources res, Context ctx) {
|
UT_array_init.java | 20 import android.content.res.Resources; 24 private Resources mRes; 26 protected UT_array_init(RSTestCore rstc, Resources res, Context ctx) {
|
UT_bug_char.java | 20 import android.content.res.Resources; 26 private Resources mRes; 28 protected UT_bug_char(RSTestCore rstc, Resources res, Context ctx) {
|
UT_element.java | 20 import android.content.res.Resources; 24 private Resources mRes; 68 protected UT_element(RSTestCore rstc, Resources res, Context ctx) {
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
UT_alloc.java | 20 import android.content.res.Resources; 24 private Resources mRes; 26 protected UT_alloc(RSTestCore rstc, Resources res, Context ctx) {
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
UT_alloc.java | 20 import android.content.res.Resources; 24 private Resources mRes; 26 protected UT_alloc(RSTestCore rstc, Resources res, Context ctx) {
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
CellBroadcastServiceTestCase.java | 27 import android.content.res.Resources; 41 Resources mResources; 73 public Resources getResources() {
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
WidgetUtils.java | 21 import android.content.res.Resources; 47 final Resources res = context.getResources(); 85 final Resources res = context.getResources();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
IconUtilities.java | 19 import android.content.res.Resources; 36 public static Bitmap getFXBitmap(Resources res, int id) { 47 public static Bitmap loadBitmap(Resources res, int resource) {
|
ImageFilterBorder.java | 19 import android.content.res.Resources; 33 private Resources mResources = null; 76 public void setResources(Resources resources) { 77 if (mResources != resources) { 78 mResources = resources;
|
ImageFilterFx.java | 19 import android.content.res.Resources; 28 private Resources mResources = null; 107 public void setResources(Resources resources) { 108 mResources = resources;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AddAdapter.java | 20 import android.content.res.Resources; 54 public ListItem(Resources res, int textResourceId, int imageResourceId, int actionTag) { 71 Resources res = launcher.getResources();
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
BugleSubscriptionPrefs.java | 19 import android.content.res.Resources; 75 final Resources resources = Factory.get().getApplicationContext().getResources(); local 76 final boolean defaultValue = resources.getBoolean(defaultValueResId); 81 putBoolean(resources.getString(newKeyResId), oldValue); 87 final Resources resources = Factory.get().getApplicationContext().getResources(); local 92 putString(resources.getString(newKeyResId), oldValue);
|
/packages/apps/PhoneCommon/src/com/android/phone/common/util/ |
ViewUtil.java | 19 import android.content.res.Resources; 72 * @param res The resources file. 74 public static void setupFloatingActionButton(View view, Resources res) { 85 * @param res valid resources object 87 public static void addBottomPaddingToListViewForFab(ListView listView, Resources res) {
|
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/ |
BaseCustomization.java | 23 import android.content.res.Resources; 33 * <p>Implement customization resources as needed in a child class. 70 private static Resources getResourceForPackage(Context context, String packageName) 80 Resources res = getResourceForPackage(context, packageName);
|