Home
last modified time | relevance | path

Searched refs:themeResId (Results 1 – 18 of 18) 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.java189 public Dialog(@UiContext @NonNull Context context, @StyleRes int themeResId) { in Dialog() argument
190 this(context, themeResId, true); in Dialog()
193 Dialog(@UiContext @NonNull Context context, @StyleRes int themeResId, in Dialog() argument
196 if (themeResId == Resources.ID_NULL) { in Dialog()
199 themeResId = outValue.resourceId; in Dialog()
201 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.java328 final int themeResId = ta.getResourceId(0, 0); in createViewFromTag()
329 if (themeResId != 0) { in createViewFromTag()
330 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.java877 final int themeResId = ta.getResourceId(0, 0); in createViewFromTag() local
878 if (themeResId != 0) { in createViewFromTag()
879 context = new ContextThemeWrapper(context, themeResId); in createViewFromTag()
1058 final int themeResId = ta.getResourceId(0, 0); in parseInclude() local
1059 final boolean hasThemeOverride = themeResId != 0; in parseInclude()
1061 context = new ContextThemeWrapper(context, themeResId); in parseInclude()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java108 public EnableZenModeDialog(Context context, int themeResId) { in EnableZenModeDialog() argument
109 this(context, themeResId, false /* cancelIsNeutral */, in EnableZenModeDialog()
113 public EnableZenModeDialog(Context context, int themeResId, boolean cancelIsNeutral, in EnableZenModeDialog() argument
116 mThemeResId = themeResId; in EnableZenModeDialog()
/frameworks/base/core/java/android/content/res/
DResources.java1984 int themeResId = getAppliedStyleResId(); in toString() local
1987 while (themeResId > 0) { in toString()
1996 sb.append("id=0x").append(Integer.toHexString(themeResId)); in toString()
1997 sb.append(getResourcePackageName(themeResId)) in toString()
1998 .append(":").append(getResourceTypeName(themeResId)) in toString()
1999 .append("/").append(getResourceEntryName(themeResId)); in toString()
2002 themeResId = getParentThemeIdentifier(themeResId); in toString()
/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DAvatarPickerActivity.java91 int themeResId = themeResolver.resolve("", /* suppressDayNight= */ !dayNightEnabled); in onCreate() local
92 setTheme(themeResId); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.kt124 context.theme.applyStyle(context.themeResId, true) in onConfigurationChanged()
DCentralSurfacesImpl.java2293 final int themeResId = lockDarkText ? R.style.Theme_SystemUI_LightWallpaper in updateTheme() local
2295 if (mContext.getThemeResId() != themeResId) { in updateTheme()
2296 mContext.setTheme(themeResId); in updateTheme()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/
DStartingSurfaceDrawerTests.java339 private StartingWindowInfo createWindowInfo(int taskId, int themeResId, IBinder appToken) { in createWindowInfo() argument
344 info.theme = themeResId; in createWindowInfo()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java1205 public Builder setStartingTheme(int themeResId) { in setStartingTheme() argument
1206 mStartingThemeResId = themeResId; in setStartingTheme()
/frameworks/base/core/java/android/widget/
DRemoteViews.java6618 public ActionApplyParams withThemeResId(@StyleRes int themeResId) {
6619 this.applyThemeResId = themeResId;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...