/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 | 137 * @param resid The Drawable to use for the checkmark. 144 public void setCheckMarkDrawable(int resid) { argument 145 if (resid != 0 && resid == mCheckMarkResource) { 149 mCheckMarkResource = resid;
|
H A D | CompoundButton.java | 203 * @param resid the resource id of the drawable to use as the button 206 public void setButtonDrawable(int resid) { argument 207 if (resid != 0 && resid == mButtonResource) { 211 mButtonResource = resid;
|
H A D | Switch.java | 252 public void setSwitchTextAppearance(Context context, int resid) { argument 254 context.obtainStyledAttributes(resid,
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | TintButton.java | 59 public void setBackgroundResource(int resid) { argument 60 setBackgroundDrawable(mTintManager.getDrawable(resid));
|
H A D | TintCheckBox.java | 56 public void setButtonDrawable(int resid) { argument 57 setButtonDrawable(mTintManager.getDrawable(resid));
|
H A D | TintCheckedTextView.java | 57 public void setCheckMarkDrawable(int resid) { argument 58 setCheckMarkDrawable(mTintManager.getDrawable(resid));
|
H A D | TintRadioButton.java | 57 public void setButtonDrawable(int resid) { argument 58 setButtonDrawable(mTintManager.getDrawable(resid));
|
H A D | ResourcesWrapper.java | 251 public String getResourceName(int resid) throws NotFoundException { argument 252 return mResources.getResourceName(resid); 256 public String getResourcePackageName(int resid) throws NotFoundException { argument 257 return mResources.getResourcePackageName(resid); 261 public String getResourceTypeName(int resid) throws NotFoundException { argument 262 return mResources.getResourceTypeName(resid); 266 public String getResourceEntryName(int resid) throws NotFoundException { argument 267 return mResources.getResourceEntryName(resid);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AnimatedImageView.java | 63 public void setImageResource(int resid) { argument 64 super.setImageResource(resid);
|
/frameworks/base/core/java/android/view/ |
H A D | ContextThemeWrapper.java | 83 @Override public void setTheme(int resid) { argument 84 mThemeResource = resid; 123 * @param resid The theme style resource being applied to <var>theme</var>. 127 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 128 theme.applyStyle(resid, true);
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | Resources_Theme_Delegate.java | 67 int resid, int[] attrs) 70 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(resid, 92 int resid, TypedValue outValue, 95 boolean found = RenderSessionImpl.getCurrentContext().resolveThemeAttribute(resid, 65 obtainStyledAttributes( Resources thisResources, Theme thisTheme, int resid, int[] attrs) argument 90 resolveAttribute( Resources thisResources, Theme thisTheme, int resid, TypedValue outValue, boolean resolveRefs) argument
|
H A D | BridgeResources.java | 474 public String getResourceEntryName(int resid) throws NotFoundException { argument 479 public String getResourceName(int resid) throws NotFoundException { argument 484 public String getResourceTypeName(int resid) throws NotFoundException { argument
|
/frameworks/base/core/java/android/app/ |
H A D | DatePickerDialog.java | 85 static int resolveDialogTheme(Context context, int resid) { argument 86 if (resid == 0) { 91 return resid;
|
H A D | TimePickerDialog.java | 80 static int resolveDialogTheme(Context context, int resid) { argument 81 if (resid == 0) { 86 return resid;
|
H A D | AlertDialog.java | 139 static int resolveDialogTheme(Context context, int resid) { argument 140 if (resid == THEME_TRADITIONAL) { 142 } else if (resid == THEME_HOLO_DARK) { 144 } else if (resid == THEME_HOLO_LIGHT) { 146 } else if (resid == THEME_DEVICE_DEFAULT_DARK) { 148 } else if (resid == THEME_DEVICE_DEFAULT_LIGHT) { 150 } else if (resid >= 0x01000000) { // start of real resource IDs. 151 return resid;
|
H A D | WallpaperManager.java | 705 * @param resid The bitmap to save. 710 public void setResource(int resid) throws IOException { argument 719 "res:" + resources.getResourceName(resid)); 724 setWallpaper(resources.openRawResource(resid), fos); 826 public boolean hasResourceWallpaper(int resid) { argument 833 String name = "res:" + resources.getResourceName(resid);
|
H A D | ApplicationPackageManager.java | 727 @Override public Drawable getDrawable(String packageName, int resid, argument 729 ResourceName name = new ResourceName(packageName, resid); 743 dr = r.getDrawable(resid); 747 Log.w(TAG, "Getting drawable 0x" + Integer.toHexString(resid) 754 + Integer.toHexString(resid) + " from " + r 768 + Integer.toHexString(resid) + " in package " 1134 public CharSequence getText(String packageName, int resid, argument 1136 ResourceName name = new ResourceName(packageName, resid); 1150 text = r.getText(resid); 1160 + Integer.toHexString(resid) 1167 getXml(String packageName, int resid, ApplicationInfo appInfo) argument [all...] |
/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 | 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 | 91 public void setTheme(int resid) { argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 2658 private void loadStringSetting(SQLiteStatement stmt, String key, int resid) { argument 2659 loadSetting(stmt, key, mContext.getResources().getString(resid)); 2662 private void loadBooleanSetting(SQLiteStatement stmt, String key, int resid) { argument 2664 mContext.getResources().getBoolean(resid) ? "1" : "0"); 2667 private void loadIntegerSetting(SQLiteStatement stmt, String key, int resid) { argument 2669 Integer.toString(mContext.getResources().getInteger(resid))); 2672 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { argument 2674 Float.toString(mContext.getResources().getFraction(resid, base, base)));
|
/frameworks/base/core/java/android/content/ |
H A D | ContextWrapper.java | 110 public void setTheme(int resid) { argument 111 mBase.setTheme(resid);
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceActivity.java | 797 * @param resid The XML resource to load and parse. 800 public void loadHeadersFromResource(int resid, List<Header> target) { argument 803 parser = getResources().getXml(resid);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SwitchCompat.java | 225 public void setSwitchTextAppearance(Context context, int resid) { argument 226 TypedArray appearance = context.obtainStyledAttributes(resid,
|