/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
D | AppCompatNightModeDialog.java | 46 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 …]
|
D | AppCompatNightModeAlertDialog.java | 40 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()
|
D | DialogUsage.java | 67 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/ |
D | ProgressBar3.java | 67 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 …]
|
D | DateWidgets1.java | 105 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/ |
D | AlertDialogSamples.java | 90 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 …]
|
D | SecureDialogActivity.java | 81 AlertDialog dialog = new AlertDialog.Builder(this) in onClick() local 88 dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, in onClick() 92 dialog.show(); in onClick()
|
D | FragmentAlertDialog.java | 93 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog() 100 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
|
D | PresentationWithMediaRouterActivity.java | 244 public void onDismiss(DialogInterface dialog) { 245 if (dialog == mPresentation) {
|
D | PresentationActivity.java | 289 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/ |
D | SmsReceivedDialog.java | 90 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/ |
D | AuthenticatorActivity.java | 122 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/ |
D | ConfirmationDialogFragment.java | 53 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/ |
D | AppBarLayoutUsageBase.java | 55 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/ |
D | FragmentAlertDialogSupport.java | 94 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/ |
D | WalkieTalkieActivity.java | 318 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/ |
D | DialogExampleActivity.java | 15 package android.support.v17.leanback.supportleanbackshowcase.app.dialog;
|
D | DialogExampleFragment.java | 15 package android.support.v17.leanback.supportleanbackshowcase.app.dialog;
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/cards/ |
D | CardExampleActivity.java | 22 import android.support.v17.leanback.supportleanbackshowcase.app.dialog.DialogExampleFragment;
|
/development/apps/GestureBuilder/src/com/android/gesture/builder/ |
D | GestureBuilderActivity.java | 233 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/ |
D | MainActivity.java | 272 public void onDismiss(DialogInterface dialog) { 273 if (dialog == mPresentation) {
|
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ |
D | WearableMainActivity.java | 175 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/ |
D | PurgeableBitmap.java | 110 public void onClick(DialogInterface dialog, int id) { in showAlertDialog()
|
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/ |
D | DirectorySelectionFragment.java | 111 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/ |
D | Camera2VideoFragment.java | 711 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) {
|