Home
last modified time | relevance | path

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

/frameworks/support/design/src/android/support/design/widget/
DBottomSheetDialog.java118 private static int getThemeResId(Context context, int themeId) { in getThemeResId() argument
119 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()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatViewInflater.java240 int themeId = 0; in themifyContext() local
243 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()
DAppCompatDialog.java157 private static int getThemeResId(Context context, int themeId) { in getThemeResId() argument
158 if (themeId == 0) { in getThemeResId()
162 themeId = outValue.resourceId; in getThemeResId()
164 return themeId; in getThemeResId()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DAbstractMediaItemPresenter.java80 public AbstractMediaItemPresenter(int themeId) { in AbstractMediaItemPresenter() argument
81 mThemeId = themeId; in AbstractMediaItemPresenter()
90 public void setThemeId(int themeId) { in setThemeId() argument
91 mThemeId = themeId; in setThemeId()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1707 int themeId = isLightTheme ? R.style.Theme_Material_Light : R.style.Theme_Material; in applyDefaultTheme() local
1709 return new ContextThemeWrapper(originalContext, themeId); in applyDefaultTheme()
/frameworks/base/core/java/android/widget/
DEditor.java3324 int themeId = isLightTheme ? R.style.ThemeOverlay_Material_Light in applyDefaultTheme() local
3327 return new ContextThemeWrapper(originalContext, themeId); in applyDefaultTheme()