/packages/apps/Email/src/com/android/email/ |
Utility.java | 330 mSpecialMailbox = context.getResources().getStringArray(R.array.mailbox_display_names); 338 context.getResources().obtainTypedArray(R.array.mailbox_display_icons); 340 context.getResources().getDrawable(R.drawable.ic_list_folder); 342 context.getResources().getDrawable(R.drawable.ic_list_starred); 344 context.getResources().getDrawable(R.drawable.ic_list_combined_inbox);
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ResourcesTest.java | 67 mResources = getContext().getResources(); 142 assertEquals(mResources, testTypedArray.getResources()); 164 assertEquals(mResources, ta.getResources()); 167 private Resources getResources(final Configuration config, final int mcc, final int mnc, 812 mContext.getResources().getValue(resid, v, true); 819 expected, mContext.getResources().getBoolean(resid)); 824 mContext.getResources().getValue(resid, v, true);
|
ColorStateListTest.java | 107 final Resources res = getContext().getResources();
|
FractionTest.java | 33 mResources = mContext.getResources();
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RemoteViewsTest.java | 203 .getResources().getDrawable(R.drawable.testimage); 238 .getResources().getDrawable(R.drawable.testimage); 365 .getResources().getDrawable(R.drawable.testimage); 465 BitmapFactory.decodeResource(mActivity.getResources(), R.drawable.testimage); 490 BitmapFactory.decodeResource(mActivity.getResources(), R.drawable.testimage); 619 .getResources().getDrawable(R.drawable.testimage); 765 source = mActivity.getResources().openRawResource(resid);
|
CompoundButtonTest.java | 55 mResources = mContext.getResources(); 81 XmlPullParser parser = mContext.getResources().getXml(R.layout.togglebutton_layout); 420 Drawable drawable = mContext.getResources().getDrawable(R.drawable.scenery);
|
MediaControllerTest.java | 100 mActivity.getResources().getXml(R.layout.mediacontroller_layout); 242 source = mActivity.getResources().openRawResource(R.raw.testvideo); 279 mActivity.getResources().getXml(R.layout.mediacontroller_layout);
|
/frameworks/base/core/java/android/app/ |
LoadedApk.java | 122 ActivityThread.mSystemContext.getResources().updateConfiguration( 126 // + mSystemContext.getResources() + ": " 127 // + mSystemContext.getResources().getConfiguration()); 130 mResources = ActivityThread.mSystemContext.getResources(); 150 mResources = systemContext.getResources(); 381 @Override public Enumeration<URL> getResources(String resName) throws IOException { 382 warn("getResources"); 383 return getParent().getResources(resName); 434 return getResources(mainThread).getAssets(); 437 public Resources getResources(ActivityThread mainThread) [all...] |
AlertDialog.java | 468 P.mItems = P.mContext.getResources().getTextArray(itemsId); 541 P.mItems = P.mContext.getResources().getTextArray(itemsId); 620 P.mItems = P.mContext.getResources().getTextArray(itemsId); [all...] |
LauncherActivity.java | 255 final Resources resources = LauncherActivity.this.getResources(); 311 icon = new BitmapDrawable(getResources(), thumb); 323 icon = new BitmapDrawable(getResources(), thumb);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
DatabaseHelper.java | 435 mContext.getResources().getBoolean(R.bool.assisted_gps_enabled) ? "1" : "0"; 450 mContext.getResources().getBoolean( [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
ImageGallery.java | 393 getResources().getString(R.string.wait), 830 mVideoOverlay = getResources().getDrawable( 836 mVideoMmsErrorOverlay = getResources().getDrawable( 878 mMultiSelectTrue = getResources() 882 mMultiSelectFalse = getResources() 896 getResources(), [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
ManageApplications.java | 456 holder.appName.setTextColor(getResources().getColorStateList( 568 getResources().getDrawable(R.drawable.ic_tab_download)) 572 getResources().getDrawable(R.drawable.ic_tab_all)) 576 getResources().getDrawable(R.drawable.ic_tab_sdcard)) 580 getResources().getDrawable(R.drawable.ic_tab_running)) 773 mUsedStorageText.setText(getResources().getString( 779 mFreeStorageText.setText(getResources().getString( [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
LayerDrawableTest.java | 96 XmlResourceParser parser = mContext.getResources().getXml(R.xml.layerdrawable); 99 layerDrawable.inflate(mContext.getResources(), parser, attrs); 113 parser = mContext.getResources().getXml(R.xml.layerdrawable); 115 layerDrawable.inflate(mContext.getResources(), parser, attrs); 118 parser = mContext.getResources().getXml(R.xml.layerdrawable); 121 layerDrawable.inflate(mContext.getResources(), parser, attrs); 134 layerDrawable.inflate(mContext.getResources(), null, attrs); 140 layerDrawable.inflate(mContext.getResources(), parser, null); [all...] |
/packages/apps/Phone/src/com/android/phone/ |
CallCard.java | 138 mDensity = getResources().getDisplayMetrics().density; 172 getResources().getColor(android.R.color.primary_text_dark); 174 getResources().getColor(android.R.color.secondary_text_dark); 175 mTextColorConnected = getResources().getColor(R.color.incall_textConnected); 177 getResources().getColor(R.color.incall_textConnectedBluetooth); 178 mTextColorEnded = getResources().getColor(R.color.incall_textEnded); 179 mTextColorOnHold = getResources().getColor(R.color.incall_textOnHold); 180 mTextColorCallTypeSip = getResources().getColor(R.color.incall_callTypeSip); 535 mPhoneNumber.setTextColor(getResources().getColor(mRotarySelectorHintColorResId)); [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
GlobalActions.java | 229 if (!mContext.getResources().getBoolean( 395 icon.setImageDrawable(context.getResources().getDrawable(mIconResId)); 477 icon.setImageDrawable(context.getResources().getDrawable(
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
Gallery.java | 93 mApp.showToast(getResources().getString(res), Toast.LENGTH_LONG); 123 Toast.makeText(this, getResources().getString(res), Toast.LENGTH_LONG).show(); 400 mApp.showToast(getResources().getString(Res.string.pick_prompt), Toast.LENGTH_LONG);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiStatusTest.java | 306 mPingIpAddrResult = getResources().getString(R.string.radioInfo_unknown); 307 mPingHostnameResult = getResources().getString(R.string.radioInfo_unknown); 308 mHttpClientTestResult = getResources().getString(R.string.radioInfo_unknown);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
CandidateView.java | 98 mSelectionHighlight = context.getResources().getDrawable( 104 Resources res = context.getResources(); 478 showPreview(0, getContext().getResources().getString(R.string.added_word, word));
|
/cts/tests/tests/content/src/android/content/cts/ |
ContextTest.java | 183 final XmlResourceParser parser = getContext().getResources().getXml(
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
ApplicationInfoTest.java | 146 assertEquals(mContext.getResources().getString(R.string.hello_world),
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationTest.java | 241 Configuration config = getContext().getResources().getConfiguration();
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerConnectionTest.java | 58 in = getContext().getResources().openRawResource(R.raw.testmp3);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Contacts_PhonesTest.java | 41 CharSequence[] labels = getContext().getResources().getTextArray(
|
/cts/tests/tests/text/src/android/text/style/cts/ |
DynamicDrawableSpanTest.java | 138 return getContext().getResources().getDrawable(R.drawable.scenery);
|