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

123

/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/policy/
H A DDecorContext.java62 public Resources getResources() { method in class:DecorContext
/frameworks/base/core/java/com/google/android/util/
H A DSmileyParser.java46 protected Resources getResources() { method in class:SmileyParser
/frameworks/base/tests/testables/src/android/testing/
H A DTestableResources.java33 * to cache {@link Context#getResources}.
51 public Resources getResources() { method in class:TestableResources
H A DTestableContext.java104 * @see #getResources()
108 mTestableResources = new TestableResources(super.getResources());
129 public Resources getResources() { method in class:TestableContext
130 return mTestableResources != null ? mTestableResources.getResources()
131 : super.getResources();
/frameworks/support/v7/appcompat/tests/src/android/support/v7/custom/
H A DContextWrapperFrameLayout.java43 mResources = new CustomResources(base.getResources());
47 public Resources getResources() { method in class:ContextWrapperFrameLayout.CustomContextWrapper
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DTintContextWrapper.java34 * {@link android.content.res.Resources} instance from {@link #getResources()}.
78 || context.getResources() instanceof TintResources
79 || context.getResources() instanceof VectorEnabledTintResources) {
96 mResources = new VectorEnabledTintResources(this, base.getResources());
100 mResources = new TintResources(this, base.getResources());
120 public Resources getResources() { method in class:TintContextWrapper
H A DTintTypedArray.java134 public Resources getResources() { method in class:TintTypedArray
135 return mWrapped.getResources();
/frameworks/base/core/java/android/app/
H A DPresentation.java216 public Resources getResources() { method in class:Presentation
217 return getContext().getResources();
300 return dm.equalsPhysical(getResources().getDisplayMetrics());
H A DResourcesManager.java509 * {@link #getResources(IBinder, String, String[], String[], String[], int, Configuration,
693 public @Nullable Resources getResources(@Nullable IBinder activityToken, method in class:ResourcesManager
703 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, "ResourcesManager#getResources");
722 * {@link #getResources(IBinder, String, String[], String[], String[], int, Configuration,
/frameworks/base/core/tests/coretests/src/android/widget/
H A DListViewTest.java98 public Resources getResources() { method in class:ListViewTest.MockContext2
99 return getInstrumentation().getTargetContext().getResources();
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
H A DTetheringConfigurationTest.java67 public Resources getResources() { return mResources; } method in class:TetheringConfigurationTest.MockContext
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DSimpleInflater.java56 public Resources getResources() { method in class:SimpleInflater
68 XmlResourceParser parser = getResources().getXml(resId);
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java91 * calls to {@link #getResources()} or {@link #getAssets()} are made.
96 "getResources() or getAssets() has already been called");
120 public Resources getResources() { method in class:ContextThemeWrapper
127 mResources = super.getResources();
130 mResources = resContext.getResources();
192 mTheme = getResources().newTheme();
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncStorageEngineTest.java325 public Resources getResources() { method in class:TestContext
326 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DPartner.java100 final Resources ourResources = context.getResources();
108 return new ResourceEntry(context.getResources(), id, false);
184 public Resources getResources() { method in class:Partner
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DContextThemeWrapper.java100 * calls to {@link #getResources()} or {@link #getAssets()} are made.
105 "getResources() or getAssets() has already been called");
123 public Resources getResources() { method in class:ContextThemeWrapper
130 mResources = super.getResources();
133 mResources = resContext.getResources();
194 mTheme = getResources().newTheme();
206 return getResources().getAssets();
/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/tests/net/java/com/android/server/connectivity/
H A DTetheringTest.java135 public Resources getResources() { return mResources; } method in class:TetheringTest.MockContext
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java143 public Resources getResources() { method in class:TypedArray
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmMockContext.java148 public Resources getResources() { method in class:DpmMockContext
/frameworks/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java180 public Resources getResources() { method in class:BridgeTypedArray
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatActivity.java164 final DisplayMetrics newMetrics = super.getResources().getDisplayMetrics();
538 public Resources getResources() { method in class:AppCompatActivity
540 mResources = new VectorEnabledTintResources(this, super.getResources());
542 return mResources == null ? super.getResources() : mResources;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DIcon.java174 public Resources getResources() { method in class:Icon
176 throw new IllegalStateException("called getResources() on " + this);
292 return new BitmapDrawable(context.getResources(), getBitmap());
295 new BitmapDrawable(context.getResources(), getBitmap()));
297 if (getResources() == null) {
324 return getResources().getDrawable(getResId(), context.getTheme());
333 return new BitmapDrawable(context.getResources(),
355 return new BitmapDrawable(context.getResources(),
375 if (getResources() == null && !(getResPackage().equals("android"))) {
378 // assign getResources() a
[all...]

Completed in 2036 milliseconds

123