Searched refs:themeId (Results 1 – 6 of 6) sorted by relevance
118 private static int getThemeResId(Context context, int themeId) { in getThemeResId() argument119 if (themeId == 0) { in getThemeResId()124 themeId = outValue.resourceId; in getThemeResId()127 themeId = R.style.Theme_Design_Light_BottomSheetDialog; in getThemeResId()130 return themeId; in getThemeResId()
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()
80 public AbstractMediaItemPresenter(int themeId) { in AbstractMediaItemPresenter() argument81 mThemeId = themeId; in AbstractMediaItemPresenter()90 public void setThemeId(int themeId) { in setThemeId() argument91 mThemeId = themeId; in setThemeId()
1707 int themeId = isLightTheme ? R.style.Theme_Material_Light : R.style.Theme_Material; in applyDefaultTheme() local1709 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()