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

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DFallbackThemeWrapper.java37 * {@code themeResId} will be used.
40 * @param themeResId The theme to use as fallback.
42 public FallbackThemeWrapper(Context base, @StyleRes int themeResId) { argument
43 super(base, themeResId);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
H A DCardPresenterSelector.java56 int themeResId = R.style.MovieCardSimpleTheme;
58 themeResId = R.style.MovieCardBasicTheme;
60 themeResId = R.style.MovieCardCompleteTheme;
62 themeResId = R.style.SquareBigCardTheme;
64 themeResId = R.style.GridCardTheme;
66 themeResId = R.style.GameCardTheme;
68 presenter = new ImageCardViewPresenter(mContext, themeResId);
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
H A DCardPresenterSelector.java56 int themeResId = R.style.MovieCardSimpleTheme;
58 themeResId = R.style.MovieCardBasicTheme;
60 themeResId = R.style.MovieCardCompleteTheme;
62 themeResId = R.style.SquareBigCardTheme;
64 themeResId = R.style.GridCardTheme;
66 themeResId = R.style.GameCardTheme;
68 presenter = new ImageCardViewPresenter(mContext, themeResId);
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java68 * @param themeResId the resource ID of the theme against which to inflate
72 public DatePickerDialog(@NonNull Context context, @StyleRes int themeResId) { argument
73 this(context, themeResId, null, Calendar.getInstance(), -1, -1, -1);
97 * @param themeResId the resource ID of the theme against which to inflate
107 public DatePickerDialog(@NonNull Context context, @StyleRes int themeResId, argument
109 this(context, themeResId, listener, null, year, monthOfYear, dayOfMonth);
112 private DatePickerDialog(@NonNull Context context, @StyleRes int themeResId, argument
115 super(context, resolveDialogTheme(context, themeResId));
139 static @StyleRes int resolveDialogTheme(@NonNull Context context, @StyleRes int themeResId) { argument
140 if (themeResId
[all...]
H A DAlertDialog.java173 * The specified theme resource ({@code themeResId}) is applied on top of
181 * {@code themeResId} may instead be specified as an overlay theme such as
186 * Alternatively, the {@code themeResId} may be specified as {@code 0} to
191 * @param themeResId the resource ID of the theme against which to inflate
196 protected AlertDialog(Context context, @StyleRes int themeResId) { argument
197 this(context, themeResId, true);
200 AlertDialog(Context context, @StyleRes int themeResId, boolean createContextThemeWrapper) { argument
201 super(context, createContextThemeWrapper ? resolveDialogTheme(context, themeResId) : 0,
208 static @StyleRes int resolveDialogTheme(Context context, @StyleRes int themeResId) { argument
209 if (themeResId
483 Builder(Context context, int themeResId) argument
[all...]
H A DTimePickerDialog.java97 * If {@code themeResId} is 0, the dialog will be inflated using the theme
103 * @param themeResId the resource ID of the theme to apply to this dialog
109 public TimePickerDialog(Context context, int themeResId, OnTimeSetListener listener, argument
111 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 == ResourceId.ID_NULL) {
176 themeResId = outValue.resourceId;
178 mContext = new ContextThemeWrapper(context, themeResId);
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java53 * <var>themeResId</var> will retain their original values.
56 * @param themeResId the resource ID of the theme to be applied on top of
59 public ContextThemeWrapper(Context base, @StyleRes int themeResId) { argument
61 mThemeResource = themeResId;
H A DLayoutInflater.java757 final int themeResId = ta.getResourceId(0, 0);
758 if (themeResId != 0) {
759 context = new ContextThemeWrapper(context, themeResId);
906 final int themeResId = ta.getResourceId(0, 0);
907 final boolean hasThemeOverride = themeResId != 0;
909 context = new ContextThemeWrapper(context, themeResId);
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DContextThemeWrapper.java62 * <var>themeResId</var> will retain their original values.
65 * @param themeResId the resource ID of the theme to be applied on top of
68 public ContextThemeWrapper(Context base, @StyleRes int themeResId) { argument
70 mThemeResource = themeResId;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DLayoutInflater_Delegate.java96 final int themeResId = ta.getResourceId(0, 0);
97 final boolean hasThemeOverride = themeResId != 0;
99 context = new ContextThemeWrapper(context, themeResId);
H A DBridgeInflater.java232 final int themeResId = ta.getResourceId(0, 0);
233 if (themeResId != 0) {
234 context = new ContextThemeWrapper(context, themeResId);
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouterThemeHelper.java148 public static int getAlertDialogResolvedTheme(Context context, int themeResId) { argument
149 if (themeResId >= 0x01000000) { // start of real resource IDs.
150 return themeResId;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAlertDialog.java96 protected AlertDialog(@NonNull Context context, @StyleRes int themeResId) { argument
97 super(context, resolveDialogTheme(context, themeResId));
301 * The specified theme resource ({@code themeResId}) is applied on top
309 * {@code themeResId} may instead be specified as an overlay theme such
314 * Alternatively, the {@code themeResId} may be specified as {@code 0}
319 * @param themeResId the resource ID of the theme against which to inflate
323 public Builder(@NonNull Context context, @StyleRes int themeResId) { argument
325 context, resolveDialogTheme(context, themeResId)));
326 mTheme = themeResId;
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DMusicConsumptionExampleFragment.java130 SongPresenter(Context context, int themeResId) { argument
131 super(themeResId);
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DMusicConsumptionExampleFragment.java130 SongPresenter(Context context, int themeResId) { argument
131 super(themeResId);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DImageCardView.java138 * @param themeResId
147 public ImageCardView(Context context, int themeResId) { argument
148 this(new ContextThemeWrapper(context, themeResId));

Completed in 284 milliseconds