Home
last modified time | relevance | path

Searched refs:themeId (Results 1 – 2 of 2) sorted by relevance

/appcompat/appcompat/src/main/java/androidx/appcompat/app/
DAppCompatViewInflater.java381 int themeId = 0; in themifyContext() local
384 themeId = a.getResourceId(R.styleable.View_android_theme, 0); in themifyContext()
386 if (useAppTheme && themeId == 0) { in themifyContext()
388 themeId = a.getResourceId(R.styleable.View_theme, 0); in themifyContext()
390 if (themeId != 0) { in themifyContext()
397 if (themeId != 0 && (!(context instanceof ContextThemeWrapper) in themifyContext()
398 || ((ContextThemeWrapper) context).getThemeResId() != themeId)) { in themifyContext()
401 context = new ContextThemeWrapper(context, themeId); in themifyContext()
DAppCompatDialog.java196 private static int getThemeResId(Context context, int themeId) { in getThemeResId() argument
197 if (themeId == 0) { in getThemeResId()
201 themeId = outValue.resourceId; in getThemeResId()
203 return themeId; in getThemeResId()