/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockPackageManager.java | 450 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { argument 559 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { argument 564 public XmlResourceParser getXml(String packageName, int resid, argument
|
H A D | MockContext.java | 92 public void setTheme(int resid) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgePackageManager.java | 423 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { argument 525 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { argument 530 public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) { 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/base/core/java/android/content/ |
H A D | Context.java | 551 * @param resid The style resource describing the theme. 553 public abstract void setTheme(@StyleRes int resid); argument 586 @StyleRes int resid, @StyleableRes int[] attrs) throws Resources.NotFoundException { 587 return getTheme().obtainStyledAttributes(resid, attrs); 585 obtainStyledAttributes( @tyleRes int resid, @StyleableRes int[] attrs) argument
|
H A D | ContextWrapper.java | 110 public void setTheme(int resid) { argument 111 mBase.setTheme(resid);
|
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 870 final int resid = data[index+AssetManager.STYLE_RESOURCE_ID]; 871 if (resid != 0) { 872 return resid;
|
/frameworks/base/core/java/android/app/ |
H A D | ApplicationPackageManager.java | 1492 public CharSequence getText(String packageName, @StringRes int resid, argument 1494 ResourceName name = new ResourceName(packageName, resid); 1508 text = r.getText(resid); 1518 + Integer.toHexString(resid) + " in package " 1525 public XmlResourceParser getXml(String packageName, @XmlRes int resid, argument 1536 return r.getXml(resid); 1541 + Integer.toHexString(resid) + " in package "
|
H A D | Activity.java | 4008 public void setTheme(int resid) { argument 4009 super.setTheme(resid); 4010 mWindow.setTheme(resid); 4014 protected void onApplyThemeResource(Resources.Theme theme, @StyleRes int resid, argument 4017 super.onApplyThemeResource(theme, resid, first); 4024 theme.applyStyle(resid, false);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageManager.java | 4262 * @param resid The resource identifier of the desired image. Cannot be 0. 4271 public abstract Drawable getDrawable(String packageName, @DrawableRes int resid, argument 4605 * @param resid The resource identifier of the desired text. Cannot be 0. 4614 public abstract CharSequence getText(String packageName, @StringRes int resid, argument 4623 * @param resid The resource identifier of the desired xml. Cannot be 0. 4633 public abstract XmlResourceParser getXml(String packageName, @XmlRes int resid, argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 908 * @param resid the raw resource id (<var>R.raw.<something></var>) for 912 public static MediaPlayer create(Context context, int resid) { argument 914 return create(context, resid, null, s > 0 ? s : 0); 921 * @param resid the raw resource id (<var>R.raw.<something></var>) for 928 public static MediaPlayer create(Context context, int resid, argument 931 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resid);
|
/frameworks/base/core/java/android/widget/ |
H A D | Switch.java | 300 public void setSwitchTextAppearance(Context context, @StyleRes int resid) { argument 302 context.obtainStyledAttributes(resid,
|
H A D | TextView.java | 4549 public final void setText(@StringRes int resid) { argument 4550 setText(getContext().getResources().getText(resid)); 4553 public final void setText(@StringRes int resid, BufferType type) { argument 4554 setText(getContext().getResources().getText(resid), type); 4589 public final void setHint(@StringRes int resid) { argument 4590 setHint(getContext().getResources().getText(resid));
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 1470 if (st.resid != resId) { 1471 st.resid = resId; 1486 st.resid = 0; 1499 st.resid = 0; 3315 int resid; field in class:PhoneWindow.DrawableFeatureState 3812 public void setTheme(int resid) { argument 3813 mTheme = resid; 3817 context.setTheme(resid);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SwitchCompat.java | 288 public void setSwitchTextAppearance(Context context, int resid) { argument 289 TypedArray appearance = context.obtainStyledAttributes(resid, R.styleable.TextAppearance);
|
/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/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/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDelegateImplV7.java | 2107 public void setBackgroundResource(int resid) { argument 2108 setBackgroundDrawable(AppCompatDrawableManager.get().getDrawable(getContext(), resid));
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 18089 * @param resid The identifier of the resource. 18094 public void setBackgroundResource(@DrawableRes int resid) { argument 18095 if (resid != 0 && resid == mBackgroundResource) { 18100 if (resid != 0) { 18101 d = mContext.getDrawable(resid); 18105 mBackgroundResource = resid;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 869 static long[] getLongArray(Resources r, int resid, int maxlen, long[] def) { argument 870 int[] ar = r.getIntArray(resid);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PhoneWindowManager.java | 6695 static long[] getLongIntArray(Resources r, int resid) { argument 6696 int[] ar = r.getIntArray(resid);
|