Home
last modified time | relevance | path

Searched refs:themeResId (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/app/
DDatePickerDialog.java74 public DatePickerDialog(@NonNull Context context, @StyleRes int themeResId) { in DatePickerDialog() argument
75 this(context, themeResId, null, Calendar.getInstance(), -1, -1, -1); in DatePickerDialog()
109 public DatePickerDialog(@NonNull Context context, @StyleRes int themeResId, in DatePickerDialog() argument
111 this(context, themeResId, listener, null, year, monthOfYear, dayOfMonth); in DatePickerDialog()
114 private DatePickerDialog(@NonNull Context context, @StyleRes int themeResId, in DatePickerDialog() argument
117 super(context, resolveDialogTheme(context, themeResId)); in DatePickerDialog()
141 static @StyleRes int resolveDialogTheme(@NonNull Context context, @StyleRes int themeResId) { in resolveDialogTheme() argument
142 if (themeResId == 0) { in resolveDialogTheme()
147 return themeResId; in resolveDialogTheme()
DAlertDialog.java199 protected AlertDialog(Context context, @StyleRes int themeResId) { in AlertDialog() argument
200 this(context, themeResId, true); in AlertDialog()
203 AlertDialog(Context context, @StyleRes int themeResId, boolean createContextThemeWrapper) { in AlertDialog() argument
204 super(context, createContextThemeWrapper ? resolveDialogTheme(context, themeResId) : 0, in AlertDialog()
211 static @StyleRes int resolveDialogTheme(Context context, @StyleRes int themeResId) { in resolveDialogTheme() argument
212 if (themeResId == THEME_TRADITIONAL) { in resolveDialogTheme()
214 } else if (themeResId == THEME_HOLO_DARK) { in resolveDialogTheme()
216 } else if (themeResId == THEME_HOLO_LIGHT) { in resolveDialogTheme()
218 } else if (themeResId == THEME_DEVICE_DEFAULT_DARK) { in resolveDialogTheme()
220 } else if (themeResId == THEME_DEVICE_DEFAULT_LIGHT) { in resolveDialogTheme()
[all …]
DTimePickerDialog.java111 public TimePickerDialog(Context context, int themeResId, OnTimeSetListener listener, in TimePickerDialog() argument
113 super(context, resolveDialogTheme(context, themeResId)); in TimePickerDialog()
DDialog.java180 public Dialog(@NonNull Context context, @StyleRes int themeResId) { in Dialog() argument
181 this(context, themeResId, true); in Dialog()
184 Dialog(@NonNull Context context, @StyleRes int themeResId, boolean createContextThemeWrapper) { in Dialog() argument
186 if (themeResId == Resources.ID_NULL) { in Dialog()
189 themeResId = outValue.resourceId; in Dialog()
191 mContext = new ContextThemeWrapper(context, themeResId); in Dialog()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DFallbackThemeWrapper.java41 public FallbackThemeWrapper(Context base, @StyleRes int themeResId) { in FallbackThemeWrapper() argument
42 super(base, themeResId); in FallbackThemeWrapper()
/frameworks/layoutlib/bridge/src/android/view/
DLayoutInflater_Delegate.java96 final int themeResId = ta.getResourceId(0, 0); in parseInclude() local
97 final boolean hasThemeOverride = themeResId != 0; in parseInclude()
99 context = new ContextThemeWrapper(context, themeResId); in parseInclude()
DBridgeInflater.java316 final int themeResId = ta.getResourceId(0, 0); in createViewFromTag()
317 if (themeResId != 0) { in createViewFromTag()
318 context = new ContextThemeWrapper(context, themeResId); in createViewFromTag()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java66 public ContextThemeWrapper(Context base, @StyleRes int themeResId) { in ContextThemeWrapper() argument
68 mThemeResource = themeResId; in ContextThemeWrapper()
DLayoutInflater.java987 final int themeResId = ta.getResourceId(0, 0); in createViewFromTag() local
988 if (themeResId != 0) { in createViewFromTag()
989 context = new ContextThemeWrapper(context, themeResId); in createViewFromTag()
1168 final int themeResId = ta.getResourceId(0, 0); in parseInclude() local
1169 final boolean hasThemeOverride = themeResId != 0; in parseInclude()
1171 context = new ContextThemeWrapper(context, themeResId); in parseInclude()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.kt86 context.theme.applyStyle(context.themeResId, true) in onConfigurationChanged()
DNotificationPanelViewController.java3522 final int themeResId = mView.getContext().getThemeResId();
3523 if (mThemeResId == themeResId) {
3526 mThemeResId = themeResId;
DStatusBar.java3404 final int themeResId = lockDarkText ? R.style.Theme_SystemUI_Light : R.style.Theme_SystemUI; in updateTheme() local
3405 if (mContext.getThemeResId() != themeResId) { in updateTheme()
3406 mContext.setTheme(themeResId); in updateTheme()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...