Searched defs:getResources (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/java/com/google/android/util/
H A DSmileyParser.java46 protected Resources getResources() { method in class:SmileyParser
H A DAbstractMessageParser.java64 protected abstract Resources getResources(); method in class:AbstractMessageParser
293 TrieNode match = longestMatch(getResources().getSmileys(), this, nextChar,
316 TrieNode match = longestMatch(getResources().getAcronyms(), this, nextChar);
334 if (matches(getResources().getDomainSuffixes(), reverse(domain))) {
366 if (!getResources().getSchemes().contains(scheme)) {
/frameworks/base/core/java/android/app/
H A DPresentation.java202 public Resources getResources() { method in class:Presentation
203 return getContext().getResources();
284 return dm.equals(getResources().getDisplayMetrics());
H A DLoadedApk.java141 ActivityThread.mSystemContext.getResources().updateConfiguration(
147 // + mSystemContext.getResources() + ": "
148 // + mSystemContext.getResources().getConfiguration());
151 mResources = ActivityThread.mSystemContext.getResources();
171 mResources = systemContext.getResources();
414 @Override public Enumeration<URL> getResources(String resName) throws IOException { method in class:LoadedApk.WarningContextClassLoader
415 warn("getResources");
416 return getParent().getResources(resName);
471 return getResources(mainThread).getAssets();
474 public Resources getResources(ActivityThrea method in class:LoadedApk
[all...]
H A DContextImpl.java556 return getResources().getAssets();
560 public Resources getResources() { method in class:ContextImpl
1865 mResources = mPackageInfo.getResources(mainThread);
H A DFragment.java758 * Return <code>getActivity().getResources()</code>.
760 final public Resources getResources() { method in class:Fragment
764 return mActivity.getResources();
774 return getResources().getText(resId);
784 return getResources().getString(resId);
797 return getResources().getString(resId, formatArgs);
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java60 * calls to {@link #getResources()} are made.
64 throw new IllegalStateException("getResources() has already been called");
73 public Resources getResources() { method in class:ContextThemeWrapper
78 mResources = super.getResources();
82 mResources = resc.getResources();
138 mTheme = getResources().newTheme();
H A DView.java3224 mResources = context != null ? context.getResources() : null;
3582 + getContext().getResources().getResourceEntryName(
7087 mContext.getResources().getConfiguration().locale);
7097 mContext.getResources().getConfiguration().locale);
8923 * float scale = context.getResources().getDisplayMetrics().density;
12896 bitmap.setDensity(getResources().getDisplayMetrics().densityDpi);
12993 Resources resources = getResources();
14128 public Resources getResources() { method in class:View
16601 mContext.getResources().getDisplayMetrics());
/frameworks/base/core/tests/coretests/src/android/widget/
H A DListViewTest.java96 public Resources getResources() { method in class:ListViewTest.MockContext2
97 return getInstrumentation().getTargetContext().getResources();
/frameworks/base/test-runner/src/android/test/
H A DProviderTestCase2.java80 public Resources getResources() { method in class:ProviderTestCase2.MockContext2
81 return getContext().getResources();
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCallerInfoTest.java155 public Resources getResources() { method in class:CallerInfoTest.MockContext
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java77 public Resources getResources() { method in class:TypedArray
/frameworks/base/core/tests/coretests/src/android/app/
H A DSearchablesTest.java247 public Resources getResources() { method in class:SearchablesTest.MyMockContext
248 return mRealContext.getResources();
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java124 public Resources getResources() { method in class:BridgeTypedArray
373 return ColorStateList.createFromXml(mContext.getResources(), blockParser);
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java492 Resources r = getResources(pii);
587 Resources res = getResources(pgi);
600 Resources res = getResources(pgi);
637 Resources res = getResources(pi);
649 Resources res = getResources(pi);
1390 private Resources getResources(PackageItemInfo pii) { method in class:Pm
/frameworks/base/core/java/android/content/
H A DContextWrapper.java87 public Resources getResources() method in class:ContextWrapper
89 return mBase.getResources();
H A DContext.java246 public abstract Resources getResources(); method in class:Context
317 return getResources().getText(resId);
327 return getResources().getString(resId);
340 return getResources().getString(resId, formatArgs);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java188 mResources = context.getResources();
726 Resources getResources() { method in class:MenuBuilder
1095 final Resources r = getResources();
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java65 public Resources getResources() { method in class:MockContext
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp754 const ResTable& AssetManager::getResources(bool required) const function in class:AssetManager
/frameworks/base/tools/aapt/
H A DAaptAssets.h587 inline KeyedVector<String8, sp<ResourceTypeSet> >* getResources() { return mRes; } function in class:AaptAssets
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java410 public Resources getResources() { method in class:BridgeContext
/frameworks/support/v4/java/android/support/v4/app/
H A DFragment.java567 * Return <code>getActivity().getResources()</code>.
569 final public Resources getResources() { method in class:Fragment
573 return mActivity.getResources();
583 return getResources().getText(resId);
593 return getResources().getString(resId);
606 return getResources().getString(resId, formatArgs);

Completed in 833 milliseconds