OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getResources
(Results
76 - 100
of
2117
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TypedArrayTest.java
26
public void
getResources
() throws Exception {
27
assertNotNull(new Activity().obtainStyledAttributes(null).
getResources
());
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
StackActivity.java
41
getResources
().getDrawable(R.drawable.sunset1),
42
getResources
().getDrawable(R.drawable.sunset2),
BitmapsAlphaActivity.java
52
mBitmap1 = BitmapFactory.decodeResource(c.
getResources
(), R.drawable.sunset1);
54
mBitmap2 = BitmapFactory.decodeResource(c.
getResources
(), R.drawable.sunset2);
58
mBitmap3 = BitmapFactory.decodeResource(c.
getResources
(), R.drawable.sunset3, opts);
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
DriverView.java.template
44
mRender.init(mRS,
getResources
());
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
ComputePerf.java
44
mLT = new LaunchTest(mRS,
getResources
());
59
mMandel = new Mandelbrot(mRS,
getResources
());
/packages/apps/Contacts/src/com/android/contacts/preference/
ContactsPreferenceActivity.java
61
return !context.
getResources
().getBoolean(R.bool.config_sort_order_user_changeable)
62
&& !context.
getResources
().getBoolean(R.bool.config_display_order_user_changeable);
/packages/apps/Dialer/tests/src/com/android/dialer/util/
LocaleTestUtils.java
86
mSavedContextLocale = setResourcesLocale(mContext.
getResources
(), locale);
100
setResourcesLocale(mContext.
getResources
(), mSavedContextLocale);
/packages/apps/Launcher2/src/com/android/launcher2/
LauncherAppWidgetHostView.java
53
mPreviousOrientation = mContext.
getResources
().getConfiguration().orientation;
58
int orientation = mContext.
getResources
().getConfiguration().orientation;
LauncherApplication.java
48
sIsScreenLarge =
getResources
().getBoolean(R.bool.is_large_screen);
49
sScreenDensity =
getResources
().getDisplayMetrics().density;
140
return context.
getResources
().getConfiguration().orientation ==
/packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageItemPreference.java
42
this.color = context.
getResources
().getColor(colorRes);
44
final Resources res = context.
getResources
();
/packages/apps/UnifiedEmail/src/com/android/mail/
MinTimeProgressView.java
49
sMinShowTime = context.
getResources
()
51
sMinDelay = context.
getResources
()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
FolderDisplayer.java
49
mDefaultFgColor = context.
getResources
().getColor(R.color.default_folder_foreground_color);
50
mDefaultBgColor = context.
getResources
().getColor(R.color.default_folder_background_color);
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DpiTestActivity.java
65
app.
getResources
().setCompatibilityInfo(new CompatibilityInfo(ai,
66
getResources
().getConfiguration().screenLayout,
67
getResources
().getConfiguration().smallestScreenWidthDp, false));
170
final BitmapDrawable d = new BitmapDrawable(
getResources
(), bitmap);
171
if (!scale) d.setTargetDensity(
getResources
().getDisplayMetrics());
182
final Drawable d =
getResources
().getDrawable(resource);
204
final Drawable d =
getResources
().getDrawable(resource);
217
bitmap = BitmapFactory.decodeResource(
getResources
(), id);
221
bitmap = BitmapFactory.decodeResource(
getResources
(), id, opts);
237
final DisplayMetrics metrics =
getResources
().getDisplayMetrics()
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
PaintDrawableTest.java
117
assertTrue(paintDrawable.inflateTag("padding", getContext().
getResources
(), parser, attr));
124
assertFalse(new MyPaintDrawable().inflateTag("", getContext().
getResources
(), parser,
130
new MyPaintDrawable().inflateTag(null, getContext().
getResources
(), parser, attr);
151
assertTrue(paintDrawable.inflateTag("padding", getContext().
getResources
(), null, attr));
155
new MyPaintDrawable().inflateTag("padding", getContext().
getResources
(), parser, null);
167
assertTrue(paintDrawable.inflateTag("corners", getContext().
getResources
(), parser, attr));
172
return getContext().
getResources
().getXml(R.drawable.paintdrawable_attr);
/packages/apps/Camera/src/com/android/camera/ui/
CameraSwitcher.java
77
mItemSize = context.
getResources
().getDimensionPixelSize(R.dimen.switcher_size);
79
mIndicator = context.
getResources
().getDrawable(R.drawable.ic_switcher_menu_indicator);
137
item.setContentDescription(getContext().
getResources
().getString(
141
item.setContentDescription(getContext().
getResources
().getString(
145
item.setContentDescription(getContext().
getResources
().getString(
149
item.setContentDescription(getContext().
getResources
().getString(
216
if (
getResources
().getConfiguration().orientation
/packages/apps/Mms/src/com/android/mms/ui/
ConversationListItem.java
75
sDefaultContactImage = context.
getResources
().getDrawable(R.drawable.ic_contact_picture);
112
buf.append(mContext.
getResources
().getString(R.string.message_count_format,
115
mContext.
getResources
().getColor(R.color.message_count_color)),
119
buf.append(mContext.
getResources
().getString(R.string.draft_separator));
122
buf.append(mContext.
getResources
().getString(R.string.has_draft));
127
mContext.
getResources
().getColor(R.drawable.text_color_red)),
232
Drawable background = mContext.
getResources
().getDrawable(backgroundId);
/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(
/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);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
CircleView.java
50
Resources res = context.
getResources
();
64
Resources res = context.
getResources
();
80
Resources res = context.
getResources
();
/packages/apps/Calendar/src/com/android/calendar/
ExpandableTextView.java
55
mMaxCollapsedLines =
getResources
().getInteger((R.integer.event_info_desc_line_num));
56
mExpandDrawable =
getResources
().getDrawable(R.drawable.ic_expand_small_holo_light);
57
mCollapseDrawable =
getResources
().getDrawable(R.drawable.ic_collapse_small_holo_light);
/packages/apps/Settings/src/com/android/settings/
RegulatoryInfoDisplayActivity.java
52
Resources resources =
getResources
();
98
int resId =
getResources
().getIdentifier(
105
int id =
getResources
().getIdentifier(
/cts/tests/src/android/app/cts/
OrientationTestUtils.java
44
final int originalOrientation = activity.
getResources
().getConfiguration().orientation;
/cts/tests/tests/app/src/android/app/cts/
LauncherActivity_IconResizerTest.java
45
final Drawable d = mActivity.
getResources
().getDrawable(R.drawable.pass);
/cts/tests/tests/content/src/android/content/res/cts/
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);
/cts/tests/tests/preference2/src/android/preference2/cts/
CheckBoxPreferenceTest.java
49
String summaryExp = mActivity.
getResources
().getString(
Completed in 2531 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>