Searched refs:themeId (Results 1 – 6 of 6) sorted by relevance
240 int themeId = 0; in themifyContext() local243 themeId = a.getResourceId(R.styleable.View_android_theme, 0); in themifyContext()245 if (useAppTheme && themeId == 0) { in themifyContext()247 themeId = a.getResourceId(R.styleable.View_theme, 0); in themifyContext()249 if (themeId != 0) { in themifyContext()256 if (themeId != 0 && (!(context instanceof ContextThemeWrapper) in themifyContext()257 || ((ContextThemeWrapper) context).getThemeResId() != themeId)) { in themifyContext()260 context = new ContextThemeWrapper(context, themeId); in themifyContext()
157 private static int getThemeResId(Context context, int themeId) { in getThemeResId() argument158 if (themeId == 0) { in getThemeResId()162 themeId = outValue.resourceId; in getThemeResId()164 return themeId; in getThemeResId()
148 private static int getThemeResId(Context context, int themeId) { in getThemeResId() argument149 if (themeId == 0) { in getThemeResId()154 themeId = outValue.resourceId; in getThemeResId()157 themeId = R.style.Theme_Design_Light_BottomSheetDialog; in getThemeResId()160 return themeId; in getThemeResId()
107 public AbstractMediaItemPresenter(int themeId) { in AbstractMediaItemPresenter() argument108 mThemeId = themeId; in AbstractMediaItemPresenter()117 public void setThemeId(int themeId) { in setThemeId() argument118 mThemeId = themeId; in setThemeId()
1708 int themeId = isLightTheme ? R.style.Theme_Material_Light : R.style.Theme_Material; in applyDefaultTheme() local1710 return new ContextThemeWrapper(originalContext, themeId); in applyDefaultTheme()
3324 int themeId = isLightTheme ? R.style.ThemeOverlay_Material_Light in applyDefaultTheme() local3327 return new ContextThemeWrapper(originalContext, themeId); in applyDefaultTheme()