/frameworks/support/v4/java/android/support/v4/view/ |
H A D | AsyncLayoutInflater.java | 81 public void inflate(@LayoutRes int resid, @Nullable ViewGroup parent, argument 88 request.resid = resid; 100 request.resid, request.parent, false); 103 request.view, request.resid, request.parent); 110 public void onInflateFinished(View view, int resid, ViewGroup parent); argument 116 int resid; field in class:AsyncLayoutInflater.InflateRequest 185 request.resid, request.parent, false); 208 obj.resid = 0;
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AlertDialog.java | 106 private static int resolveDialogTheme(@NonNull Context context, @StyleRes int resid) { argument 107 if (resid >= 0x01000000) { // start of real resource IDs. 108 return resid;
|
H A D | AppCompatActivity.java | 89 public void setTheme(@StyleRes final int resid) { argument 90 super.setTheme(resid); 92 mThemeId = resid;
|
H A D | AppCompatDelegateImplV7.java | 2107 public void setBackgroundResource(int resid) { argument 2108 setBackgroundDrawable(AppCompatDrawableManager.get().getDrawable(getContext(), resid));
|
/frameworks/support/v7/appcompat/src/android/support/v7/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/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ResourcesWrapper.java | 248 public String getResourceName(int resid) throws NotFoundException { argument 249 return mResources.getResourceName(resid); 253 public String getResourcePackageName(int resid) throws NotFoundException { argument 254 return mResources.getResourcePackageName(resid); 258 public String getResourceTypeName(int resid) throws NotFoundException { argument 259 return mResources.getResourceTypeName(resid); 263 public String getResourceEntryName(int resid) throws NotFoundException { argument 264 return mResources.getResourceEntryName(resid);
|
H A D | SwitchCompat.java | 288 public void setSwitchTextAppearance(Context context, int resid) { argument 289 TypedArray appearance = context.obtainStyledAttributes(resid, R.styleable.TextAppearance);
|
H A D | TintContextWrapper.java | 100 public void setTheme(int resid) { argument 102 super.setTheme(resid); 104 mTheme.applyStyle(resid, true);
|
H A D | TintTypedArray.java | 54 public static TintTypedArray obtainStyledAttributes(Context context, int resid, int[] attrs) { argument 55 return new TintTypedArray(context, context.obtainStyledAttributes(resid, attrs));
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | FloatingActionButton.java | 277 public void setBackgroundResource(int resid) { argument
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 869 static long[] getLongArray(Resources r, int resid, int maxlen, long[] def) { argument 870 int[] ar = r.getIntArray(resid);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PhoneWindowManager.java | 6695 static long[] getLongIntArray(Resources r, int resid) { argument 6696 int[] ar = r.getIntArray(resid);
|
/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/test-runner/src/android/test/mock/ |
H A D | MockContext.java | 92 public void setTheme(int resid) { argument
|
H A D | MockPackageManager.java | 450 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
|
H A D | MockResources.java | 209 public String getResourceName(int resid) throws NotFoundException { argument 214 public String getResourcePackageName(int resid) throws NotFoundException { argument 219 public String getResourceTypeName(int resid) throws NotFoundException { argument 224 public String getResourceEntryName(int resid) throws NotFoundException { argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | Resources_Delegate.java | 636 static String getResourceEntryName(Resources resources, int resid) throws NotFoundException { argument 637 Pair<ResourceType, String> resourceInfo = getResourceInfo(resources, resid, new boolean[1]); 641 throwException(resid, null); 647 static String getResourceName(Resources resources, int resid) throws NotFoundException { argument 649 Pair<ResourceType, String> resourceInfo = getResourceInfo(resources, resid, platformOut); 661 throwException(resid, null); 666 static String getResourcePackageName(Resources resources, int resid) throws NotFoundException { argument 668 Pair<ResourceType, String> resourceInfo = getResourceInfo(resources, resid, platformOut); 676 throwException(resid, null); 681 static String getResourceTypeName(Resources resources, int resid) throw argument [all...] |
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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgePackageManager.java | 423 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/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
H A D | AnimatedImageView.java | 73 public void setImageResource(int resid) { argument 74 super.setImageResource(resid);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 2734 private void loadStringSetting(SQLiteStatement stmt, String key, int resid) { argument 2735 loadSetting(stmt, key, mContext.getResources().getString(resid)); 2738 private void loadBooleanSetting(SQLiteStatement stmt, String key, int resid) { argument 2740 mContext.getResources().getBoolean(resid) ? "1" : "0"); 2743 private void loadIntegerSetting(SQLiteStatement stmt, String key, int resid) { argument 2745 Integer.toString(mContext.getResources().getInteger(resid))); 2748 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { argument 2750 Float.toString(mContext.getResources().getFraction(resid, base, base)));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AnimatedImageView.java | 37 // the same as the previous one. If this is a resid, we track that. If it's a drawable, we 89 public void setImageResource(int resid) { argument 90 if (mDrawableId == resid) return; 92 mDrawableId = resid; 93 super.setImageResource(resid);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 908 * @param resid the raw resource id (<var>R.raw.<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.<something></var>) for 928 public static MediaPlayer create(Context context, int resid, argument 931 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resid);
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 1470 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/core/jni/ |
H A D | android_util_AssetManager.cpp | 770 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...] |