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

12

/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/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/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DTintContextWrapper.java26 * {@link android.content.res.Resources} instance from {@link #getResources()}.
46 public Resources getResources() { method in class:TintContextWrapper
48 mResources = new TintResources(super.getResources(), TintManager.get(this));
H A DTintTypedArray.java90 public Resources getResources() { method in class:TintTypedArray
91 return mWrapped.getResources();
/frameworks/base/core/java/android/app/
H A DPresentation.java202 public Resources getResources() { method in class:Presentation
203 return getContext().getResources();
286 return dm.equalsPhysical(getResources().getDisplayMetrics());
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
/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();
/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DPartner.java82 final Resources ourResources = context.getResources();
90 return new ResourceEntry(context.getResources(), id, false);
153 public Resources getResources() { method in class:Partner
/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/core/java/android/content/res/
H A DTypedArray.java126 public Resources getResources() { method in class:TypedArray
H A DResources.java81 * with {@link android.content.Context#getResources getResources()}.</p>
1714 public Resources getResources() { method in class:Resources.Theme
/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/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/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/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/content/
H A DContextWrapper.java85 public Resources getResources() method in class:ContextWrapper
87 return mBase.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/test-runner/src/android/test/mock/
H A DMockContext.java67 public Resources getResources() { method in class:MockContext
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuBuilder.java216 mResources = context.getResources();
802 Resources getResources() { method in class:MenuBuilder
1184 final Resources r = getResources();
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp822 const ResTable& AssetManager::getResources(bool required) const function in class:AssetManager

Completed in 503 milliseconds

12