/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | Resources_Theme_Delegate.java | 46 int resid, int[] attrs) 48 return RenderSessionImpl.getCurrentContext().obtainStyledAttributes(resid, attrs); 62 int resid, TypedValue outValue, 65 resid, outValue, resolveRefs); 44 obtainStyledAttributes( Resources thisResources, Theme thisTheme, int resid, int[] attrs) argument 60 resolveAttribute( Resources thisResources, Theme thisTheme, int resid, TypedValue outValue, boolean resolveRefs) argument
|
H A D | BridgeResources.java | 468 public String getResourceEntryName(int resid) throws NotFoundException { argument 473 public String getResourceName(int resid) throws NotFoundException { argument 478 public String getResourceTypeName(int resid) throws NotFoundException { argument
|
/frameworks/base/core/java/android/view/ |
H A D | ContextThemeWrapper.java | 87 @Override public void setTheme(int resid) { argument 88 mThemeResource = resid; 127 * @param resid The theme style resource being applied to <var>theme</var>. 131 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 132 theme.applyStyle(resid, true);
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | SmileyParser.java | 71 int resid = mRes.getSmileyRes(token.getRawText()); 72 if (resid != -1) { 73 builder.setSpan(new ImageSpan(context, resid),
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | AppNotRespondingDialog.java | 52 int resid; 60 resid = com.android.internal.R.string.anr_activity_application; 64 resid = com.android.internal.R.string.anr_application_process; 69 resid = com.android.internal.R.string.anr_activity_process; 72 resid = com.android.internal.R.string.anr_process; 77 ? res.getString(resid, name1.toString(), name2.toString()) 78 : res.getString(resid, name1.toString()));
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageSwitcher.java | 38 public void setImageResource(int resid) argument 41 image.setImageResource(resid);
|
H A D | CheckedTextView.java | 105 * @param resid The Drawable to use for the checkmark. 112 public void setCheckMarkDrawable(int resid) { argument 113 if (resid != 0 && resid == mCheckMarkResource) { 117 mCheckMarkResource = resid;
|
H A D | CompoundButton.java | 174 * @param resid the resource id of the drawable to use as the background 176 public void setButtonDrawable(int resid) { argument 177 if (resid != 0 && resid == mButtonResource) { 181 mButtonResource = resid;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AnimatedImageView.java | 64 public void setImageResource(int resid) { argument 65 super.setImageResource(resid);
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockResources.java | 204 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 D | MockPackageManager.java | 292 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { argument 343 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { argument 348 public XmlResourceParser getXml(String packageName, int resid, argument
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageItemInfo.java | 214 int resid = metaData.getInt(name); 215 if (resid != 0) { 216 return pm.getXml(packageName, resid, getApplicationInfo());
|
H A D | PackageManager.java | 2084 * @param resid The resource identifier of the desired image. Can not be 0. 2093 public abstract Drawable getDrawable(String packageName, int resid, argument 2255 * @param resid The resource identifier of the desired text. Can not be 0. 2264 public abstract CharSequence getText(String packageName, int resid, argument 2273 * @param resid The resource identifier of the desired xml. Can not be 0. 2283 public abstract XmlResourceParser getXml(String packageName, int resid, argument
|
/frameworks/base/core/java/android/app/ |
H A D | AlertDialog.java | 128 static int resolveDialogTheme(Context context, int resid) { argument 129 if (resid == THEME_TRADITIONAL) { 131 } else if (resid == THEME_HOLO_DARK) { 133 } else if (resid == THEME_HOLO_LIGHT) { 135 } else if (resid == THEME_DEVICE_DEFAULT_DARK) { 137 } else if (resid == THEME_DEVICE_DEFAULT_LIGHT) { 139 } else if (resid >= 0x01000000) { // start of real resource IDs. 140 return resid;
|
H A D | ApplicationPackageManager.java | 621 @Override public Drawable getDrawable(String packageName, int resid, argument 623 ResourceName name = new ResourceName(packageName, resid); 637 dr = r.getDrawable(resid); 641 Log.w(TAG, "Getting drawable 0x" + Integer.toHexString(resid) 648 + Integer.toHexString(resid) + " from " + r 662 + Integer.toHexString(resid) + " in package " 955 public CharSequence getText(String packageName, int resid, argument 957 ResourceName name = new ResourceName(packageName, resid); 971 text = r.getText(resid); 981 + Integer.toHexString(resid) 988 getXml(String packageName, int resid, ApplicationInfo appInfo) argument [all...] |
H A D | WallpaperManager.java | 476 * @param resid The bitmap to save. 481 public void setResource(int resid) throws IOException { argument 490 "res:" + resources.getResourceName(resid)); 495 setWallpaper(resources.openRawResource(resid), fos); 597 public boolean hasResourceWallpaper(int resid) { argument 604 String name = "res:" + resources.getResourceName(resid);
|
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 1088 * specified by <var>resid</var> will be retrieved from this Theme's 1097 * @param resid The resource ID of a style resource from which to 1103 public void applyStyle(int resid, boolean force) { argument 1104 AssetManager.applyThemeStyle(mTheme, resid, force); 1150 * resource <var>resid</var> which are listed in <var>attrs</var>. 1155 * @param resid The desired style resource. 1168 public TypedArray obtainStyledAttributes(int resid, int[] attrs) argument 1174 AssetManager.applyStyle(mTheme, 0, resid, 0, attrs, 1308 * @param resid The resource identifier of the desired theme 1320 public boolean resolveAttribute(int resid, TypedValu argument 1656 getResourceName(int resid) argument 1675 getResourcePackageName(int resid) argument 1694 getResourceTypeName(int resid) argument 1713 getResourceEntryName(int resid) argument [all...] |
H A D | AssetManager.java | 665 /*package*/ native final String getResourceName(int resid); argument 666 /*package*/ native final String getResourcePackageName(int resid); argument 667 /*package*/ native final String getResourceTypeName(int resid); argument 668 /*package*/ native final String getResourceEntryName(int resid); argument
|
H A D | TypedArray.java | 571 final int resid = data[index+AssetManager.STYLE_RESOURCE_ID]; 572 if (resid != 0) { 573 return resid;
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | SearchablesTest.java | 364 * @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/core/jni/ |
H A D | android_util_AssetManager.cpp | 588 jint resid) 596 if (!am->getResources().getResourceName(resid, &name)) { 623 jint resid) 631 if (!am->getResources().getResourceName(resid, &name)) { 643 jint resid) 651 if (!am->getResources().getResourceName(resid, &name)) { 663 jint resid) 671 if (!am->getResources().getResourceName(resid, &name)) { 1043 uint32_t resid = 0; local 1047 &resid, 587 android_content_AssetManager_getResourceName(JNIEnv* env, jobject clazz, jint resid) argument 622 android_content_AssetManager_getResourcePackageName(JNIEnv* env, jobject clazz, jint resid) argument 642 android_content_AssetManager_getResourceTypeName(JNIEnv* env, jobject clazz, jint resid) argument 662 android_content_AssetManager_getResourceEntryName(JNIEnv* env, jobject clazz, jint resid) argument 1203 uint32_t resid = 0; local 1316 uint32_t resid = 0; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 250 public boolean resolveThemeAttribute(int resid, TypedValue outValue, boolean resolveRefs) { argument 251 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resid); 254 resourceInfo = mProjectCallback.resolveResourceId(resid); 458 public final TypedArray obtainStyledAttributes(int resid, int[] attrs) argument 461 StyleResourceValue style = getStyleByDynamicId(resid); 474 map.put(resid, ta); 487 TypedArray ta = map.get(resid); 491 map.put(resid, ta);
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 206 #define Res_VALIDID(resid) (resid != 0) 207 #define Res_CHECKID(resid) ((resid&0xFFFF0000) != 0) 214 #define Res_INTERNALID(resid) ((resid&0xFFFF0000) != 0 && (resid&0xFF0000) == 0)
|
/frameworks/base/core/java/android/content/ |
H A D | Context.java | 349 * @param resid The style resource describing the theme. 351 public abstract void setTheme(int resid); argument 384 int resid, int[] attrs) throws Resources.NotFoundException { 385 return getTheme().obtainStyledAttributes(resid, attrs); 383 obtainStyledAttributes( int resid, int[] attrs) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | BrowserFrame.java | 978 int resid; 981 resid = com.android.internal.R.raw.nodomain; 985 resid = com.android.internal.R.raw.loaderror; 990 resid = com.android.internal.R.drawable.btn_check_off; 1014 context.getResources().getValue(resid, value, true);
|