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

/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.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.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.java163 * @param themeResId a style resource describing the theme to use for the
166 public Dialog(@NonNull Context context, @StyleRes int themeResId) { argument
167 this(context, themeResId, true);
170 Dialog(@NonNull Context context, @StyleRes int themeResId, boolean createContextThemeWrapper) { argument
172 if (themeResId == 0) {
175 themeResId = outValue.resourceId;
177 mContext = new ContextThemeWrapper(context, themeResId);
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DContextThemeWrapper.java41 public ContextThemeWrapper(Context base, @StyleRes int themeResId) { argument
43 mThemeResource = 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);
H A DBridgeInflater.java155 final int themeResId = ta.getResourceId(0, 0);
156 if (themeResId != 0) {
157 context = 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.java754 final int themeResId = ta.getResourceId(0, 0);
755 if (themeResId != 0) {
756 context = new ContextThemeWrapper(context, themeResId);
908 final int themeResId = ta.getResourceId(0, 0);
909 final boolean hasThemeOverride = themeResId != 0;
911 context = new ContextThemeWrapper(context, themeResId);
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouterThemeHelper.java141 public static int getAlertDialogResolvedTheme(Context context, int themeResId) { argument
142 if (themeResId >= 0x01000000) { // start of real resource IDs.
143 return themeResId;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAlertDialog.java97 protected AlertDialog(@NonNull Context context, @StyleRes int themeResId) { argument
98 super(context, resolveDialogTheme(context, themeResId));
299 * The specified theme resource ({@code themeResId}) is applied on top
307 * {@code themeResId} may instead be specified as an overlay theme such
312 * Alternatively, the {@code themeResId} may be specified as {@code 0}
317 * @param themeResId the resource ID of the theme against which to inflate
321 public Builder(@NonNull Context context, @StyleRes int themeResId) { argument
323 context, resolveDialogTheme(context, themeResId)));
324 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 557 milliseconds