/frameworks/base/core/java/android/widget/ |
H A D | ImageSwitcher.java | 36 public void setImageResource(@DrawableRes int resid) argument 39 image.setImageResource(resid);
|
H A D | Switch.java | 300 public void setSwitchTextAppearance(Context context, @StyleRes int resid) { argument 302 context.obtainStyledAttributes(resid,
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | TintContextWrapper.java | 100 public void setTheme(int resid) { argument 102 super.setTheme(resid); 104 mTheme.applyStyle(resid, true);
|
H A D | TintTypedArray.java | 54 public static TintTypedArray obtainStyledAttributes(Context context, int resid, int[] attrs) { argument 55 return new TintTypedArray(context, context.obtainStyledAttributes(resid, attrs));
|
H A D | ResourcesWrapper.java | 248 public String getResourceName(int resid) throws NotFoundException { argument 249 return mResources.getResourceName(resid); 253 public String getResourcePackageName(int resid) throws NotFoundException { argument 254 return mResources.getResourcePackageName(resid); 258 public String getResourceTypeName(int resid) throws NotFoundException { argument 259 return mResources.getResourceTypeName(resid); 263 public String getResourceEntryName(int resid) throws NotFoundException { argument 264 return mResources.getResourceEntryName(resid);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
H A D | ContextThemeWrapper.java | 48 public void setTheme(int resid) { argument 49 if (mThemeResource != resid) { 50 mThemeResource = resid; 91 * @param resid The theme style resource being applied to <var>theme</var>. 95 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 96 theme.applyStyle(resid, true);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
H A D | AnimatedImageView.java | 73 public void setImageResource(int resid) { argument 74 super.setImageResource(resid);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AnimatedImageView.java | 37 // the same as the previous one. If this is a resid, we track that. If it's a drawable, we 89 public void setImageResource(int resid) { argument 90 if (mDrawableId == resid) return; 92 mDrawableId = resid; 93 super.setImageResource(resid);
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | Resources_Theme_Delegate.java | 68 int resid, int[] attrs) 71 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(resid, 93 int resid, TypedValue outValue, 96 boolean found = RenderSessionImpl.getCurrentContext().resolveThemeAttribute(resid, 66 obtainStyledAttributes( Resources thisResources, Theme thisTheme, int resid, int[] attrs) argument 91 resolveAttribute( Resources thisResources, Theme thisTheme, int resid, TypedValue outValue, boolean resolveRefs) argument
|
H A D | Resources_Delegate.java | 636 static String getResourceEntryName(Resources resources, int resid) throws NotFoundException { argument 637 Pair<ResourceType, String> resourceInfo = getResourceInfo(resources, resid, new boolean[1]); 641 throwException(resid, null); 647 static String getResourceName(Resources resources, int resid) throws NotFoundException { argument 649 Pair<ResourceType, String> resourceInfo = getResourceInfo(resources, resid, platformOut); 661 throwException(resid, null); 666 static String getResourcePackageName(Resources resources, int resid) throws NotFoundException { argument 668 Pair<ResourceType, String> resourceInfo = getResourceInfo(resources, resid, platformOut); 676 throwException(resid, null); 681 static String getResourceTypeName(Resources resources, int resid) throw argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ContextThemeWrapper.java | 137 public void setTheme(int resid) { argument 138 if (mThemeResource != resid) { 139 mThemeResource = resid;
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | AsyncLayoutInflater.java | 81 public void inflate(@LayoutRes int resid, @Nullable ViewGroup parent, argument 88 request.resid = resid; 100 request.resid, request.parent, false); 103 request.view, request.resid, request.parent); 110 public void onInflateFinished(View view, int resid, ViewGroup parent); argument 116 int resid; field in class:AsyncLayoutInflater.InflateRequest 185 request.resid, request.parent, false); 208 obj.resid = 0;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
H A D | SearchablesTest.java | 364 * @param resid The resource identifier of the desired xml. Can not be 0. 375 public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) { argument 378 MoreAsserts.assertNotEqual(resid, 0); 381 return mRealPackageManager.getXml(packageName, resid, appInfo);
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockResources.java | 209 public String getResourceName(int resid) throws NotFoundException { argument 214 public String getResourcePackageName(int resid) throws NotFoundException { argument 219 public String getResourceTypeName(int resid) throws NotFoundException { argument 224 public String getResourceEntryName(int resid) throws NotFoundException { argument
|
H A D | MockContext.java | 92 public void setTheme(int resid) { argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 2734 private void loadStringSetting(SQLiteStatement stmt, String key, int resid) { argument 2735 loadSetting(stmt, key, mContext.getResources().getString(resid)); 2738 private void loadBooleanSetting(SQLiteStatement stmt, String key, int resid) { argument 2740 mContext.getResources().getBoolean(resid) ? "1" : "0"); 2743 private void loadIntegerSetting(SQLiteStatement stmt, String key, int resid) { argument 2745 Integer.toString(mContext.getResources().getInteger(resid))); 2748 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { argument 2750 Float.toString(mContext.getResources().getFraction(resid, base, base)));
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatActivity.java | 89 public void setTheme(@StyleRes final int resid) { argument 90 super.setTheme(resid); 92 mThemeId = resid;
|
H A D | AlertDialog.java | 106 private static int resolveDialogTheme(@NonNull Context context, @StyleRes int resid) { argument 107 if (resid >= 0x01000000) { // start of real resource IDs. 108 return resid;
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | FloatingActionButton.java | 277 public void setBackgroundResource(int resid) { argument
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 895 * @param resid The resource ID of the bitmap to be used as the wallpaper image 900 public void setResource(@RawRes int resid) throws IOException { argument 901 setResource(resid, FLAG_SYSTEM); 908 * @param resid The resource ID of the bitmap to be used as the wallpaper image 918 public int setResource(@RawRes int resid, @SetWallpaperFlags int which) argument 930 "res:" + resources.getResourceName(resid), 937 copyStreamToWallpaperFile(resources.openRawResource(resid), fos); 1192 public boolean hasResourceWallpaper(@RawRes int resid) { argument 1199 String name = "res:" + resources.getResourceName(resid);
|
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 1359 * specified by <var>resid</var> will be retrieved from this Theme's 1416 * resource <var>resid</var> which are listed in <var>attrs</var>. 1516 * @param resid The resource identifier of the desired theme 1528 public boolean resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) { argument 1529 return mThemeImpl.resolveAttribute(resid, outValue, resolveRefs); 1874 public static boolean resourceHasPackage(@AnyRes int resid) { argument 1875 return (resid >>> 24) != 0; 1882 * @param resid The resource identifier whose name is to be retrieved. 1892 public String getResourceName(@AnyRes int resid) throws NotFoundException { argument 1893 return mResourcesImpl.getResourceName(resid); 1908 getResourcePackageName(@nyRes int resid) argument 1924 getResourceTypeName(@nyRes int resid) argument 1940 getResourceEntryName(@nyRes int resid) argument [all...] |
H A D | ResourcesImpl.java | 225 String getResourceName(@AnyRes int resid) throws NotFoundException { argument 226 String str = mAssets.getResourceName(resid); 229 + Integer.toHexString(resid)); 233 String getResourcePackageName(@AnyRes int resid) throws NotFoundException { argument 234 String str = mAssets.getResourcePackageName(resid); 237 + Integer.toHexString(resid)); 241 String getResourceTypeName(@AnyRes int resid) throws NotFoundException { argument 242 String str = mAssets.getResourceTypeName(resid); 245 + Integer.toHexString(resid)); 249 String getResourceEntryName(@AnyRes int resid) throw argument 1149 resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) argument [all...] |
H A D | AssetManager.java | 768 /*package*/ native final String getResourceName(int resid); argument 769 /*package*/ native final String getResourcePackageName(int resid); argument 770 /*package*/ native final String getResourceTypeName(int resid); argument 771 /*package*/ native final String getResourceEntryName(int resid); argument
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceActivity.java | 804 * @param resid The XML resource to load and parse. 807 public void loadHeadersFromResource(@XmlRes int resid, List<Header> target) { argument 810 parser = getResources().getXml(resid);
|
/frameworks/base/core/java/android/content/ |
H A D | ContextWrapper.java | 110 public void setTheme(int resid) { argument 111 mBase.setTheme(resid);
|