[go: nahoru, domu]

Searched defs:resid (Results 26 - 40 of 40) sorted by relevance

12

/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java450 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 DBridgePackageManager.java423 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 DAppCompatDelegateImplV7.java2107 public void setBackgroundResource(int resid) { argument
2108 setBackgroundDrawable(AppCompatDrawableManager.get().getDrawable(getContext(), resid));
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSwitchCompat.java288 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 DApplicationPackageManager.java1492 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 DActivity.java4008 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 DContext.java551 * @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 Dandroid_util_AssetManager.cpp770 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 DNotificationManagerService.java869 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 DPhoneWindow.java1470 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 DMediaPlayer.java908 * @param resid the raw resource id (<var>R.raw.&lt;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.&lt;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 DPackageManager.java4262 * @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 DTextView.java4549 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 DPhoneWindowManager.java6695 static long[] getLongIntArray(Resources r, int resid) { argument
6696 int[] ar = r.getIntArray(resid);
/frameworks/base/core/java/android/view/
H A DView.java18089 * @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;

Completed in 3435 milliseconds

12