Searched defs:resid (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/base/core/java/android/widget/
H A DImageSwitcher.java38 public void setImageResource(int resid) argument
41 image.setImageResource(resid);
H A DCheckedTextView.java137 * @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 DCompoundButton.java203 * @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 DSwitch.java252 public void setSwitchTextAppearance(Context context, int resid) { argument
254 context.obtainStyledAttributes(resid,
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DTintButton.java59 public void setBackgroundResource(int resid) { argument
60 setBackgroundDrawable(mTintManager.getDrawable(resid));
H A DTintCheckBox.java56 public void setButtonDrawable(int resid) { argument
57 setButtonDrawable(mTintManager.getDrawable(resid));
H A DTintCheckedTextView.java57 public void setCheckMarkDrawable(int resid) { argument
58 setCheckMarkDrawable(mTintManager.getDrawable(resid));
H A DTintRadioButton.java57 public void setButtonDrawable(int resid) { argument
58 setButtonDrawable(mTintManager.getDrawable(resid));
H A DResourcesWrapper.java251 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 DAnimatedImageView.java63 public void setImageResource(int resid) { argument
64 super.setImageResource(resid);
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java83 @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 DResources_Theme_Delegate.java67 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 DBridgeResources.java474 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 DDatePickerDialog.java85 static int resolveDialogTheme(Context context, int resid) { argument
86 if (resid == 0) {
91 return resid;
H A DTimePickerDialog.java80 static int resolveDialogTheme(Context context, int resid) { argument
81 if (resid == 0) {
86 return resid;
H A DAlertDialog.java139 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 DWallpaperManager.java705 * @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 DApplicationPackageManager.java727 @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 DSearchablesTest.java364 * @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 DMockResources.java204 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 DMockContext.java91 public void setTheme(int resid) { argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java2658 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 DContextWrapper.java110 public void setTheme(int resid) { argument
111 mBase.setTheme(resid);
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java797 * @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 DSwitchCompat.java225 public void setSwitchTextAppearance(Context context, int resid) { argument
226 TypedArray appearance = context.obtainStyledAttributes(resid,

Completed in 2745 milliseconds

12