OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getResources
(Results
151 - 175
of
2117
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
PhaseBeamView.java
28
mRender.init(240, mRS,
getResources
(), w, h);
/cts/tests/tests/content/src/android/content/cts/
Intent_ShortcutIconResourceTest.java
42
String resourceName = mContext.
getResources
().getResourceName(
52
String resourceName = mContext.
getResources
().getResourceName(
/developers/build/prebuilts/gradle/CustomNotifications/CustomNotificationsSample/src/main/java/com/example/android/customnotifications/
MainActivity.java
60
builder.setTicker(
getResources
().getString(R.string.custom_notification));
80
final String text =
getResources
().getString(R.string.collapsed, time);
/developers/samples/android/ui/notifications/CustomNotifications/CustomNotificationsSample/src/main/java/com/example/android/customnotifications/
MainActivity.java
60
builder.setTicker(
getResources
().getString(R.string.custom_notification));
80
final String text =
getResources
().getString(R.string.collapsed, time);
/development/samples/ApiDemos/src/com/example/android/apis/view/
List14.java
56
mIcon1 = BitmapFactory.decodeResource(context.
getResources
(), R.drawable.icon48x48_1);
57
mIcon2 = BitmapFactory.decodeResource(context.
getResources
(), R.drawable.icon48x48_2);
SplitTouchView.java
56
String[] responses =
getResources
().getStringArray(R.array.cheese_responses);
59
String message =
getResources
().getString(R.string.split_touch_view_cheese_toast,
/development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
HelloCompute.java
65
mScript = new ScriptC_mono(mRS,
getResources
(), R.raw.mono);
74
return BitmapFactory.decodeResource(
getResources
(), resource, options);
/development/samples/browseable/CustomNotifications/src/com.example.android.customnotifications/
MainActivity.java
60
builder.setTicker(
getResources
().getString(R.string.custom_notification));
80
final String text =
getResources
().getString(R.string.collapsed, time);
/development/samples/devbytes/animation/PictureViewer/src/com/example/android/pictureviewer/
PictureViewer.java
64
Bitmap bitmap = BitmapFactory.decodeResource(
getResources
(),
66
drawables[i] = new BitmapDrawable(
getResources
(), bitmap);
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DemoKitPhone.java
28
mFocusedTabImage =
getResources
().getDrawable(
30
mNormalTabImage =
getResources
().getDrawable(
/frameworks/base/core/java/android/preference/
PreferenceInflater.java
77
intent = Intent.parseIntent(getContext().
getResources
(), parser, attrs);
91
getContext().
getResources
().parseBundleExtra(EXTRA_TAG_NAME, attrs,
/frameworks/base/core/java/android/service/dreams/
Sandman.java
109
int def = context.
getResources
().getBoolean(
117
int def = context.
getResources
().getBoolean(
/frameworks/base/core/tests/coretests/src/android/view/
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
48
text.setText(context.
getResources
().getString(R.string.launch_warning_replace,
53
text.setText(context.
getResources
().getString(R.string.launch_warning_original,
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
BitmapsRectActivity.java
50
mBitmap1 = BitmapFactory.decodeResource(c.
getResources
(), R.drawable.sunset1);
51
mBitmap2 = BitmapFactory.decodeResource(c.
getResources
(), R.drawable.sunset2);
MipMapActivity.java
52
mBitmap1 = BitmapFactory.decodeResource(c.
getResources
(), R.drawable.very_large_photo);
53
mBitmap2 = BitmapFactory.decodeResource(c.
getResources
(), R.drawable.very_large_photo);
TransparentListActivity.java
82
getWindow().setBackgroundDrawable(
getResources
().getDrawable(R.drawable.gradient));
112
final Resources r = getContext().
getResources
();
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
TextViewWithCircularIndicator.java
49
Resources res = context.
getResources
();
52
mItemIsSelectedText = context.
getResources
().getString(R.string.item_is_selected);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
PropertyNodesVerifier.java
47
verify(mAndroidTestCase.getContext().
getResources
().openRawResource(resId), vcardType);
52
verify(mAndroidTestCase.getContext().
getResources
().openRawResource(resId),
/packages/apps/Camera2/src/com/android/camera/ui/
ProgressRenderer.java
55
mProgressRadius = context.
getResources
().getDimensionPixelSize(R.dimen.pie_progress_radius);
56
int pieProgressWidth = context.
getResources
().getDimensionPixelSize(
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastListItem.java
67
getResources
().getDrawable(R.drawable.list_item_background_read) :
68
getResources
().getDrawable(R.drawable.list_item_background_unread);
/packages/apps/Gallery/src/com/android/camera/
GalleryPickerItem.java
46
mFrame =
getResources
().getDrawable(R.drawable.frame_gallery_preview);
97
mOverlay =
getResources
().getDrawable(overlayId);
/packages/apps/Launcher3/src/com/android/launcher3/
LauncherAppWidgetHostView.java
55
mPreviousOrientation = mContext.
getResources
().getConfiguration().orientation;
60
int orientation = mContext.
getResources
().getConfiguration().orientation;
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
InputLogicTestsNonEnglish.java
53
mLatinIME.
getResources
().getBoolean(R.bool.config_default_next_word_prediction);
78
mLatinIME.
getResources
().getBoolean(R.bool.config_default_next_word_prediction);
/cts/tests/tests/widget/src/android/widget/cts/
ImageSwitcherTest.java
49
XmlPullParser parser = getContext().
getResources
().getXml(R.layout.imageswitcher_test);
66
Resources resources = getContext().
getResources
();
108
getContext().
getResources
(), R.raw.testimage,
117
getContext().
getResources
(), R.raw.scenery,
135
Resources resources = getContext().
getResources
();
155
source = getContext().
getResources
().openRawResource(resid);
Completed in 571 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>