Searched defs:getResources (Results 1 - 25 of 33) sorted by path

12

/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java577 Resources r = getResources(pii);
677 Resources res = getResources(pgi);
690 Resources res = getResources(pgi);
727 Resources res = getResources(pi);
739 Resources res = getResources(pi);
1957 private Resources getResources(PackageItemInfo pii) { method in class:Pm
/frameworks/base/core/java/android/app/
H A DContextImpl.java199 return getResources().getAssets();
203 public Resources getResources() { method in class:ContextImpl
1832 Resources resources = packageInfo.getResources(mainThread);
H A DFragment.java801 * Return <code>getActivity().getResources()</code>.
803 final public Resources getResources() { method in class:Fragment
807 return mHost.getContext().getResources();
817 return getResources().getText(resId);
827 return getResources().getString(resId);
840 return getResources().getString(resId, formatArgs);
H A DLoadedApk.java474 @Override public Enumeration<URL> getResources(String resName) throws IOException { method in class:LoadedApk.WarningContextClassLoader
475 warn("getResources");
476 return getParent().getResources(resName);
543 return getResources(mainThread).getAssets();
546 public Resources getResources(ActivityThread mainThread) { method in class:LoadedApk
H A DPresentation.java202 public Resources getResources() { method in class:Presentation
203 return getContext().getResources();
286 return dm.equalsPhysical(getResources().getDisplayMetrics());
/frameworks/base/core/java/android/content/
H A DContext.java319 public abstract Resources getResources(); method in class:Context
396 return getResources().getText(resId);
409 return getResources().getString(resId);
425 return getResources().getString(resId, formatArgs);
441 return getResources().getColor(id, getTheme());
458 return getResources().getDrawable(id, getTheme());
475 return getResources().getColorStateList(id, getTheme());
H A DContextWrapper.java85 public Resources getResources() method in class:ContextWrapper
87 return mBase.getResources();
/frameworks/base/core/java/android/content/res/
H A DResources.java81 * with {@link android.content.Context#getResources getResources()}.</p>
1714 public Resources getResources() { method in class:Resources.Theme
H A DTypedArray.java126 public Resources getResources() { method in class:TypedArray
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java63 * calls to {@link #getResources()} are made.
67 throw new IllegalStateException("getResources() has already been called");
76 public Resources getResources() { method in class:ContextThemeWrapper
81 mResources = super.getResources();
85 mResources = resc.getResources();
144 mTheme = getResources().newTheme();
H A DView.java3778 mResources = context != null ? context.getResources() : null;
4478 + mHostView.getContext().getResources().getResourceEntryName(id) + "'";
4515 final Resources res = t.getResources();
6169 final Resources res = getResources();
6351 String viewId = getResources().getResourceName(mID);
9126 mContext.getResources().getConfiguration().locale);
9136 mContext.getResources().getConfiguration().locale);
11066 * float scale = context.getResources().getDisplayMetrics().density;
15406 bitmap.setDensity(getResources().getDisplayMetrics().densityDpi);
15505 Resources resources = getResources();
16772 public Resources getResources() { method in class:View
[all...]
/frameworks/base/core/java/android/webkit/
H A DPermissionRequest.java36 * permissionRequest.grant(permissionRequest.getResources()) // This is wrong!!!
80 public abstract String[] getResources(); method in class:PermissionRequest
87 * request, the requested resources returned by {@link #getResources()}
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java188 mResources = context.getResources();
752 Resources getResources() { method in class:MenuBuilder
1128 final Resources r = getResources();
/frameworks/base/core/java/com/google/android/util/
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)) {
H A DSmileyParser.java46 protected Resources getResources() { method in class:SmileyParser
/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/graphics/java/android/graphics/drawable/
H A DIcon.java169 public Resources getResources() { method in class:Icon
171 throw new IllegalStateException("called getResources() on " + this);
284 return new BitmapDrawable(context.getResources(), getBitmap());
286 if (getResources() == null) {
313 return getResources().getDrawable(getResId(), context.getTheme());
322 return new BitmapDrawable(context.getResources(),
344 return new BitmapDrawable(context.getResources(),
364 if (getResources() == null && !(getResPackage().equals("android"))) {
367 // assign getResources() as the correct user
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp822 const ResTable& AssetManager::getResources(bool required) const function in class:AssetManager
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncStorageEngineTest.java898 public Resources getResources() { method in class:TestContext
899 return mRealContext.getResources();
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
H A DSearchablesTest.java247 public Resources getResources() { method in class:SearchablesTest.MyMockContext
248 return mRealContext.getResources();
/frameworks/base/test-runner/src/android/test/
H A DProviderTestCase2.java81 public Resources getResources() { method in class:ProviderTestCase2.MockContext2
82 return getContext().getResources();
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java67 public Resources getResources() { method in class:MockContext
/frameworks/base/tools/aapt/
H A DAaptAssets.h575 inline KeyedVector<String8, sp<ResourceTypeSet> >* getResources() { return mRes; } function in class:AaptAssets
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java177 public Resources getResources() { method in class:BridgeTypedArray
337 return ColorStateList.createFromXml(mContext.getResources(), blockParser,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java489 public Resources getResources() { method in class:BridgeContext

Completed in 1080 milliseconds

12