Searched defs:resid (Results 1 - 25 of 28) 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.java100 * @param resid The Drawable to use for the checkmark.
102 public void setCheckMarkDrawable(int resid) { argument
103 if (resid != 0 && resid == mCheckMarkResource) {
107 mCheckMarkResource = resid;
H A DCompoundButton.java172 * @param resid the resource id of the drawable to use as the background
174 public void setButtonDrawable(int resid) { argument
175 if (resid != 0 && resid == mButtonResource) {
179 mButtonResource = resid;
/frameworks/base/services/java/com/android/server/status/
H A DAnimatedImageView.java62 public void setImageResource(int resid) { argument
63 super.setImageResource(resid);
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java48 @Override public void setTheme(int resid) { argument
49 mThemeResource = resid;
83 * @param resid The theme style resource being applied to <var>theme</var>.
87 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument
88 theme.applyStyle(resid, true);
H A DWindow.java830 * @param resid The resource identifier of a drawable resource which will be
833 public void setBackgroundDrawableResource(int resid) argument
835 setBackgroundDrawable(mContext.getResources().getDrawable(resid));
/frameworks/base/core/tests/coretests/src/android/app/
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/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java1185 private void loadStringSetting(SQLiteStatement stmt, String key, int resid) { argument
1186 loadSetting(stmt, key, mContext.getResources().getString(resid));
1189 private void loadBooleanSetting(SQLiteStatement stmt, String key, int resid) { argument
1191 mContext.getResources().getBoolean(resid) ? "1" : "0");
1194 private void loadIntegerSetting(SQLiteStatement stmt, String key, int resid) { argument
1196 Integer.toString(mContext.getResources().getInteger(resid)));
1199 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { argument
1201 Float.toString(mContext.getResources().getFraction(resid, base, base)));
/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.java85 public void setTheme(int resid) { argument
H A DMockPackageManager.java241 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { argument
272 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { argument
277 public XmlResourceParser getXml(String packageName, int resid, argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeResources.java333 public String getResourceEntryName(int resid) throws NotFoundException { argument
338 public String getResourceName(int resid) throws NotFoundException { argument
343 public String getResourceTypeName(int resid) throws NotFoundException { argument
H A DBridgeContext.java196 public final TypedArray obtainStyledAttributes(int resid, int[] attrs) argument
199 IStyleResourceValue style = getStyleByDynamicId(resid);
212 map.put(resid, ta);
225 TypedArray ta = map.get(resid);
229 map.put(resid, ta);
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java439 * @param resid The bitmap to save.
444 public void setResource(int resid) throws IOException { argument
449 "res:" + resources.getResourceName(resid));
454 setWallpaper(resources.openRawResource(resid), fos);
H A DActivity.java2770 protected void onApplyThemeResource(Resources.Theme theme, int resid, argument
2773 super.onApplyThemeResource(theme, resid, first);
2780 theme.applyStyle(resid, false);
/frameworks/base/core/java/android/content/
H A DContextWrapper.java104 public void setTheme(int resid) { argument
105 mBase.setTheme(resid);
H A DContext.java204 * @param resid The style resource describing the theme.
206 public abstract void setTheme(int resid); argument
233 int resid, int[] attrs) throws Resources.NotFoundException {
234 return getTheme().obtainStyledAttributes(resid, attrs);
232 obtainStyledAttributes( int resid, int[] attrs) argument
/frameworks/base/core/java/android/content/res/
H A DResources.java944 * specified by <var>resid</var> will be retrieved from this Theme's
953 * @param resid The resource ID of a style resource from which to
959 public void applyStyle(int resid, boolean force) { argument
960 AssetManager.applyThemeStyle(mTheme, resid, force);
1006 * resource <var>resid</var> which are listed in <var>attrs</var>.
1011 * @param resid The desired style resource.
1024 public TypedArray obtainStyledAttributes(int resid, int[] attrs) argument
1030 AssetManager.applyStyle(mTheme, 0, resid, 0, attrs,
1164 * @param resid The resource identifier of the desired theme
1176 public boolean resolveAttribute(int resid, TypedValu argument
1439 getResourceName(int resid) argument
1458 getResourcePackageName(int resid) argument
1477 getResourceTypeName(int resid) argument
1496 getResourceEntryName(int resid) argument
[all...]
H A DAssetManager.java662 /*package*/ native final String getResourceName(int resid); argument
663 /*package*/ native final String getResourcePackageName(int resid); argument
664 /*package*/ native final String getResourceTypeName(int resid); argument
665 /*package*/ native final String getResourceEntryName(int resid); argument
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java635 * @param resid the raw resource id (<var>R.raw.&lt;something></var>) for
639 public static MediaPlayer create(Context context, int resid) { argument
641 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resid);
/frameworks/base/core/java/android/content/pm/
H A DPackageManager.java1509 * @param resid The resource identifier of the desired image. Can not be 0.
1518 public abstract Drawable getDrawable(String packageName, int resid, argument
1607 * @param resid The resource identifier of the desired text. Can not be 0.
1616 public abstract CharSequence getText(String packageName, int resid, argument
1625 * @param resid The resource identifier of the desired xml. Can not be 0.
1635 public abstract XmlResourceParser getXml(String packageName, int resid, argument
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp614 jint resid)
622 if (!am->getResources().getResourceName(resid, &name)) {
649 jint resid)
657 if (!am->getResources().getResourceName(resid, &name)) {
669 jint resid)
677 if (!am->getResources().getResourceName(resid, &name)) {
689 jint resid)
697 if (!am->getResources().getResourceName(resid, &name)) {
1082 uint32_t resid = 0; local
1086 &resid,
613 android_content_AssetManager_getResourceName(JNIEnv* env, jobject clazz, jint resid) argument
648 android_content_AssetManager_getResourcePackageName(JNIEnv* env, jobject clazz, jint resid) argument
668 android_content_AssetManager_getResourceTypeName(JNIEnv* env, jobject clazz, jint resid) argument
688 android_content_AssetManager_getResourceEntryName(JNIEnv* env, jobject clazz, jint resid) argument
1235 uint32_t resid = 0; local
1348 uint32_t resid = 0; local
[all...]
/frameworks/policies/base/mid/com/android/internal/policy/impl/
H A DMidWindow.java857 if (st.resid != resId) {
858 st.resid = resId;
873 st.resid = 0;
886 st.resid = 0;
2392 int resid; field in class:MidWindow.DrawableFeatureState
/frameworks/policies/base/phone/com/android/internal/policy/impl/
H A DPhoneWindow.java875 if (st.resid != resId) {
876 st.resid = resId;
891 st.resid = 0;
904 st.resid = 0;
2516 int resid; field in class:PhoneWindow.DrawableFeatureState
H A DPhoneWindowManager.java2164 static long[] getLongIntArray(Resources r, int resid) { argument
2165 int[] ar = r.getIntArray(resid);

Completed in 416 milliseconds

12