OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getResources
(Results
101 - 125
of
714
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/cts/tests/tests/widget/src/android/widget/cts/
TwoLineListItemTest.java
80
AttributeSet attrs = mActivity.
getResources
().getLayout(R.layout.twolinelistitem);
125
Resources res = mActivity.
getResources
();
AbsoluteLayout_LayoutParamsTest.java
42
XmlPullParser parser = mContext.
getResources
().getLayout(R.layout.absolute_layout);
ImageButtonTest.java
59
XmlPullParser parser = getContext().
getResources
().getXml(R.layout.imagebutton_test);
/development/samples/ApiDemos/src/com/example/android/apis/app/
MenuInflateFromXml.java
98
mInstructionsText.setText(
getResources
().getString(
126
mInstructionsText.setText(
getResources
().getString(
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
ColorFilters.java
65
mDrawable = context.
getResources
().getDrawable(R.drawable.btn_default_normal);
77
mDrawables[i] = context.
getResources
().getDrawable(resIDs[i]);
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DeviceListActivity.java
115
String noDevices =
getResources
().getText(R.string.none_paired).toString();
195
String noDevices =
getResources
().getText(R.string.none_found).toString();
/frameworks/base/core/java/android/preference/
ListPreference.java
77
setEntries(getContext().
getResources
().getTextArray(entriesResId));
105
setEntryValues(getContext().
getResources
().getTextArray(entryValuesResId));
/frameworks/base/core/java/android/view/
ViewConfiguration.java
200
final DisplayMetrics metrics = context.
getResources
().getDisplayMetrics();
228
final DisplayMetrics metrics = context.
getResources
().getDisplayMetrics();
/frameworks/base/core/tests/coretests/src/android/view/
DrawableBgMinSizeTest.java
62
mBackgroundDrawable = a.
getResources
().getDrawable(R.drawable.drawable_background);
63
mBigBackgroundDrawable = a.
getResources
().getDrawable(R.drawable.big_drawable_background);
/frameworks/base/core/tests/coretests/src/android/widget/
ListViewTest.java
96
public Resources
getResources
() {
97
return getInstrumentation().getTargetContext().
getResources
();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
MediaFrameworkTest.java
76
midiafd = this.
getResources
().openRawResourceFd(R.raw.testmidi);
79
mp3afd = this.
getResources
().openRawResourceFd(R.raw.testmp3);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsHelper.java
135
Configuration conf = mContext.
getResources
().getConfiguration();
152
Configuration conf = mContext.
getResources
().getConfiguration();
/frameworks/base/policy/src/com/android/internal/policy/impl/
LockScreen.java
155
final Resources res =
getResources
();
187
+ " res orient=" + context.
getResources
().getConfiguration().orientation);
322
? getContext().
getResources
().getColor(R.color.keyguard_text_color_soundoff)
323
: getContext().
getResources
().getColor(R.color.keyguard_text_color_soundon);
386
mAlarmIcon = getContext().
getResources
().getDrawable(R.drawable.ic_lock_idle_alarm);
411
getContext().
getResources
().getDrawable(R.drawable.ic_lock_idle_charging);
613
Configuration newConfig =
getResources
().getConfiguration();
631
+ ", new config=" +
getResources
().getConfiguration());
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
TransformTestActivity.java
56
Drawable drawable =
getResources
().getDrawable(R.drawable.logo);
129
DisplayMetrics metrics = context.
getResources
().getDisplayMetrics();
/packages/apps/AccountsAndSyncSettings/src/com/android/settings/
AccountPreferenceBase.java
139
icon = authContext.
getResources
().getDrawable(desc.iconId);
160
label = authContext.
getResources
().getText(desc.labelId);
/packages/apps/Calendar/src/com/android/calendar/
AgendaAdapter.java
46
mResources = context.
getResources
();
115
context.
getResources
().getDrawable(R.drawable.ic_repeat_dark), null);
/packages/apps/Launcher2/src/com/android/launcher2/
BubbleTextView.java
70
mPaint.setColor(getContext().
getResources
().getColor(R.color.bubble_dark_background));
72
final float scale = getContext().
getResources
().getDisplayMetrics().density;
/packages/apps/Mms/src/com/android/mms/ui/
AudioAttachmentView.java
55
mRes = context.
getResources
();
60
mRes = context.
getResources
();
BasicSlideEditorView.java
103
bitmap = BitmapFactory.decodeResource(
getResources
(),
137
bitmap = BitmapFactory.decodeResource(
getResources
(),
/packages/apps/Settings/src/com/android/settings/
ApplicationSettings.java
79
if (
getResources
().getConfiguration().keyboard == Configuration.KEYBOARD_NOKEYS) {
163
.setMessage(
getResources
().getString(R.string.install_all_warning))
Display.java
45
Resources r =
getResources
();
68
DisplayMetrics metrics =
getResources
().getDisplayMetrics();
/packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDiscoverableEnabler.java
124
mContext.
getResources
().getString(R.string.bluetooth_is_discoverable, timeout));
179
mContext.
getResources
().getString(R.string.bluetooth_is_discoverable,
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
ResourceFolder.java
252
public Collection<ProjectResourceItem>
getResources
(ResourceType type,
257
list.addAll(f.
getResources
(type, projectResources));
/cts/tests/tests/content/src/android/content/res/cts/
ArrayTest.java
31
mResources = mContext.
getResources
();
TypedArrayTest.java
173
method = "
getResources
",
286
//
getResources
test
287
assertEquals(getContext().
getResources
(), mTypedArray.
getResources
());
315
final XmlResourceParser parser = getContext().
getResources
().getXml(R.xml.test_color);
319
final TypedArray ta = getContext().
getResources
().obtainAttributes(set,
Completed in 152 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>