OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getResources
(Results
351 - 375
of
2117
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/packages/apps/Nfc/src/com/android/nfc/
SendUi.java
322
final int statusBarHeight = mContext.
getResources
().getDimensionPixelSize(
335
mTextHint.setText(mContext.
getResources
().getString(R.string.touch));
346
int orientation = mContext.
getResources
().getConfiguration().orientation;
553
boolean hasNavBar = mContext.
getResources
().getBoolean(
558
final int statusBarHeight = mContext.
getResources
().getDimensionPixelSize(
562
final int navBarHeight = hasNavBar ? mContext.
getResources
().getDimensionPixelSize(
564
final int navBarHeightLandscape = hasNavBar ? mContext.
getResources
().getDimensionPixelSize(
567
final int navBarWidth = hasNavBar ? mContext.
getResources
().getDimensionPixelSize(
725
mTextRetry.setText(mContext.
getResources
().getString(R.string.beam_try_again));
/cts/tests/tests/view/src/android/view/cts/
LayoutInflaterTest.java
265
XmlResourceParser parser = getContext().
getResources
().getLayout(
289
parser = getContext().
getResources
().getLayout(
294
parser = getContext().
getResources
().getLayout(
310
XmlResourceParser parser = getContext().
getResources
().getLayout(
334
parser = getContext().
getResources
().getLayout(
340
parser = getContext().
getResources
().getLayout(
/cts/tests/tests/widget/src/android/widget/cts/
FrameLayoutTest.java
77
= (BitmapDrawable) mActivity.
getResources
().getDrawable(R.drawable.size_48x48);
105
= (BitmapDrawable) mActivity.
getResources
().getDrawable(R.drawable.size_48x48);
130
final Drawable foreground = mActivity.
getResources
().getDrawable(R.drawable.size_48x48);
261
Drawable drawable = mActivity.
getResources
().getDrawable(R.drawable.scenery);
265
drawable = mActivity.
getResources
().getDrawable(R.drawable.black);
283
XmlPullParser parser = mActivity.
getResources
().getLayout(R.layout.framelayout_layout);
/development/samples/ApiDemos/src/com/example/android/apis/security/
KeyStoreUsage.java
152
aliasInput.setError(
getResources
().getText(R.string.keystore_no_alias_error));
210
mPlainText.setTextColor(
getResources
().getColor(android.R.color.primary_text_dark));
219
.setTextColor(
getResources
().getColor(android.R.color.primary_text_dark));
475
mCipherText.setTextColor(
getResources
().getColor(R.color.solid_green));
477
mCipherText.setTextColor(
getResources
().getColor(R.color.solid_red));
486
mCipherText.setTextColor(
getResources
().getColor(android.R.color.primary_text_dark));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAlertDialog.java
285
this.items = context.
getResources
().getTextArray(itemsId);
350
return setTitle(context.
getResources
().getString(titleId));
361
setMessage(context.
getResources
().getString(messageId));
385
return setPositiveButton(context.
getResources
().getText(positiveTextId), listener);
397
return setNegativeButton(context.
getResources
().getString(negativeTextId), listener);
409
return setNeutralButton(context.
getResources
().getText(neutralTextId), listener);
ShadowTextView.java
110
this.text =
getResources
().getText(textResourceId);
181
this.hintText =
getResources
().getText(resId);
394
text = context.
getResources
().getString(textResId);
405
setTextColor(context.
getResources
().getColor(colorResId));
418
hint = context.
getResources
().getString(textResId);
430
setHintTextColor(context.
getResources
().getColor(colorResId));
ShadowPreference.java
114
this.summary = context.
getResources
().getText(summaryResId);
129
this.title = context.
getResources
().getText(titleResId);
/frameworks/base/core/java/com/android/internal/view/menu/
MenuItemImpl.java
118
String lang = menu.getContext().
getResources
().getConfiguration().locale.toString();
122
sPrependShortcutLabel = menu.getContext().
getResources
().getString(
124
sEnterShortcutLabel = menu.getContext().
getResources
().getString(
126
sDeleteShortcutLabel = menu.getContext().
getResources
().getString(
128
sSpaceShortcutLabel = menu.getContext().
getResources
().getString(
388
Drawable icon = mMenu.
getResources
().getDrawable(mIconResId);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ShortcutIntentBuilder.java
120
final Resources r = context.
getResources
();
254
return new BitmapDrawable(mContext.
getResources
(), bitmap);
256
return ContactPhotoManager.getDefaultAvatarDrawableForContact(mContext.
getResources
(),
288
intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, mContext.
getResources
().getString(
354
Drawable overlay = mContext.
getResources
().getDrawableForDensity(
370
final Resources r = mContext.
getResources
();
/packages/apps/Music/src/com/android/music/
VerticalTextSpinner.java
106
float scale =
getResources
().getDisplayMetrics().density;
117
mBackgroundFocused = context.
getResources
().getDrawable(R.drawable.pickerbox_background);
118
mSelectorFocused = context.
getResources
().getDrawable(R.drawable.pickerbox_selected);
119
mSelectorNormal = context.
getResources
().getDrawable(R.drawable.pickerbox_unselected);
131
mTextPaintDark.setColor(context.
getResources
()
136
mTextPaintLight.setColor(context.
getResources
()
/packages/apps/Settings/src/com/android/settings/applications/
ProcessStatsDetail.java
120
String appLevelText = makePercentString(
getResources
(), mEntry.mDuration, mTotalTime);
201
addDetailsItem(mDetailsParent,
getResources
().getText(R.string.process_stats_avg_ram_use),
204
addDetailsItem(mDetailsParent,
getResources
().getText(R.string.process_stats_max_ram_use),
207
addDetailsItem(mDetailsParent,
getResources
().getText(R.string.process_stats_run_time),
208
makePercentString(
getResources
(), mEntry.mDuration, mTotalTime));
272
addDetailsItem(mServicesParent, label, getActivity().
getResources
().getString(
/cts/tests/tests/provider/src/android/provider/cts/
Contacts_ContactMethodsTest.java
60
CharSequence[] labels = getContext().
getResources
().getTextArray(
91
labels = getContext().
getResources
().getTextArray(
/developers/build/prebuilts/gradle/BasicMediaRouter/BasicMediaRouterSample/src/main/java/com/example/android/basicmediarouter/
MainActivity.java
72
mColors =
getResources
().getIntArray(R.array.androidcolors);
190
mTextStatus.setText(
getResources
().getString(R.string.secondary_connected,
/developers/samples/android/media/BasicMediaRouter/BasicMediaRouterSample/src/main/java/com/example/android/basicmediarouter/
MainActivity.java
72
mColors =
getResources
().getIntArray(R.array.androidcolors);
190
mTextStatus.setText(
getResources
().getString(R.string.secondary_connected,
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
SimpleMenu.java
45
mResources = context.
getResources
();
53
public Resources
getResources
() {
/development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentLayout.java
65
if (
getResources
().getConfiguration().orientation
216
4, getActivity().
getResources
().getDisplayMetrics());
MenuInflateFromXml.java
109
mInstructionsText.setText(
getResources
().getString(
133
mInstructionsText.setText(
getResources
().getString(
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
ColorFilters.java
64
mDrawable = context.
getResources
().getDrawable(R.drawable.btn_default_normal);
76
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();
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentLayoutSupport.java
66
if (
getResources
().getConfiguration().orientation
215
4, getActivity().
getResources
().getDisplayMetrics());
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
MainActivity.java
72
mColors =
getResources
().getIntArray(R.array.androidcolors);
190
mTextStatus.setText(
getResources
().getString(R.string.secondary_connected,
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
InputController.java
131
mOffImage = mHostActivity.
getResources
().getDrawable(offImageId);
132
mOnImage = mHostActivity.
getResources
().getDrawable(onImageId);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
ContentWrapperView.java
66
Resources resources = context.
getResources
();
99
float density = context.
getResources
().getDisplayMetrics().density;
/external/chromium_org/ui/android/java/src/org/chromium/ui/
UiUtils.java
62
final float screenHeight = context.
getResources
().getDisplayMetrics().heightPixels;
64
final float density = context.
getResources
().getDisplayMetrics().density;
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/
ViewElement.java
96
if (view.getId() != View.NO_ID && view.
getResources
() != null) {
98
return charSequenceToString(view.
getResources
().getResourceName(view.getId()));
Completed in 916 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>