Home
last modified time | relevance | path

Searched refs:dialog (Results 1 – 25 of 42) sorted by relevance

12

/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DAppCompatNightModeDialog.java46 AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog); in setModeNightNo() local
47 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_NO); in setModeNightNo()
48 dialog.setTitle(R.string.dialog_title); in setModeNightNo()
49 dialog.setContentView(R.layout.dialog_content); in setModeNightNo()
50 dialog.show(); in setModeNightNo()
54 AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog); in setModeNightYes() local
55 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES); in setModeNightYes()
56 dialog.setTitle(R.string.dialog_title); in setModeNightYes()
57 dialog.setContentView(R.layout.dialog_content); in setModeNightYes()
58 dialog.show(); in setModeNightYes()
[all …]
DAppCompatNightModeAlertDialog.java40 AlertDialog dialog = createAlertDialog(); in setModeNightNo() local
41 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_NO); in setModeNightNo()
42 dialog.show(); in setModeNightNo()
46 AlertDialog dialog = createAlertDialog(); in setModeNightYes() local
47 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES); in setModeNightYes()
48 dialog.show(); in setModeNightYes()
52 AlertDialog dialog = createAlertDialog(); in setModeNightAuto() local
53 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_AUTO); in setModeNightAuto()
54 dialog.show(); in setModeNightAuto()
DDialogUsage.java67 Dialog dialog = new AppCompatDialog(this); in showSimpleDialog() local
68 dialog.setTitle(R.string.dialog_title); in showSimpleDialog()
69 dialog.setContentView(R.layout.dialog_content); in showSimpleDialog()
70 dialog.show(); in showSimpleDialog()
74 Dialog dialog = new AppCompatDialog(this); in showButtonBarDialog() local
75 dialog.setTitle(R.string.dialog_title); in showButtonBarDialog()
76 dialog.setContentView(R.layout.dialog_content_buttons); in showButtonBarDialog()
77 dialog.show(); in showButtonBarDialog()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DProgressBar3.java67 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local
68 dialog.setTitle("Indeterminate"); in onCreateDialog()
69 dialog.setMessage("Please wait while loading..."); in onCreateDialog()
70 dialog.setIndeterminate(true); in onCreateDialog()
71 dialog.setCancelable(true); in onCreateDialog()
72 return dialog; in onCreateDialog()
75 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local
76 dialog.setMessage("Please wait while loading..."); in onCreateDialog()
77 dialog.setIndeterminate(true); in onCreateDialog()
78 dialog.setCancelable(true); in onCreateDialog()
[all …]
DDateWidgets1.java105 protected void onPrepareDialog(int id, Dialog dialog) { in onPrepareDialog() argument
109 ((TimePickerDialog) dialog).updateTime(mHour, mMinute); in onPrepareDialog()
112 ((DatePickerDialog) dialog).updateDate(mYear, mMonth, mDay); in onPrepareDialog()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DAlertDialogSamples.java90 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
96 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
107 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
111 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
120 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
124 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
132 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
136 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
144 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
148 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
[all …]
DSecureDialogActivity.java81 AlertDialog dialog = new AlertDialog.Builder(this) in onClick() local
88 dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, in onClick()
92 dialog.show(); in onClick()
DFragmentAlertDialog.java93 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
100 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
DPresentationWithMediaRouterActivity.java244 public void onDismiss(DialogInterface dialog) {
245 if (dialog == mPresentation) {
DPresentationActivity.java289 public void onClick(DialogInterface dialog, int which) { in onClick()
290 dialog.dismiss(); in onClick()
353 public void onDismiss(DialogInterface dialog) {
354 DemoPresentation presentation = (DemoPresentation)dialog;
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsReceivedDialog.java90 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
97 dialog.dismiss(); in onCreateDialog()
102 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
103 dialog.dismiss(); in onCreateDialog()
108 public void onCancel(DialogInterface dialog) { in onCreateDialog()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivity.java122 final ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local
123 dialog.setMessage(getText(R.string.ui_activity_authenticating)); in onCreateDialog()
124 dialog.setIndeterminate(true); in onCreateDialog()
125 dialog.setCancelable(true); in onCreateDialog()
126 dialog.setOnCancelListener(new DialogInterface.OnCancelListener() { in onCreateDialog()
127 public void onCancel(DialogInterface dialog) { in onCreateDialog()
137 mProgressDialog = dialog; in onCreateDialog()
138 return dialog; in onCreateDialog()
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DConfirmationDialogFragment.java53 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
59 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DAppBarLayoutUsageBase.java55 TextView dialog = (TextView) findViewById(R.id.textview_dialogue); in onCreate() local
56 if (dialog != null) { in onCreate()
57 dialog.setText(TextUtils.concat(Shakespeare.DIALOGUE)); in onCreate()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentAlertDialogSupport.java94 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
101 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
/development/samples/SipDemo/src/com/example/android/sip/
DWalkieTalkieActivity.java318 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
328 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
338 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
344 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/dialog/
DDialogExampleActivity.java15 package android.support.v17.leanback.supportleanbackshowcase.app.dialog;
DDialogExampleFragment.java15 package android.support.v17.leanback.supportleanbackshowcase.app.dialog;
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/cards/
DCardExampleActivity.java22 import android.support.v17.leanback.supportleanbackshowcase.app.dialog.DialogExampleFragment;
/development/apps/GestureBuilder/src/com/android/gesture/builder/
DGestureBuilderActivity.java233 protected void onPrepareDialog(int id, Dialog dialog) { in onPrepareDialog() argument
234 super.onPrepareDialog(id, dialog); in onPrepareDialog()
250 public void onCancel(DialogInterface dialog) { in createRenameDialog()
256 public void onClick(DialogInterface dialog, int which) { in createRenameDialog() argument
263 public void onClick(DialogInterface dialog, int which) { in createRenameDialog() argument
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
DMainActivity.java272 public void onDismiss(DialogInterface dialog) {
273 if (dialog == mPresentation) {
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java175 public void onClick(DialogInterface dialog, int id) { in onCreate()
176 dialog.cancel(); in onCreate()
181 public void onDismiss(DialogInterface dialog) { in onCreate()
182 dialog.cancel(); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPurgeableBitmap.java110 public void onClick(DialogInterface dialog, int id) { in showAlertDialog()
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectorySelectionFragment.java111 public void onClick(DialogInterface dialog, int whichButton) { in onViewCreated()
119 public void onClick(DialogInterface dialog, int whichButton) { in onViewCreated()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java711 ErrorDialog dialog = new ErrorDialog(); in newInstance() local
714 dialog.setArguments(args); in newInstance()
715 return dialog; in newInstance()
743 public void onClick(DialogInterface dialog, int which) {
751 public void onClick(DialogInterface dialog, int which) {

12