/frameworks/base/core/java/android/widget/ |
H A D | ImageSwitcher.java | 38 public void setImageResource(int resid) argument 41 image.setImageResource(resid);
|
H A D | CheckedTextView.java | 105 * @param resid The Drawable to use for the checkmark. 112 public void setCheckMarkDrawable(int resid) { argument 113 if (resid != 0 && resid == mCheckMarkResource) { 117 mCheckMarkResource = resid;
|
H A D | CompoundButton.java | 174 * @param resid the resource id of the drawable to use as the background 176 public void setButtonDrawable(int resid) { argument 177 if (resid != 0 && resid == mButtonResource) { 181 mButtonResource = resid;
|
H A D | Switch.java | 189 public void setSwitchTextAppearance(Context context, int resid) { argument 191 context.obtainStyledAttributes(resid,
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | Resources_Theme_Delegate.java | 46 int resid, int[] attrs) 48 return RenderSessionImpl.getCurrentContext().obtainStyledAttributes(resid, attrs); 62 int resid, TypedValue outValue, 65 resid, outValue, resolveRefs); 44 obtainStyledAttributes( Resources thisResources, Theme thisTheme, int resid, int[] attrs) argument 60 resolveAttribute( Resources thisResources, Theme thisTheme, int resid, TypedValue outValue, boolean resolveRefs) argument
|
H A D | BridgeResources.java | 468 public String getResourceEntryName(int resid) throws NotFoundException { argument 473 public String getResourceName(int resid) throws NotFoundException { argument 478 public String getResourceTypeName(int resid) throws NotFoundException { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AnimatedImageView.java | 64 public void setImageResource(int resid) { argument 65 super.setImageResource(resid);
|
/frameworks/base/core/java/android/view/ |
H A D | ContextThemeWrapper.java | 87 @Override public void setTheme(int resid) { argument 88 mThemeResource = resid; 127 * @param resid The theme style resource being applied to <var>theme</var>. 131 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 132 theme.applyStyle(resid, true);
|
H A D | Window.java | 1006 * @param resid The resource identifier of a drawable resource which will be 1009 public void setBackgroundDrawableResource(int resid) argument 1011 setBackgroundDrawable(mContext.getResources().getDrawable(resid));
|
/frameworks/base/core/tests/coretests/src/android/app/ |
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 | 204 public String getResourceName(int resid) throws NotFoundException { argument 209 public String getResourcePackageName(int resid) throws NotFoundException { argument 214 public String getResourceTypeName(int resid) throws NotFoundException { argument 219 public String getResourceEntryName(int resid) throws NotFoundException { argument
|
H A D | MockContext.java | 90 public void setTheme(int resid) { argument
|
H A D | MockPackageManager.java | 292 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { argument 343 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { argument 348 public XmlResourceParser getXml(String packageName, int resid, argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 2216 private void loadStringSetting(SQLiteStatement stmt, String key, int resid) { argument 2217 loadSetting(stmt, key, mContext.getResources().getString(resid)); 2220 private void loadBooleanSetting(SQLiteStatement stmt, String key, int resid) { argument 2222 mContext.getResources().getBoolean(resid) ? "1" : "0"); 2225 private void loadIntegerSetting(SQLiteStatement stmt, String key, int resid) { argument 2227 Integer.toString(mContext.getResources().getInteger(resid))); 2230 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { argument 2232 Float.toString(mContext.getResources().getFraction(resid, base, base)));
|
/frameworks/base/core/java/android/app/ |
H A D | AlertDialog.java | 128 static int resolveDialogTheme(Context context, int resid) { argument 129 if (resid == THEME_TRADITIONAL) { 131 } else if (resid == THEME_HOLO_DARK) { 133 } else if (resid == THEME_HOLO_LIGHT) { 135 } else if (resid == THEME_DEVICE_DEFAULT_DARK) { 137 } else if (resid == THEME_DEVICE_DEFAULT_LIGHT) { 139 } else if (resid >= 0x01000000) { // start of real resource IDs. 140 return resid;
|
H A D | WallpaperManager.java | 476 * @param resid The bitmap to save. 481 public void setResource(int resid) throws IOException { argument 490 "res:" + resources.getResourceName(resid)); 495 setWallpaper(resources.openRawResource(resid), fos); 597 public boolean hasResourceWallpaper(int resid) { argument 604 String name = "res:" + resources.getResourceName(resid);
|
H A D | ApplicationPackageManager.java | 621 @Override public Drawable getDrawable(String packageName, int resid, argument 623 ResourceName name = new ResourceName(packageName, resid); 637 dr = r.getDrawable(resid); 641 Log.w(TAG, "Getting drawable 0x" + Integer.toHexString(resid) 648 + Integer.toHexString(resid) + " from " + r 662 + Integer.toHexString(resid) + " in package " 955 public CharSequence getText(String packageName, int resid, argument 957 ResourceName name = new ResourceName(packageName, resid); 971 text = r.getText(resid); 981 + Integer.toHexString(resid) 988 getXml(String packageName, int resid, ApplicationInfo appInfo) argument [all...] |
H A D | ContextImpl.java | 596 public void setTheme(int resid) { argument 597 mThemeResource = resid;
|
/frameworks/base/core/java/android/content/ |
H A D | ContextWrapper.java | 113 public void setTheme(int resid) { argument 114 mBase.setTheme(resid);
|
H A D | Context.java | 349 * @param resid The style resource describing the theme. 351 public abstract void setTheme(int resid); argument 384 int resid, int[] attrs) throws Resources.NotFoundException { 385 return getTheme().obtainStyledAttributes(resid, attrs); 383 obtainStyledAttributes( int resid, int[] attrs) argument
|
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 1088 * specified by <var>resid</var> will be retrieved from this Theme's 1097 * @param resid The resource ID of a style resource from which to 1103 public void applyStyle(int resid, boolean force) { argument 1104 AssetManager.applyThemeStyle(mTheme, resid, force); 1150 * resource <var>resid</var> which are listed in <var>attrs</var>. 1155 * @param resid The desired style resource. 1168 public TypedArray obtainStyledAttributes(int resid, int[] attrs) argument 1174 AssetManager.applyStyle(mTheme, 0, resid, 0, attrs, 1308 * @param resid The resource identifier of the desired theme 1320 public boolean resolveAttribute(int resid, TypedValu argument 1656 getResourceName(int resid) argument 1675 getResourcePackageName(int resid) argument 1694 getResourceTypeName(int resid) argument 1713 getResourceEntryName(int resid) argument [all...] |
H A D | AssetManager.java | 665 /*package*/ native final String getResourceName(int resid); argument 666 /*package*/ native final String getResourcePackageName(int resid); argument 667 /*package*/ native final String getResourceTypeName(int resid); argument 668 /*package*/ native final String getResourceEntryName(int resid); argument
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceActivity.java | 750 * @param resid The XML resource to load and parse. 753 public void loadHeadersFromResource(int resid, List<Header> target) { argument 756 parser = getResources().getXml(resid);
|
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 588 jint resid) 596 if (!am->getResources().getResourceName(resid, &name)) { 623 jint resid) 631 if (!am->getResources().getResourceName(resid, &name)) { 643 jint resid) 651 if (!am->getResources().getResourceName(resid, &name)) { 663 jint resid) 671 if (!am->getResources().getResourceName(resid, &name)) { 1043 uint32_t resid = 0; local 1047 &resid, 587 android_content_AssetManager_getResourceName(JNIEnv* env, jobject clazz, jint resid) argument 622 android_content_AssetManager_getResourcePackageName(JNIEnv* env, jobject clazz, jint resid) argument 642 android_content_AssetManager_getResourceTypeName(JNIEnv* env, jobject clazz, jint resid) argument 662 android_content_AssetManager_getResourceEntryName(JNIEnv* env, jobject clazz, jint resid) argument 1203 uint32_t resid = 0; local 1316 uint32_t resid = 0; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 250 public boolean resolveThemeAttribute(int resid, TypedValue outValue, boolean resolveRefs) { argument 251 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resid); 254 resourceInfo = mProjectCallback.resolveResourceId(resid); 458 public final TypedArray obtainStyledAttributes(int resid, int[] attrs) argument 461 StyleResourceValue style = getStyleByDynamicId(resid); 474 map.put(resid, ta); 487 TypedArray ta = map.get(resid); 491 map.put(resid, ta);
|