/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
H A D | ContextThemeWrapper.java | 48 public void setTheme(int resid) { argument 49 if (mThemeResource != resid) { 50 mThemeResource = resid; 91 * @param resid The theme style resource being applied to <var>theme</var>. 95 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 96 theme.applyStyle(resid, true);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AnimatedImageView.java | 33 // the same as the previous one. If this is a resid, we track that. If it's a drawable, we 75 public void setImageResource(int resid) { argument 76 if (mDrawableId == resid) return; 78 mDrawableId = resid; 79 super.setImageResource(resid);
|
/frameworks/base/core/java/android/view/ |
H A D | ContextThemeWrapper.java | 91 public void setTheme(int resid) { argument 92 if (mThemeResource != resid) { 93 mThemeResource = resid; 133 * @param resid The theme style resource being applied to <var>theme</var>. 137 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 138 theme.applyStyle(resid, true);
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageSwitcher.java | 36 public void setImageResource(@DrawableRes int resid) argument 39 image.setImageResource(resid);
|
/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/support/v7/appcompat/src/android/support/v7/internal/widget/ |
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/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 | 380 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { argument 475 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { argument 480 public XmlResourceParser getXml(String packageName, int resid, argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | Resources_Theme_Delegate.java | 68 int resid, int[] attrs) 71 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(resid, 93 int resid, TypedValue outValue, 96 boolean found = RenderSessionImpl.getCurrentContext().resolveThemeAttribute(resid, 66 obtainStyledAttributes( Resources thisResources, Theme thisTheme, int resid, int[] attrs) argument 91 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 | WallpaperManager.java | 720 * @param resid The bitmap to save. 725 public void setResource(@RawRes int resid) throws IOException { argument 734 "res:" + resources.getResourceName(resid), mContext.getOpPackageName()); 739 setWallpaper(resources.openRawResource(resid), fos); 843 public boolean hasResourceWallpaper(@RawRes int resid) { argument 850 String name = "res:" + resources.getResourceName(resid);
|
/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 | 1425 * specified by <var>resid</var> will be retrieved from this Theme's 1492 * resource <var>resid</var> which are listed in <var>attrs</var>. 1497 * @param resid The desired style resource. 1510 public TypedArray obtainStyledAttributes(@StyleRes int resid, @StyleableRes int[] attrs) argument 1541 AssetManager.applyStyle(mTheme, 0, resid, 0, attrs, array.mData, array.mIndices); 1676 * @param resid The resource identifier of the desired theme 1688 public boolean resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) { argument 1689 boolean got = mAssets.getThemeValue(mTheme, resid, outValue, resolveRefs); 1692 "resolveAttribute #" + Integer.toHexString(resid) 2214 public static boolean resourceHasPackage(@AnyRes int resid) { argument 2232 getResourceName(@nyRes int resid) argument 2251 getResourcePackageName(@nyRes int resid) argument 2270 getResourceTypeName(@nyRes int resid) argument 2289 getResourceEntryName(@nyRes int resid) argument [all...] |
H A D | AssetManager.java | 712 /*package*/ native final String getResourceName(int resid); argument 713 /*package*/ native final String getResourcePackageName(int resid); argument 714 /*package*/ native final String getResourceTypeName(int resid); argument 715 /*package*/ native final String getResourceEntryName(int resid); argument
|
H A D | TypedArray.java | 812 final int resid = data[index+AssetManager.STYLE_RESOURCE_ID]; 813 if (resid != 0) { 814 return resid;
|
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 695 jint resid) 703 if (!am->getResources().getResourceName(resid, true, &name)) { 738 jint resid) 746 if (!am->getResources().getResourceName(resid, true, &name)) { 758 jint resid) 766 if (!am->getResources().getResourceName(resid, true, &name)) { 782 jint resid) 790 if (!am->getResources().getResourceName(resid, true, &name)) { 1188 uint32_t resid = 0; local 1192 &resid, 694 android_content_AssetManager_getResourceName(JNIEnv* env, jobject clazz, jint resid) argument 737 android_content_AssetManager_getResourcePackageName(JNIEnv* env, jobject clazz, jint resid) argument 757 android_content_AssetManager_getResourceTypeName(JNIEnv* env, jobject clazz, jint resid) argument 781 android_content_AssetManager_getResourceEntryName(JNIEnv* env, jobject clazz, jint resid) argument 1437 uint32_t resid = 0; local 1611 uint32_t resid = 0; local 1725 uint32_t resid = 0; local [all...] |
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 238 #define Res_VALIDID(resid) (resid != 0) 239 #define Res_CHECKID(resid) ((resid&0xFFFF0000) != 0) 246 #define Res_INTERNALID(resid) ((resid&0xFFFF0000) != 0 && (resid&0xFF0000) == 0)
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 321 public boolean resolveThemeAttribute(int resid, TypedValue outValue, boolean resolveRefs) { argument 322 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resid); 325 resourceInfo = mLayoutlibCallback.resolveResourceId(resid); 605 public final BridgeTypedArray obtainStyledAttributes(int resid, int[] attrs) argument 609 if (resid != 0) { 610 style = getStyleByDynamicId(resid); 614 ResourceReference ref = resolveId(resid); 626 // attrs (int[]) -> context's current themes (List<StyleRV>) -> resid (int) -> typed array. 652 BridgeTypedArray ta = map3.get(resid); 656 map3.put(resid, t [all...] |
H A D | BridgePackageManager.java | 351 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { argument 442 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { argument 447 public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) { argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AlertDialog.java | 103 static int resolveDialogTheme(Context context, int resid) { argument 104 if (resid >= 0x01000000) { // start of real resource IDs. 105 return resid;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DessertCaseView.java | 173 for (int resid : list) { 175 loaded = BitmapFactory.decodeResource(res, resid, opts); 179 mDrawables.append(resid, d);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 2731 private void loadStringSetting(SQLiteStatement stmt, String key, int resid) { argument 2732 loadSetting(stmt, key, mContext.getResources().getString(resid)); 2735 private void loadBooleanSetting(SQLiteStatement stmt, String key, int resid) { argument 2737 mContext.getResources().getBoolean(resid) ? "1" : "0"); 2740 private void loadIntegerSetting(SQLiteStatement stmt, String key, int resid) { argument 2742 Integer.toString(mContext.getResources().getInteger(resid))); 2745 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { argument 2747 Float.toString(mContext.getResources().getFraction(resid, base, base)));
|
/frameworks/base/core/java/android/content/ |
H A D | Context.java | 484 * @param resid The style resource describing the theme. 486 public abstract void setTheme(@StyleRes int resid); argument 519 @StyleRes int resid, @StyleableRes int[] attrs) throws Resources.NotFoundException { 520 return getTheme().obtainStyledAttributes(resid, attrs); 518 obtainStyledAttributes( @tyleRes int resid, @StyleableRes int[] attrs) argument
|