/frameworks/base/core/java/android/webkit/ |
H A D | PermissionRequest.java | 36 * 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 D | DecorContext.java | 62 public Resources getResources() { method in class:DecorContext
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | SmileyParser.java | 46 protected Resources getResources() { method in class:SmileyParser
|
/frameworks/base/tests/testables/src/android/testing/ |
H A D | TestableResources.java | 33 * to cache {@link Context#getResources}. 51 public Resources getResources() { method in class:TestableResources
|
H A D | TestableContext.java | 104 * @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 D | ContextWrapperFrameLayout.java | 43 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 D | TintContextWrapper.java | 34 * {@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 D | TintTypedArray.java | 134 public Resources getResources() { method in class:TintTypedArray 135 return mWrapped.getResources();
|
/frameworks/base/core/java/android/app/ |
H A D | Presentation.java | 216 public Resources getResources() { method in class:Presentation 217 return getContext().getResources(); 300 return dm.equalsPhysical(getResources().getDisplayMetrics());
|
H A D | ResourcesManager.java | 509 * {@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 D | ListViewTest.java | 98 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 D | TetheringConfigurationTest.java | 67 public Resources getResources() { return mResources; } method in class:TetheringConfigurationTest.MockContext
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | SimpleInflater.java | 56 public Resources getResources() { method in class:SimpleInflater 68 XmlResourceParser parser = getResources().getXml(resId);
|
/frameworks/base/core/java/android/view/ |
H A D | ContextThemeWrapper.java | 91 * 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 D | SyncStorageEngineTest.java | 325 public Resources getResources() { method in class:TestContext 326 return mRealContext.getResources();
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ProviderTestCase2.java | 81 public Resources getResources() { method in class:ProviderTestCase2.MockContext2 82 return getContext().getResources();
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
H A D | Partner.java | 100 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 D | ContextThemeWrapper.java | 100 * 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 D | SearchablesTest.java | 247 public Resources getResources() { method in class:SearchablesTest.MyMockContext 248 return mRealContext.getResources();
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
H A D | TetheringTest.java | 135 public Resources getResources() { return mResources; } method in class:TetheringTest.MockContext
|
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 143 public Resources getResources() { method in class:TypedArray
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DpmMockContext.java | 148 public Resources getResources() { method in class:DpmMockContext
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 180 public Resources getResources() { method in class:BridgeTypedArray
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatActivity.java | 164 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 D | Icon.java | 174 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...] |