HomeSort by relevance Sort by last modified time
    Searched refs:getResources (Results 1 - 25 of 714) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
IResourceRepository.java 34 public abstract ResourceItem[] getResources(ResourceType type);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
InsetDrawableTest.java 61 Drawable d = mContext.getResources().getDrawable(R.drawable.pass);
78 Drawable d = mContext.getResources().getDrawable(R.drawable.pass);
81 Resources r = mContext.getResources();
115 Drawable d = mContext.getResources().getDrawable(R.drawable.pass);
129 Drawable d = mContext.getResources().getDrawable(R.drawable.pass);
151 Drawable d = mContext.getResources().getDrawable(R.drawable.pass);
173 Drawable d = mContext.getResources().getDrawable(R.drawable.pass);
194 Drawable d = mContext.getResources().getDrawable(R.drawable.pass);
212 Drawable d = mContext.getResources().getDrawable(R.drawable.pass);
259 Drawable d = mContext.getResources().getDrawable(R.drawable.pass)
    [all...]
BitmapDrawableTest.java 136 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
157 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
175 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
193 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
234 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
279 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
308 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
333 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
356 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
376 InputStream source = mContext.getResources().openRawResource(R.raw.testimage)
    [all...]
PaintDrawableTest.java 153 assertTrue(paintDrawable.inflateTag("padding", getContext().getResources(), parser, attr));
160 assertFalse(new MyPaintDrawable().inflateTag("", getContext().getResources(), parser,
166 new MyPaintDrawable().inflateTag(null, getContext().getResources(), parser, attr);
187 assertTrue(paintDrawable.inflateTag("padding", getContext().getResources(), null, attr));
191 new MyPaintDrawable().inflateTag("padding", getContext().getResources(), parser, null);
203 assertTrue(paintDrawable.inflateTag("corners", getContext().getResources(), parser, attr));
208 return getContext().getResources().getXml(R.drawable.paintdrawable_attr);
  /cts/tests/tests/content/src/android/content/res/cts/
ConfigTest.java 160 public Resources getResources() {
191 Resources res = config.getResources();
198 res = config.getResources();
206 res = config.getResources();
213 res = config.getResources();
220 res = config.getResources();
227 res = config.getResources();
234 res = config.getResources();
241 res = config.getResources();
248 res = config.getResources();
    [all...]
ResourceNameTest.java 29 final Resources res = mContext.getResources();
46 final Resources res = mContext.getResources();
Resources_ThemeTest.java 44 mResTheme = getContext().getResources().newTheme();
105 XmlPullParser parser = getContext().getResources().getXml(R.xml.colors);
121 getContext().getResources().getValue(R.raw.testmp3, value, true);
PrimitiveTest.java 32 mResources = mContext.getResources();
72 mContext.getResources().getValue(resid, v, true);
79 expected, mContext.getResources().getBoolean(resid));
90 mContext.getResources().getValue(resid, v, true);
  /frameworks/base/core/tests/coretests/src/android/view/
MutateDrawable.java 34 ok.setBackgroundDrawable(getResources().getDrawable(
39 cancel.setBackgroundDrawable(getResources().getDrawable(
  /external/emma/core/java12/com/vladium/util/
ResourceLoader.java 71 * @see java.lang.ClassLoader#getResources(java.lang.String)
73 public static Enumeration getResources (final String name)
80 return loader.getResources (name);
108 public static Enumeration getResources (final String name, final ClassLoader loader)
112 return loader.getResources (name);
  /packages/apps/Contacts/src/com/android/contacts/
ContactPresenceIconUtil.java 40 return context.getResources().getDrawable(
  /packages/apps/Contacts/src/com/android/contacts/ui/
ContactsPreferences.java 46 return mContext.getResources().getBoolean(R.bool.config_sort_order_user_changeable);
50 if (mContext.getResources().getBoolean(R.bool.config_default_sort_order_primary)) {
80 return mContext.getResources().getBoolean(R.bool.config_display_order_user_changeable);
84 if (mContext.getResources().getBoolean(R.bool.config_default_display_order_primary)) {
  /packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/
GalaxyView.java 38 render.init(RS, getResources(), false);
  /packages/wallpapers/Basic/src/com/android/wallpaper/grass/
GrassView.java 38 render.init(RS, getResources(), false);
  /packages/apps/Gallery3D/src/com/cooliris/media/
ResourceTexture.java 46 bitmap = BitmapFactory.decodeResource(view.getResources(), mResourceId, options);
48 InputStream inputStream = view.getResources().openRawResource(mResourceId);
HudLayer.java 141 Resources resources = context.getResources();
143 new PopupMenu.Option(context.getResources().getString(Res.string.confirm_delete), resources
149 new PopupMenu.Option(context.getResources().getString(Res.string.cancel), resources
157 MenuBar.Menu shareMenu = new MenuBar.Menu.Builder(context.getResources().getString(Res.string.share)).icon(
164 MenuBar.Menu deleteMenu = new MenuBar.Menu.Builder(context.getResources().getString(Res.string.delete)).icon(
167 MenuBar.Menu moreMenu = new MenuBar.Menu.Builder(context.getResources().getString(Res.string.more)).icon(
183 new MenuBar.Menu.Builder(context.getResources().getString(Res.string.select_all)).onSelect(new Runnable() {
188 new MenuBar.Menu.Builder(context.getResources().getString(Res.string.deselect_all)).onSelect(new Runnable() {
195 new MenuBar.Menu.Builder(context.getResources().getString(Res.string.slideshow)).icon(Res.drawable.icon_play)
204 new MenuBar.Menu.Builder(context.getResources().getString(Res.string.menu)).icon(Res.drawable.icon_more
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
SecureView.java 112 String[] messages = getResources().getStringArray(R.array.secure_view_clicked);
118 .setNeutralButton(getResources().getString(
133 .setNeutralButton(getResources().getString(
Tabs2.java 40 .setIndicator("tab1", getResources().getDrawable(R.drawable.star_big_on))
  /frameworks/base/core/java/android/text/style/
ImageSpan.java 64 ? new BitmapDrawable(context.getResources(), b)
139 drawable = new BitmapDrawable(mContext.getResources(), bitmap);
148 drawable = mContext.getResources().getDrawable(mResourceId);
  /cts/tests/src/android/app/cts/
OrientationTestUtils.java 44 final int originalOrientation = activity.getResources().getConfiguration().orientation;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
BitmapDecode.java 69 is = context.getResources().openRawResource(R.drawable.beach);
87 is = context.getResources().openRawResource(R.drawable.frog);
100 mDrawable = context.getResources().getDrawable(R.drawable.button);
103 is = context.getResources().openRawResource(R.drawable.animated_gif);
  /packages/apps/AccountsAndSyncSettings/src/com/android/settings/
SyncActivityTooManyDeletes.java 64 getResources().getText(R.string.sync_really_delete),
65 getResources().getText(R.string.sync_undo_deletes),
66 getResources().getText(R.string.sync_do_nothing)
81 getResources().getText(R.string.sync_too_many_deletes_desc);
99 // imageView.setImageDrawable(authContext.getResources().getDrawable(desc.iconId));
  /packages/apps/Camera/src/com/android/camera/ui/
ResourceTexture.java 42 mContext.getResources(), mResId, options);
  /packages/apps/Phone/src/com/android/phone/
EnableFdnScreen.java 75 setTitle(getResources().getText(id));
118 showStatus(getResources().getText(mEnable ?
124 showStatus(getResources().getText(
141 showStatus(getResources().getText(
EnableIccPinScreen.java 75 setTitle(getResources().getText(id));
113 showStatus(getResources().getText(
119 showStatus(getResources().getText(
136 showStatus(getResources().getText(

Completed in 920 milliseconds

1 2 3 4 5 6 7 8 91011>>