Searched
refs:getResources (Results
376 -
400 of
2117) sorted by null
<<11121314151617181920>>
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuItem.java | 166 mIconDrawable = mContext.getResources().getDrawable(iconRes); 197 mTitle = mContext.getResources().getString(title);
|
/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 | 87 midiafd = this.getResources().openRawResourceFd(R.raw.testmidi); 90 mp3afd = this.getResources().openRawResourceFd(R.raw.testmp3);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
ToggleSlider.java | 60 final Resources res = context.getResources(); 88 final Resources res = getContext().getResources();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
StatusBarWindowView.java | 61 int minHeight = getResources().getDimensionPixelSize(R.dimen.notification_row_min_height); 62 int maxHeight = getResources().getDimensionPixelSize(R.dimen.notification_row_max_height);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
Clock.java | 116 final Locale newLocale = getResources().getConfiguration().locale; 135 LocaleData d = LocaleData.get(context.getResources().getConfiguration().locale);
|
/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();
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
ActionMenuItem.java | 169 mIconDrawable = mContext.getResources().getDrawable(iconRes); 200 mTitle = mContext.getResources().getString(title);
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserBookmarksAdapter.java | 81 int padding = context.getResources() 117 item.thumbnail = new BitmapDrawable(mContext.getResources(), thumbnail);
|
BrowserSettings.java | 180 DisplayMetrics metrics = mContext.getResources().getDisplayMetrics(); 223 sFactoryResetUrl = mContext.getResources().getString(R.string.homepage_base); 829 return context.getResources().getString(R.string.pref_data_preload_value_wifi_only); 833 return context.getResources().getString(R.string.pref_data_preload_value_always); 843 preload = mContext.getResources().getString(R.string.pref_data_preload_default_value); 853 return context.getResources().getString(R.string.pref_link_prefetch_value_wifi_only); 857 return context.getResources().getString(R.string.pref_link_prefetch_value_always); 867 preload = mContext.getResources().getString(R.string.pref_link_prefetch_default_value);
|
/packages/apps/Browser/src/com/android/browser/search/ |
SearchEngineInfo.java | 64 Resources res = context.getResources(); 85 Locale locale = context.getResources().getConfiguration().locale;
|
/packages/apps/Camera/src/com/android/camera/ui/ |
RotateImageView.java | 165 mThumbs[1] = new BitmapDrawable(getContext().getResources(), mThumb); 169 mThumbs[1] = new BitmapDrawable(getContext().getResources(), mThumb);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
CameraRootView.java | 127 int orientation = getResources().getConfiguration().orientation; 173 int orientation = getResources().getConfiguration().orientation;
|
CountdownTimerPopup.java | 70 Locale locale = getResources().getConfiguration().locale; 71 mDurations[0] = getResources().getString(R.string.setting_off); // Off
|
RotateImageView.java | 165 mThumbs[1] = new BitmapDrawable(getContext().getResources(), mThumb); 169 mThumbs[1] = new BitmapDrawable(getContext().getResources(), mThumb);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
ImageViewDrawableSetter.java | 143 Resources resources = mTarget.getResources(); 161 Resources rsrc = mTarget.getResources();
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
TimerRingService.java | 131 setDataSourceFromResource(getResources(), mMediaPlayer, 146 setDataSourceFromResource(getResources(), mMediaPlayer,
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
InLineSettingKnob.java | 109 mNextButton.setContentDescription(getResources().getString( 111 mPrevButton.setContentDescription(getResources().getString(
|
RotateImageView.java | 163 mThumbs[1] = new BitmapDrawable(getContext().getResources(), mThumb); 167 mThumbs[1] = new BitmapDrawable(getContext().getResources(), mThumb);
|
ZoomControl.java | 91 image.setContentDescription(getResources().getString( 94 image.setContentDescription(getResources().getString(
|
/packages/apps/Mms/src/com/android/mms/ui/ |
AudioAttachmentView.java | 55 mRes = context.getResources(); 60 mRes = context.getResources();
|
BasicSlideEditorView.java | 101 bitmap = BitmapFactory.decodeResource(getResources(), 135 bitmap = BitmapFactory.decodeResource(getResources(),
|
RecipientListActivity.java | 83 actionBar.setSubtitle(getResources().getQuantityString(R.plurals.recipient_count, 125 context.getResources().getDrawable(R.drawable.ic_contact_picture);
|
/packages/apps/Settings/src/com/android/settings/ |
Display.java | 45 Resources r = getResources(); 68 DisplayMetrics metrics = getResources().getDisplayMetrics();
|
Completed in 547 milliseconds
<<11121314151617181920>>