Searched refs:themeResId (Results 1 - 7 of 7) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DContextThemeWrapper.java37 public ContextThemeWrapper(Context base, @StyleRes int themeResId) { argument
39 mThemeResource = themeResId;
/frameworks/base/core/java/android/app/
H A DAlertDialog.java172 * The specified theme resource ({@code themeResId}) is applied on top of
180 * {@code themeResId} may instead be specified as an overlay theme such as
185 * Alternatively, the {@code themeResId} may be specified as {@code 0} to
190 * @param themeResId the resource ID of the theme against which to inflate
195 protected AlertDialog(Context context, @StyleRes int themeResId) { argument
196 this(context, themeResId, true);
199 AlertDialog(Context context, @StyleRes int themeResId, boolean createContextThemeWrapper) { argument
200 super(context, createContextThemeWrapper ? resolveDialogTheme(context, themeResId) : 0,
207 static int resolveDialogTheme(Context context, int themeResId) { argument
208 if (themeResId
481 Builder(Context context, int themeResId) argument
[all...]
H A DTimePickerDialog.java98 * @param themeResId the resource ID of the theme to apply to this dialog
104 public TimePickerDialog(Context context, int themeResId, OnTimeSetListener listener, argument
106 super(context, resolveDialogTheme(context, themeResId));
H A DDialog.java164 * @param themeResId a style resource describing the theme to use for the
167 public Dialog(@NonNull Context context, @StyleRes int themeResId) { argument
168 this(context, themeResId, true);
171 Dialog(@NonNull Context context, @StyleRes int themeResId, boolean createContextThemeWrapper) { argument
173 if (themeResId == 0) {
176 themeResId = outValue.resourceId;
178 mContext = new ContextThemeWrapper(context, themeResId);
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java40 public ContextThemeWrapper(Context base, @StyleRes int themeResId) { argument
42 mThemeResource = themeResId;
H A DLayoutInflater.java731 final int themeResId = ta.getResourceId(0, 0);
732 if (themeResId != 0) {
733 context = new ContextThemeWrapper(context, themeResId);
885 final int themeResId = ta.getResourceId(0, 0);
886 final boolean hasThemeOverride = themeResId != 0;
888 context = new ContextThemeWrapper(context, themeResId);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DLayoutInflater_Delegate.java94 final int themeResId = ta.getResourceId(0, 0);
95 final boolean hasThemeOverride = themeResId != 0;
97 context = new ContextThemeWrapper(context, themeResId);

Completed in 239 milliseconds