Searched refs:dialog (Results 1 - 25 of 85) sorted by relevance

1234

/external/toybox/kconfig/lxdialog/
H A Dyesno.c22 #include "dialog.h"
27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
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
[all...]
H A Dinputbox.c22 #include "dialog.h"
29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
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
[all...]
H A Dtextbox.c22 #include "dialog.h"
38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, argument
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, TRU
[all...]
H A Dchecklist.c24 #include "dialog.h"
95 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
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
[all...]
H A Dmenubox.c59 #include "dialog.h"
189 WINDOW *dialog, *menu; local
203 /* center dialog box on screen */
209 dialog = newwin(height, width, y, x);
210 keypad(dialog, TRUE);
212 draw_box(dialog, 0, 0, height, width,
213 dlg.dialog.atr, dlg.border.atr);
214 wattrset(dialog, dlg.border.atr);
215 mvwaddch(dialog, height - 3, 0, ACS_LTEE);
217 waddch(dialog, ACS_HLIN
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowPreferenceScreen.java12 private Dialog dialog; field in class:ShadowPreferenceScreen
16 return dialog;
19 public void setDialog(Dialog dialog) { argument
20 this.dialog = dialog;
H A DShadowDialogFragment.java23 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) {
63 dialog.show();
69 if (dialog != null) {
70 dialog
[all...]
/external/nist-sip/java/javax/sip/
H A DDialogTerminatedEvent.java8 public DialogTerminatedEvent(Object source, Dialog dialog) { argument
10 mDialog = dialog;
H A DRequestEvent.java12 Dialog dialog, Request request) {
14 mDialog = dialog;
11 RequestEvent(Object source, ServerTransaction serverTransaction, Dialog dialog, Request request) argument
H A DResponseEvent.java12 Dialog dialog, Response response) {
14 mDialog = dialog;
11 ResponseEvent(Object source, ClientTransaction clientTransaction, Dialog dialog, Response response) argument
/external/linux-tools-perf/src/tools/perf/ui/gtk/
H A Dprogress.c7 static GtkWidget *dialog; variable
15 if (dialog == NULL) {
19 dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL);
25 gtk_container_add(GTK_CONTAINER(dialog), vbox);
27 gtk_window_set_title(GTK_WINDOW(dialog), "perf");
28 gtk_window_resize(GTK_WINDOW(dialog), 300, 80);
29 gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
31 gtk_widget_show_all(dialog);
46 gtk_widget_destroy(dialog);
48 dialog
[all...]
/external/openssh/contrib/
H A Dgnome-ssh-askpass1.c73 GtkWidget *dialog, *entry, *label; local
78 dialog = gnome_dialog_new("OpenSSH", GNOME_STOCK_BUTTON_OK,
85 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox),
90 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), entry, FALSE,
96 gtk_object_set(GTK_OBJECT(dialog), "type", GTK_WINDOW_POPUP, NULL);
97 gnome_dialog_set_default(GNOME_DIALOG(dialog), 0);
98 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
99 gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, TRUE);
100 gnome_dialog_close_hides(GNOME_DIALOG(dialog), TRUE);
101 gtk_container_set_border_width(GTK_CONTAINER(GNOME_DIALOG(dialog)
[all...]
H A Dgnome-ssh-askpass2.c80 ok_dialog(GtkWidget *entry, gpointer dialog) argument
82 g_return_if_fail(GTK_IS_DIALOG(dialog));
83 gtk_dialog_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK);
92 GtkWidget *dialog, *entry; local
99 dialog = gtk_message_dialog_new(NULL, 0,
106 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), entry, FALSE,
112 gtk_window_set_title(GTK_WINDOW(dialog), "OpenSSH");
113 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
114 gtk_window_set_keep_above(GTK_WINDOW(dialog), TRUE);
115 gtk_label_set_line_wrap(GTK_LABEL((GTK_MESSAGE_DIALOG(dialog))
121 G_CALLBACK(ok_dialog), dialog); local
[all...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DDialogTest.java28 final Dialog dialog = new Dialog(null);
29 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
32 assertThat((Dialog) dialogInListener, sameInstance(dialog));
37 dialog.dismiss();
44 Dialog dialog = new Dialog(Robolectric.application);
45 assertNotNull(dialog.getLayoutInflater());
50 TestDialog dialog = new TestDialog();
51 dialog.show();
53 assertTrue(dialog.onStartCalled);
58 Dialog dialog
[all...]
H A DProgressDialogTest.java29 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...]
H A DDialogFragmentTest.java81 Dialog dialog = ShadowDialog.getLatestDialog();
82 assertSame(dialogFromOnCreateDialog, dialog);
91 Dialog dialog = ShadowDialog.getLatestDialog();
92 assertNotNull(dialog);
93 assertSame(dialog, dialogFragment.getDialog());
94 assertNotNull(dialog.findViewById(R.id.title));
104 Dialog dialog = ShadowDialog.getLatestDialog();
105 assertFalse(dialog.isShowing());
106 assertTrue(shadowOf(dialog).hasBeenDismissed());
117 Dialog dialog
223 returnThisDialogFromOnCreateDialog(Dialog dialog) argument
[all...]
/external/fio/
H A Dgerror.c63 GtkWidget *dialog, *content, *label; local
65 dialog = gtk_dialog_new_with_buttons(title, GTK_WINDOW(ui->window),
69 content = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
72 gtk_widget_show_all(dialog);
73 gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT);
74 gtk_dialog_run(GTK_DIALOG(dialog));
75 gtk_widget_destroy(dialog);
H A Dgcompat.h21 static inline GtkWidget *gtk_dialog_get_content_area(GtkDialog *dialog) argument
23 return dialog->vbox;
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DUiUtils.java29 * Opens standard warning dialog.
32 MessageDialog dialog =
40 dialog.open();
/external/nist-sip/java/gov/nist/javax/sip/
H A DDialogTimeoutEvent.java25 * dialog does not receive or send an ACK.
36 * Constructs a DialogTerminatedEvent to indicate a dialog
40 * @param dialog - the dialog that timed out.
42 public DialogTimeoutEvent(Object source, Dialog dialog, Reason reason) { argument
44 m_dialog = dialog;
51 * enables application developers to access the dialog associated to this
54 * @return the dialog associated with the response event or null if there is no dialog.
H A DResponseEventExt.java16 Dialog dialog, Response response) {
17 super(source,clientTransaction,dialog,response);
15 ResponseEventExt(Object source, ClientTransactionExt clientTransaction, Dialog dialog, Response response) argument
H A DDialogFilter.java255 * Process a request. Check for various conditions in the dialog that can result in the
295 SIPDialog dialog = sipStack.getDialog(dialogId);
297 * Check if we got this request on the contact address of the dialog If not the dialog
299 * assigned to the dialog. Forgive the sins of B2BUA's that like to record route ACK's
301 if (dialog != null && sipProvider != dialog.getSipProvider()) {
302 Contact contact = dialog.getMyContactHeader();
316 // Check if the dialog contact is the same as the provider on
318 // dialog t
1117 processResponse(SIPResponse response, MessageChannel incomingMessageChannel, SIPDialog dialog) argument
[all...]
H A DSipProviderImpl.java176 Dialog dialog = ((RequestEvent) sipEvent).getDialog();
177 if ( sipStack.isLoggingEnabled()) sipStack.getStackLogger().logDebug("Dialog = " + dialog);
179 Dialog dialog = ((ResponseEvent) sipEvent).getDialog();
180 if (sipStack.isLoggingEnabled() ) sipStack.getStackLogger().logDebug("Dialog = " + dialog);
342 // Could not find a dialog or the route is not set in dialog.
359 SIPDialog dialog = sipStack.getDialog(dialogId);
360 if (dialog != null && dialog.getState() == DialogState.TERMINATED) {
363 // ("Found a terminated dialog
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DConversationUtils.java45 ArrayList<Conversation> dialog = null;
53 if (dialog == null) {
54 dialog = new ArrayList<Conversation>();
58 dialog.add(currentConversation);
86 return dialog;
/external/nist-sip/java/gov/nist/javax/sip/stack/
H A DSIPClientTransaction.java500 MessageChannel sourceChannel, SIPDialog dialog) {
519 sipStack.getStackLogger().logDebug("dialog = " + dialog);
527 * if (dialog != null && transactionResponse.getStatusCode() != 100 &&
529 * add the route before you process the response. dialog.setLastResponse(this,
530 * transactionResponse); this.setDialog(dialog, transactionResponse.getDialogId(false)); }
535 inviteClientTransaction(transactionResponse, sourceChannel, dialog);
537 nonInviteClientTransaction(transactionResponse, sourceChannel, dialog);
724 MessageChannel sourceChannel, SIPDialog dialog) throws IOException {
729 if (dialog !
499 processResponse(SIPResponse transactionResponse, MessageChannel sourceChannel, SIPDialog dialog) argument
723 inviteClientTransaction(SIPResponse transactionResponse, MessageChannel sourceChannel, SIPDialog dialog) argument
[all...]

Completed in 490 milliseconds

1234