Searched refs:resid (Results 1 - 25 of 41) sorted by last modified time

12

/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAlertDialog.java103 static int resolveDialogTheme(Context context, int resid) { argument
104 if (resid >= 0x01000000) { // start of real resource IDs.
105 return resid;
H A DAppCompatDelegateImplV7.java1978 public void setBackgroundResource(int resid) { argument
1979 setBackgroundDrawable(TintManager.getDrawable(getContext(), resid));
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DContextThemeWrapper.java48 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/internal/widget/
H A DResourcesWrapper.java251 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/support/v7/appcompat/src/android/support/v7/widget/
H A DSwitchCompat.java236 public void setSwitchTextAppearance(Context context, int resid) { argument
237 TypedArray appearance = context.obtainStyledAttributes(resid, R.styleable.TextAppearance);
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeResources.java617 public String getResourceEntryName(int resid) throws NotFoundException { argument
622 public String getResourceName(int resid) throws NotFoundException { argument
627 public String getResourceTypeName(int resid) throws NotFoundException { argument
H A DResources_Theme_Delegate.java68 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 DBridgeContext.java321 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 DBridgePackageManager.java351 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/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java6045 static long[] getLongIntArray(Resources r, int resid) { argument
6046 int[] ar = r.getIntArray(resid);
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
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/test-runner/src/android/test/mock/
H A DMockContext.java92 public void setTheme(int resid) { argument
H A DMockPackageManager.java380 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
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
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java839 static long[] getLongArray(Resources r, int resid, int maxlen, long[] def) { argument
840 int[] ar = r.getIntArray(resid);
/frameworks/base/services/core/java/com/android/server/am/
H A DAppNotRespondingDialog.java50 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/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java173 for (int resid : list) {
175 loaded = BitmapFactory.decodeResource(res, resid, opts);
179 mDrawables.append(resid, d);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAnimatedImageView.java33 // 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/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java2731 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/include/androidfw/
H A DResourceTypes.h238 #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/media/java/android/media/
H A DMediaPlayer.java909 * @param resid the raw resource id (<var>R.raw.&lt;something></var>) for
913 public static MediaPlayer create(Context context, int resid) { argument
915 return create(context, resid, null, s > 0 ? s : 0);
922 * @param resid the raw resource id (<var>R.raw.&lt;something></var>) for
929 public static MediaPlayer create(Context context, int resid, argument
932 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resid);
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java1397 if (st.resid != resId) {
1398 st.resid = resId;
1413 st.resid = 0;
1426 st.resid = 0;
4614 int resid; field in class:PhoneWindow.DrawableFeatureState
/frameworks/base/core/java/com/google/android/util/
H A DSmileyParser.java71 int resid = mRes.getSmileyRes(token.getRawText());
72 if (resid != -1) {
73 builder.setSpan(new ImageSpan(context, resid),
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp695 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/core/java/android/app/
H A DActivity.java3718 protected void onApplyThemeResource(Resources.Theme theme, @StyleRes int resid, argument
3721 super.onApplyThemeResource(theme, resid, first);
3728 theme.applyStyle(resid, false);

Completed in 8081 milliseconds

12