/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/ |
D | CardPresenterSelector.java | 56 int themeResId = R.style.MovieCardSimpleTheme; in getPresenter() local 58 themeResId = R.style.MovieCardBasicTheme; in getPresenter() 60 themeResId = R.style.MovieCardCompleteTheme; in getPresenter() 62 themeResId = R.style.SquareBigCardTheme; in getPresenter() 64 themeResId = R.style.GridCardTheme; in getPresenter() 66 themeResId = R.style.GameCardTheme; in getPresenter() 68 presenter = new ImageCardViewPresenter(mContext, themeResId); in getPresenter()
|
/frameworks/base/core/java/android/app/ |
D | DatePickerDialog.java | 72 public DatePickerDialog(@NonNull Context context, @StyleRes int themeResId) { in DatePickerDialog() argument 73 this(context, themeResId, null, Calendar.getInstance(), -1, -1, -1); in DatePickerDialog() 107 public DatePickerDialog(@NonNull Context context, @StyleRes int themeResId, in DatePickerDialog() argument 109 this(context, themeResId, listener, null, year, monthOfYear, dayOfMonth); in DatePickerDialog() 112 private DatePickerDialog(@NonNull Context context, @StyleRes int themeResId, in DatePickerDialog() argument 115 super(context, resolveDialogTheme(context, themeResId)); in DatePickerDialog() 139 static @StyleRes int resolveDialogTheme(@NonNull Context context, @StyleRes int themeResId) { in resolveDialogTheme() argument 140 if (themeResId == 0) { in resolveDialogTheme() 145 return themeResId; in resolveDialogTheme()
|
D | AlertDialog.java | 195 protected AlertDialog(Context context, @StyleRes int themeResId) { in AlertDialog() argument 196 this(context, themeResId, true); in AlertDialog() 199 AlertDialog(Context context, @StyleRes int themeResId, boolean createContextThemeWrapper) { in AlertDialog() argument 200 super(context, createContextThemeWrapper ? resolveDialogTheme(context, themeResId) : 0, in AlertDialog() 207 static int resolveDialogTheme(Context context, int themeResId) { in resolveDialogTheme() argument 208 if (themeResId == THEME_TRADITIONAL) { in resolveDialogTheme() 210 } else if (themeResId == THEME_HOLO_DARK) { in resolveDialogTheme() 212 } else if (themeResId == THEME_HOLO_LIGHT) { in resolveDialogTheme() 214 } else if (themeResId == THEME_DEVICE_DEFAULT_DARK) { in resolveDialogTheme() 216 } else if (themeResId == THEME_DEVICE_DEFAULT_LIGHT) { in resolveDialogTheme() [all …]
|
D | TimePickerDialog.java | 109 public TimePickerDialog(Context context, int themeResId, OnTimeSetListener listener, in TimePickerDialog() argument 111 super(context, resolveDialogTheme(context, themeResId)); in TimePickerDialog()
|
D | Dialog.java | 166 public Dialog(@NonNull Context context, @StyleRes int themeResId) { in Dialog() argument 167 this(context, themeResId, true); in Dialog() 170 Dialog(@NonNull Context context, @StyleRes int themeResId, boolean createContextThemeWrapper) { in Dialog() argument 172 if (themeResId == 0) { in Dialog() 175 themeResId = outValue.resourceId; in Dialog() 177 mContext = new ContextThemeWrapper(context, themeResId); in Dialog()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | LayoutInflater_Delegate.java | 94 final int themeResId = ta.getResourceId(0, 0); in parseInclude() local 95 final boolean hasThemeOverride = themeResId != 0; in parseInclude() 97 context = new ContextThemeWrapper(context, themeResId); in parseInclude()
|
D | BridgeInflater.java | 155 final int themeResId = ta.getResourceId(0, 0); in createViewFromTag() 156 if (themeResId != 0) { in createViewFromTag() 157 context = new ContextThemeWrapper(context, themeResId); in createViewFromTag()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
D | ContextThemeWrapper.java | 41 public ContextThemeWrapper(Context base, @StyleRes int themeResId) { in ContextThemeWrapper() argument 43 mThemeResource = themeResId; in ContextThemeWrapper()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouterThemeHelper.java | 141 public static int getAlertDialogResolvedTheme(Context context, int themeResId) { in getAlertDialogResolvedTheme() argument 142 if (themeResId >= 0x01000000) { // start of real resource IDs. in getAlertDialogResolvedTheme() 143 return themeResId; in getAlertDialogResolvedTheme()
|
/frameworks/base/core/java/android/view/ |
D | ContextThemeWrapper.java | 59 public ContextThemeWrapper(Context base, @StyleRes int themeResId) { in ContextThemeWrapper() argument 61 mThemeResource = themeResId; in ContextThemeWrapper()
|
D | LayoutInflater.java | 754 final int themeResId = ta.getResourceId(0, 0); in createViewFromTag() local 755 if (themeResId != 0) { in createViewFromTag() 756 context = new ContextThemeWrapper(context, themeResId); in createViewFromTag() 908 final int themeResId = ta.getResourceId(0, 0); in parseInclude() local 909 final boolean hasThemeOverride = themeResId != 0; in parseInclude() 911 context = new ContextThemeWrapper(context, themeResId); in parseInclude()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AlertDialog.java | 97 protected AlertDialog(@NonNull Context context, @StyleRes int themeResId) { in AlertDialog() argument 98 super(context, resolveDialogTheme(context, themeResId)); in AlertDialog() 321 public Builder(@NonNull Context context, @StyleRes int themeResId) { in Builder() argument 323 context, resolveDialogTheme(context, themeResId))); in Builder() 324 mTheme = themeResId; in Builder()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ImageCardView.java | 147 public ImageCardView(Context context, int themeResId) { in ImageCardView() argument 148 this(new ContextThemeWrapper(context, themeResId)); in ImageCardView()
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/ |
D | MusicConsumptionExampleFragment.java | 130 SongPresenter(Context context, int themeResId) { in SongPresenter() argument 131 super(themeResId); in SongPresenter()
|