Home
last modified time | relevance | path

Searched refs:dialogContent (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDialogFragment.java109 LocaleDialogController.DialogContent dialogContent = controller.getDialogContent(); in onCreateDialog() local
112 setDialogTitle(viewGroup, dialogContent.mTitle); in onCreateDialog()
113 setDialogMessage(viewGroup, dialogContent.mMessage); in onCreateDialog()
117 if (!dialogContent.mPositiveButton.isEmpty()) { in onCreateDialog()
118 builder.setPositiveButton(dialogContent.mPositiveButton, controller); in onCreateDialog()
120 if (!dialogContent.mNegativeButton.isEmpty()) { in onCreateDialog()
121 builder.setNegativeButton(dialogContent.mNegativeButton, controller); in onCreateDialog()
219 DialogContent dialogContent = new DialogContent(); in getDialogContent() local
222 dialogContent.mTitle = String.format(mContext.getString( in getDialogContent()
224 dialogContent.mMessage = mContext.getString( in getDialogContent()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/localepicker/
DLocaleDialogFragmentTest.java82 LocaleDialogFragment.LocaleDialogController.DialogContent dialogContent = in getDialogContent_confirmSystemDefault_has2ButtonText() local
87 dialogContent.mPositiveButton); in getDialogContent_confirmSystemDefault_has2ButtonText()
89 dialogContent.mNegativeButton); in getDialogContent_confirmSystemDefault_has2ButtonText()
99 LocaleDialogFragment.LocaleDialogController.DialogContent dialogContent = in getDialogContent_unavailableLocale_has1ButtonText() local
103 dialogContent.mPositiveButton); in getDialogContent_unavailableLocale_has1ButtonText()
104 assertTrue(dialogContent.mNegativeButton.isEmpty()); in getDialogContent_unavailableLocale_has1ButtonText()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DSetWallpaperDialogBinder.kt46 dialogContent: View, in <lambda>()
59 if (isFoldable) dialogContent.requireViewById(R.id.foldable_previews) in <lambda>()
60 else dialogContent.requireViewById(R.id.handheld_previews) in <lambda>()
81 val cancelButton = dialogContent.requireViewById<Button>(R.id.button_cancel) in <lambda>()
84 val confirmButton = dialogContent.requireViewById<Button>(R.id.button_set) in <lambda>()