Home
last modified time | relevance | path

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

/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/design/src/android/support/design/widget/
DBottomSheetDialog.java148 private static int getThemeResId(Context context, int themeId) { in getThemeResId() argument
149 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()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DAbstractMediaItemPresenter.java107 public AbstractMediaItemPresenter(int themeId) { in AbstractMediaItemPresenter() argument
108 mThemeId = themeId; in AbstractMediaItemPresenter()
117 public void setThemeId(int themeId) { in setThemeId() argument
118 mThemeId = themeId; in setThemeId()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1708 int themeId = isLightTheme ? R.style.Theme_Material_Light : R.style.Theme_Material; in applyDefaultTheme() local
1710 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()