/external/toybox/kconfig/lxdialog/ |
yesno.c | 22 #include "dialog.h" 27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) 32 print_button(dialog, " Yes ", y, x, selected == 0); 33 print_button(dialog, " No ", y, x + 13, selected == 1); 35 wmove(dialog, y, x + 1 + 13 * selected); 36 wrefresh(dialog); 40 * Display a dialog box with two buttons - Yes and No 45 WINDOW *dialog; local 53 /* center dialog box on screen */ 59 dialog = newwin(height, width, y, x) [all...] |
inputbox.c | 22 #include "dialog.h" 29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) 34 print_button(dialog, " Ok ", y, x, selected == 0); 35 print_button(dialog, " Help ", y, x + 14, selected == 1); 37 wmove(dialog, y, x + 1 + 14 * selected); 38 wrefresh(dialog); 42 * Display a dialog box for inputing a string 50 WINDOW *dialog; local 63 /* center dialog box on screen */ 69 dialog = newwin(height, width, y, x) [all...] |
textbox.c | 22 #include "dialog.h" 38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, 42 print_position(dialog); 43 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ 44 wrefresh(dialog); 49 * Display text from a file in a dialog box. 57 WINDOW *dialog, *box; local 85 /* center dialog box on screen */ 91 dialog = newwin(height, width, y, x); 92 keypad(dialog, TRUE) [all...] |
checklist.c | 24 #include "dialog.h" 95 static void print_buttons(WINDOW * dialog, int height, int width, int selected) 100 print_button(dialog, "Select", y, x, selected == 0); 101 print_button(dialog, " Help ", y, x + 14, selected == 1); 103 wmove(dialog, y, x + 1 + 14 * selected); 104 wrefresh(dialog); 108 * Display a dialog box with a list of options that can be turned on or off 116 WINDOW *dialog, *list; local 136 /* center dialog box on screen */ 142 dialog = newwin(height, width, y, x) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPreferenceScreen.java | 3 import android.app.Dialog; 12 private Dialog dialog; field in class:ShadowPreferenceScreen 15 public Dialog getDialog() { 16 return dialog; 19 public void setDialog(Dialog dialog) { 20 this.dialog = dialog;
|
ShadowDialogFragment.java | 3 import android.app.Dialog; 23 private Dialog dialog; field in class:ShadowDialogFragment 44 dialog = realDialogFragment.onCreateDialog(null); 46 if (dialog == null) { 47 dialog = new Dialog(activityFromManager); 48 dialog.setContentView(view); 50 dialog.setCancelable(cancelable); 62 if (dialog != null) [all...] |
/cts/tests/app/src/android/app/cts/ |
ProgressDialogTest.java | 101 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, false); local 107 assertTrue(dialog.isIndeterminate()); 109 dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true); 110 assertTrue(dialog.isIndeterminate()); 115 public void onCancel(DialogInterface dialog) { 123 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, false); 125 dialog.setOnCancelListener(cL); 126 dialog.onBackPressed(); 127 dialog.dismiss(); 137 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, true) 216 ProgressDialog dialog = buildDialog(); local 232 ProgressDialog dialog = buildDialog(); local 251 ProgressDialog dialog = new ProgressDialog(mContext); local 266 ProgressDialog dialog = new ProgressDialog(mContext); local 280 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE); local 295 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE); local 310 ProgressDialog dialog = new ProgressDialog(mContext); local 321 ProgressDialog dialog = new ProgressDialog(mContext); local [all...] |
/frameworks/base/core/java/android/content/ |
DialogInterface.java | 63 * Interface used to allow the creator of a dialog to run some code when the 64 * dialog is canceled. 66 * This will only be called when the dialog is canceled, if the creator 72 * This method will be invoked when the dialog is canceled. 74 * @param dialog The dialog that was canceled will be passed into the 77 public void onCancel(DialogInterface dialog); 81 * Interface used to allow the creator of a dialog to run some code when the 82 * dialog is dismissed. 86 * This method will be invoked when the dialog is dismissed [all...] |
/external/nist-sip/java/javax/sip/ |
DialogTerminatedEvent.java | 6 private Dialog mDialog; 8 public DialogTerminatedEvent(Object source, Dialog dialog) { 10 mDialog = dialog; 13 public Dialog getDialog() {
|
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
AppCompatNightModeDialog.java | 20 import android.app.Dialog; 35 * This demonstrates idiomatic usage of Dialog with Theme.AppCompat.DayNight 46 AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog); local 47 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_NO); 48 dialog.setTitle(R.string.dialog_title); 49 dialog.setContentView(R.layout.dialog_content); 50 dialog.show(); 54 AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog); local 55 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES); 56 dialog.setTitle(R.string.dialog_title) 62 AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog); local [all...] |
AppCompatNightModeAlertDialog.java | 40 AlertDialog dialog = createAlertDialog(); local 41 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_NO); 42 dialog.show(); 46 AlertDialog dialog = createAlertDialog(); local 47 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES); 48 dialog.show(); 52 AlertDialog dialog = createAlertDialog(); local 53 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_AUTO); 54 dialog.show();
|
DialogUsage.java | 20 import android.app.Dialog; 46 // Add an OnClickListener to show our selected dialog 67 Dialog dialog = new AppCompatDialog(this); local 68 dialog.setTitle(R.string.dialog_title); 69 dialog.setContentView(R.layout.dialog_content); 70 dialog.show(); 74 Dialog dialog = new AppCompatDialog(this); local 75 dialog.setTitle(R.string.dialog_title) [all...] |
/external/avahi/avahi-ui-sharp/ |
bssh.cs | 10 ServiceDialog dialog = new ServiceDialog ("Choose SSH Server", null, 13 dialog.BrowseServiceTypes = new string[] { "_ssh._tcp" }; 14 dialog.ResolveServiceEnabled = true; 16 if (dialog.Run () == (int) ResponseType.Accept) { 17 Console.WriteLine ("Connecting to {0}:{1}", dialog.Address, dialog.Port); 21 foreach (byte[] txtBytes in dialog.TxtData) { 33 dialog.HostName, dialog.Port, user, dialog.Address.ToString ()) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ProgressBar3.java | 22 import android.app.Dialog; 64 protected Dialog onCreateDialog(int id) { 67 ProgressDialog dialog = new ProgressDialog(this); local 68 dialog.setTitle("Indeterminate"); 69 dialog.setMessage("Please wait while loading..."); 70 dialog.setIndeterminate(true); 71 dialog.setCancelable(true); 72 return dialog; 75 ProgressDialog dialog = new ProgressDialog(this); local 76 dialog.setMessage("Please wait while loading...") [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
MediaRouteChooserDialogFragment.java | 19 import android.app.Dialog; 26 * Media route chooser dialog fragment. 29 * this dialog fragment to customize the media route chooser dialog. 40 * Creates a media route chooser dialog fragment. 64 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog(); local 65 if (dialog != null) { 66 dialog.setRouteTypes(types); 75 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog(); local 76 if (dialog != null) 95 MediaRouteChooserDialog dialog = onCreateChooserDialog(getActivity(), savedInstanceState); local [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
DialogTest.java | 3 import android.app.Dialog; 28 final Dialog dialog = new Dialog(null); local 29 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() { 32 assertThat((Dialog) dialogInListener, sameInstance(dialog)); 37 dialog.dismiss(); 44 Dialog dialog = new Dialog(Robolectric.application) local 50 TestDialog dialog = new TestDialog(); local 58 Dialog dialog = new Dialog(null); local 67 TestDialog dialog = new TestDialog(); local 74 Dialog dialog = new Dialog(null); local 84 Dialog dialog = new Dialog(Robolectric.application) { local 102 Dialog dialog = new Dialog(Robolectric.application); local 115 Dialog dialog = new Dialog(null); local 124 TestDialog dialog = new TestDialog(); local 154 Dialog dialog = new Dialog(Robolectric.application); local [all...] |
ProgressDialogTest.java | 29 private ProgressDialog dialog; field in class:ProgressDialogTest 34 dialog = new ProgressDialog(null); 35 shadow = Robolectric.shadowOf(dialog); 48 dialog.setMessage(message); 54 assertThat(dialog.isIndeterminate(), equalTo(false)); 56 dialog.setIndeterminate(true); 57 assertThat(dialog.isIndeterminate(), equalTo(true)); 59 dialog.setIndeterminate(false); 60 assertThat(dialog.isIndeterminate(), equalTo(false)); 113 public void onCancel(DialogInterface dialog) { [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ |
MinTimeProgressDialog.java | 26 * be dismissed before showing. Once visible, the dialog will be visible for at 76 // This covers the case where the dialog was not shown 77 // at all yet OR enough time of the dialog showing 87 * Dismiss the dialog, immediately if necessary. 89 * @param force If true, dismiss the dialog right away. 107 public void onShow(DialogInterface dialog) { 108 // When the dialog is actually shown, start the timer. 119 MinTimeProgressDialog dialog = new MinTimeProgressDialog(context); local 120 dialog.setTitle(title); 121 dialog.setMessage(message) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AppCompatDialogFragment.java | 20 import android.app.Dialog; 28 * platform-styled dialog. 35 public Dialog onCreateDialog(Bundle savedInstanceState) { 41 public void setupDialog(Dialog dialog, int style) { 42 if (dialog instanceof AppCompatDialog) { 43 // If the dialog is an AppCompatDialog, we'll handle it 44 AppCompatDialog acd = (AppCompatDialog) dialog; 47 dialog.getWindow().addFlags( 57 super.setupDialog(dialog, style) [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
CheckSettingsProgressDialogFragment.java | 20 import android.app.Dialog; 31 * Simple dialog that shows progress as we work through the settings checks. 53 * Create a dialog that reports progress 65 * Update the progress of an existing dialog 70 final AlertDialog dialog = (AlertDialog) getDialog(); local 71 if (dialog != null && mProgressString != null) { 72 dialog.setMessage(mProgressString); 77 public Dialog onCreateDialog(Bundle savedInstanceState) { 92 final ProgressDialog dialog = new ProgressDialog(context); local 93 dialog.setIndeterminate(true) [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
DeleteManagedProfileDialog.java | 19 import android.app.Dialog; 56 * @return initialized dialog 71 DeleteManagedProfileDialog dialog = new DeleteManagedProfileDialog(); local 72 dialog.setArguments(args); 73 return dialog; 77 public Dialog onCreateDialog(Bundle savedInstanceState) { 101 final Dialog dialog = new Dialog(getActivity(), R.style.ManagedProvisioningDialogTheme); local 102 dialog.setTitle(R.string.delete_profile_title) [all...] |
UserConsentDialog.java | 19 import android.app.Dialog; 38 * Dialog used to notify the user that the admin will have full control over the profile/device. 69 UserConsentDialog dialog = new UserConsentDialog(); local 73 dialog.setArguments(args); 74 return dialog; 78 public Dialog onCreateDialog(Bundle savedInstanceState) { 85 final Dialog dialog = new Dialog(getActivity(), R.style.ManagedProvisioningDialogTheme); local 86 dialog.setContentView(R.layout.learn_more_dialog) [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/paper-dialog/ |
paper-dialog-transition.css | 8 :host(.paper-dialog-transition) { 15 :host(.paper-dialog-transition.core-opened) { 21 :host(.paper-dialog-transition-bottom) { 26 :host(.paper-dialog-transition-center.core-opened) { 27 animation: paper-dialog-transition-center-keyframes 0.2s cubic-bezier(0.4, 0, 0.2, 1); 28 -webkit-animation: paper-dialog-transition-center-keyframes 0.2s cubic-bezier(0.4, 0, 0.2, 1); 31 @keyframes paper-dialog-transition-center-keyframes { 46 @-webkit-keyframes paper-dialog-transition-center-keyframes {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
IUpdateWizardDialog.java | 27 * Invoked after {@link WizardDialog#create()} to let the caller update the dialog. 29 public void updateWizardDialog(WizardDialogEx dialog);
|
/packages/apps/Settings/src/com/android/settings/ |
CustomListPreference.java | 20 import android.app.Dialog; 46 protected void onDialogCreated(Dialog dialog) { 53 protected void onDialogStateRestored(Dialog dialog, Bundle savedInstanceState) { 84 public void onClick(DialogInterface dialog, int which) { 85 CustomListPreferenceDialogFragment.this.onClick(dialog, 87 dialog.dismiss(); 94 public Dialog onCreateDialog(Bundle savedInstanceState) { 95 Dialog dialog = super.onCreateDialog(savedInstanceState) local [all...] |