/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | TintButton.java | 59 public void setBackgroundResource(int resid) { argument 60 setBackgroundDrawable(mTintManager.getDrawable(resid));
|
H A D | TintCheckBox.java | 56 public void setButtonDrawable(int resid) { argument 57 setButtonDrawable(mTintManager.getDrawable(resid));
|
H A D | TintCheckedTextView.java | 57 public void setCheckMarkDrawable(int resid) { argument 58 setCheckMarkDrawable(mTintManager.getDrawable(resid));
|
H A D | TintRadioButton.java | 57 public void setButtonDrawable(int resid) { argument 58 setButtonDrawable(mTintManager.getDrawable(resid));
|
H A D | ResourcesWrapper.java | 251 public String getResourceName(int resid) throws NotFoundException { argument 252 return mResources.getResourceName(resid); 256 public String getResourcePackageName(int resid) throws NotFoundException { argument 257 return mResources.getResourcePackageName(resid); 261 public String getResourceTypeName(int resid) throws NotFoundException { argument 262 return mResources.getResourceTypeName(resid); 266 public String getResourceEntryName(int resid) throws NotFoundException { argument 267 return mResources.getResourceEntryName(resid);
|
/frameworks/base/core/java/android/view/ |
H A D | ContextThemeWrapper.java | 83 @Override public void setTheme(int resid) { argument 84 mThemeResource = resid; 123 * @param resid The theme style resource being applied to <var>theme</var>. 127 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 128 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/core/java/com/android/server/am/ |
H A D | AppNotRespondingDialog.java | 50 int resid; 58 resid = com.android.internal.R.string.anr_activity_application; 62 resid = com.android.internal.R.string.anr_application_process; 67 resid = com.android.internal.R.string.anr_activity_process; 70 resid = com.android.internal.R.string.anr_process; 75 ? res.getString(resid, name1.toString(), name2.toString()) 76 : 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 | 137 * @param resid The Drawable to use for the checkmark. 144 public void setCheckMarkDrawable(int resid) { argument 145 if (resid != 0 && resid == mCheckMarkResource) { 149 mCheckMarkResource = resid;
|
H A D | CompoundButton.java | 203 * @param resid the resource id of the drawable to use as the button 206 public void setButtonDrawable(int resid) { argument 207 if (resid != 0 && resid == mButtonResource) { 211 mButtonResource = resid;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AnimatedImageView.java | 63 public void setImageResource(int resid) { argument 64 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
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | Resources_Theme_Delegate.java | 67 int resid, int[] attrs) 70 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(resid, 92 int resid, TypedValue outValue, 95 boolean found = RenderSessionImpl.getCurrentContext().resolveThemeAttribute(resid, 65 obtainStyledAttributes( Resources thisResources, Theme thisTheme, int resid, int[] attrs) argument 90 resolveAttribute( Resources thisResources, Theme thisTheme, int resid, TypedValue outValue, boolean resolveRefs) argument
|
/frameworks/base/core/java/android/app/ |
H A D | DatePickerDialog.java | 85 static int resolveDialogTheme(Context context, int resid) { argument 86 if (resid == 0) { 91 return resid;
|
H A D | TimePickerDialog.java | 80 static int resolveDialogTheme(Context context, int resid) { argument 81 if (resid == 0) { 86 return resid;
|
H A D | AlertDialog.java | 139 static int resolveDialogTheme(Context context, int resid) { argument 140 if (resid == THEME_TRADITIONAL) { 142 } else if (resid == THEME_HOLO_DARK) { 144 } else if (resid == THEME_HOLO_LIGHT) { 146 } else if (resid == THEME_DEVICE_DEFAULT_DARK) { 148 } else if (resid == THEME_DEVICE_DEFAULT_LIGHT) { 150 } else if (resid >= 0x01000000) { // start of real resource IDs. 151 return resid;
|
H A D | WallpaperManager.java | 705 * @param resid The bitmap to save. 710 public void setResource(int resid) throws IOException { argument 719 "res:" + resources.getResourceName(resid)); 724 setWallpaper(resources.openRawResource(resid), fos); 826 public boolean hasResourceWallpaper(int resid) { argument 833 String name = "res:" + resources.getResourceName(resid);
|
H A D | ApplicationPackageManager.java | 727 @Override public Drawable getDrawable(String packageName, int resid, argument 729 ResourceName name = new ResourceName(packageName, resid); 743 dr = r.getDrawable(resid); 747 Log.w(TAG, "Getting drawable 0x" + Integer.toHexString(resid) 754 + Integer.toHexString(resid) + " from " + r 768 + Integer.toHexString(resid) + " in package " 1134 public CharSequence getText(String packageName, int resid, argument 1136 ResourceName name = new ResourceName(packageName, resid); 1150 text = r.getText(resid); 1160 + Integer.toHexString(resid) 1167 getXml(String packageName, int resid, ApplicationInfo appInfo) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageItemInfo.java | 277 int resid = metaData.getInt(name); 278 if (resid != 0) { 279 return pm.getXml(packageName, resid, getApplicationInfo());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
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/java/android/content/res/ |
H A D | Resources.java | 1340 * specified by <var>resid</var> will be retrieved from this Theme's 1407 * resource <var>resid</var> which are listed in <var>attrs</var>. 1412 * @param resid The desired style resource. 1425 public TypedArray obtainStyledAttributes(int resid, int[] attrs) throws NotFoundException { argument 1455 AssetManager.applyStyle(mTheme, 0, resid, 0, attrs, array.mData, array.mIndices); 1590 * @param resid The resource identifier of the desired theme 1602 public boolean resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) { argument 1603 boolean got = mAssets.getThemeValue(mTheme, resid, outValue, resolveRefs); 1606 "resolveAttribute #" + Integer.toHexString(resid) 2049 public static boolean resourceHasPackage(int resid) { argument 2067 getResourceName(int resid) argument 2086 getResourcePackageName(int resid) argument 2105 getResourceTypeName(int resid) argument 2124 getResourceEntryName(int resid) argument [all...] |
H A D | AssetManager.java | 698 /*package*/ native final String getResourceName(int resid); argument 699 /*package*/ native final String getResourcePackageName(int resid); argument 700 /*package*/ native final String getResourceTypeName(int resid); argument 701 /*package*/ native final String getResourceEntryName(int resid); argument
|
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 677 jint resid) 685 if (!am->getResources().getResourceName(resid, true, &name)) { 720 jint resid) 728 if (!am->getResources().getResourceName(resid, true, &name)) { 740 jint resid) 748 if (!am->getResources().getResourceName(resid, true, &name)) { 764 jint resid) 772 if (!am->getResources().getResourceName(resid, true, &name)) { 1147 uint32_t resid = 0; local 1151 &resid, 676 android_content_AssetManager_getResourceName(JNIEnv* env, jobject clazz, jint resid) argument 719 android_content_AssetManager_getResourcePackageName(JNIEnv* env, jobject clazz, jint resid) argument 739 android_content_AssetManager_getResourceTypeName(JNIEnv* env, jobject clazz, jint resid) argument 763 android_content_AssetManager_getResourceEntryName(JNIEnv* env, jobject clazz, jint resid) argument 1381 uint32_t resid = 0; local 1546 uint32_t resid = 0; local 1660 uint32_t resid = 0; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 274 public boolean resolveThemeAttribute(int resid, TypedValue outValue, boolean resolveRefs) { argument 275 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resid); 278 resourceInfo = mProjectCallback.resolveResourceId(resid); 502 public final BridgeTypedArray obtainStyledAttributes(int resid, int[] attrs) argument 506 if (resid != 0) { 507 style = getStyleByDynamicId(resid); 511 ResourceReference ref = resolveId(resid); 529 map.put(resid, ta); 542 BridgeTypedArray ta = map.get(resid); 546 map.put(resid, t [all...] |