OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:getresources
(Results
1 - 25
of
743
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/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);
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
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
...]
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
...]
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);
/frameworks/base/core/tests/coretests/src/android/view/
MutateDrawable.java
34
ok.setBackgroundDrawable(
getResources
().getDrawable(
39
cancel.setBackgroundDrawable(
getResources
().getDrawable(
DrawableBgMinSize.java
58
mBackgroundDrawable =
getResources
().getDrawable(R.drawable.drawable_background);
59
mBigBackgroundDrawable =
getResources
().getDrawable(R.drawable.big_drawable_background);
/frameworks/base/services/java/com/android/server/am/
LaunchWarningWindow.java
28
text.setText(context.
getResources
().getString(R.string.launch_warning_replace,
33
text.setText(context.
getResources
().getString(R.string.launch_warning_original,
/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));
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DensityActivity.java
140
final BitmapDrawable d = new BitmapDrawable(
getResources
(), bitmap);
141
if (!scale) d.setTargetDensity(
getResources
().getDisplayMetrics());
152
final Drawable d =
getResources
().getDrawable(resource);
174
final Drawable d =
getResources
().getDrawable(resource);
187
bitmap = BitmapFactory.decodeResource(
getResources
(), id);
191
bitmap = BitmapFactory.decodeResource(
getResources
(), id, opts);
207
final DisplayMetrics metrics =
getResources
().getDisplayMetrics();
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/Gallery3D/src/com/cooliris/media/
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
...]
ResourceTexture.java
46
bitmap = BitmapFactory.decodeResource(view.
getResources
(), mResourceId, options);
48
InputStream inputStream = view.
getResources
().openRawResource(mResourceId);
/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/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(
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DpiTestActivity.java
65
app.
getResources
().setCompatibilityInfo(new CompatibilityInfo(ai));
168
final BitmapDrawable d = new BitmapDrawable(
getResources
(), bitmap);
169
if (!scale) d.setTargetDensity(
getResources
().getDisplayMetrics());
180
final Drawable d =
getResources
().getDrawable(resource);
202
final Drawable d =
getResources
().getDrawable(resource);
215
bitmap = BitmapFactory.decodeResource(
getResources
(), id);
219
bitmap = BitmapFactory.decodeResource(
getResources
(), id, opts);
235
final DisplayMetrics metrics =
getResources
().getDisplayMetrics();
/cts/tests/tests/graphics/src/android/graphics/cts/
MovieTest.java
51
mMovie = getActivity().
getResources
().getMovie(MOVIE);
103
source = getActivity().
getResources
().openRawResource(MOVIE);
142
InputStream is = getActivity().
getResources
().openRawResource(MOVIE);
159
InputStream is = getActivity().
getResources
()
208
int expectedHeight = getActivity().
getResources
().getDrawable(MOVIE).getIntrinsicHeight();
212
int expectedWidth = getActivity().
getResources
().getDrawable(MOVIE).getIntrinsicWidth();
/cts/tests/tests/widget/src/android/widget/cts/
ImageSwitcherTest.java
71
XmlPullParser parser = getContext().
getResources
().getXml(R.layout.imageswitcher_test);
94
Resources resources = getContext().
getResources
();
142
getContext().
getResources
(), R.raw.testimage,
151
getContext().
getResources
(), R.raw.scenery,
175
Resources resources = getContext().
getResources
();
195
source = getContext().
getResources
().openRawResource(resid);
/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);
/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/tests/content/src/android/content/cts/
Intent_ShortcutIconResourceTest.java
51
String resourceName = mContext.
getResources
().getResourceName(
66
String resourceName = mContext.
getResources
().getResourceName(
/frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/
PropertyNodesVerifier.java
46
verify(mAndroidTestCase.getContext().
getResources
().openRawResource(resId), vcardType);
51
verify(mAndroidTestCase.getContext().
getResources
().openRawResource(resId),
/packages/apps/Gallery/src/com/android/camera/
GalleryPickerItem.java
46
mFrame =
getResources
().getDrawable(R.drawable.frame_gallery_preview);
97
mOverlay =
getResources
().getDrawable(overlayId);
Completed in 1237 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>