/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
|
/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/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/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/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/ |
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
|
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 770 jint resid) 778 if (!am->getResources().getResourceName(resid, true, &name)) { 813 jint resid) 821 if (!am->getResources().getResourceName(resid, true, &name)) { 833 jint resid) 841 if (!am->getResources().getResourceName(resid, true, &name)) { 857 jint resid) 865 if (!am->getResources().getResourceName(resid, true, &name)) { 1263 uint32_t resid = 0; local 1267 &resid, 769 android_content_AssetManager_getResourceName(JNIEnv* env, jobject clazz, jint resid) argument 812 android_content_AssetManager_getResourcePackageName(JNIEnv* env, jobject clazz, jint resid) argument 832 android_content_AssetManager_getResourceTypeName(JNIEnv* env, jobject clazz, jint resid) argument 856 android_content_AssetManager_getResourceEntryName(JNIEnv* env, jobject clazz, jint resid) argument 1512 uint32_t resid = 0; local 1686 uint32_t resid = 0; local 1800 uint32_t resid = 0; local [all...] |
/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/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/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/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/core/java/android/widget/ |
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/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);
|
/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;
|