Home
last modified time | relevance | path

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

12345678910>>...15

/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_query.py46 dialog = self.Dummy_Query(' ')
47 self.assertEqual(dialog.entry_ok(), None)
48 self.assertEqual((dialog.result, dialog.destroyed), (None, False))
49 self.assertIn('blank line', dialog.entry_error['text'])
52 dialog = self.Dummy_Query(' good ')
54 Equal(dialog.entry_ok(), 'good')
55 Equal((dialog.result, dialog.destroyed), (None, False))
56 Equal(dialog.entry_error['text'], '')
59 dialog = self.Dummy_Query('')
60 dialog.entry.focus_set = mock.Mock()
[all …]
Dtest_config_key.py37 cls.dialog = cls.Validator(
42 cls.dialog.cancel()
45 del cls.dialog, cls.root
48 self.dialog.showerror.message = ''
53 self.dialog.key_string.set(' ')
54 self.dialog.ok()
55 self.assertEqual(self.dialog.result, '')
56 self.assertEqual(self.dialog.showerror.message, 'No key specified.')
59 self.dialog.key_string.set('<Key-F11>')
60 self.dialog.list_keys_final.get.result = 'F11'
[all …]
Dtest_searchbase.py40 self.dialog = sdb.SearchDialogBase(root=self.root, engine=self.engine)
43 self.dialog.close()
47 self.dialog.default_command = None
51 self.dialog.open('text')
52 self.assertEqual(self.dialog.top.state(), 'normal')
53 self.dialog.close()
54 self.assertEqual(self.dialog.top.state(), 'withdrawn')
56 self.dialog.open('text', searchphrase="hello")
57 self.assertEqual(self.dialog.ent.get(), 'hello')
58 self.dialog.close()
[all …]
Dtest_help_about.py29 cls.dialog = About(cls.root, 'About IDLE', _utest=True)
33 del cls.dialog
43 self.assertEqual(self.dialog.title(), 'About IDLE')
47 path, file = os.path.split(self.dialog.icon_image['file'])
53 dialog = self.dialog
54 button_sources = [(dialog.py_license, license, 'license'),
55 (dialog.py_copyright, copyright, 'copyright'),
56 (dialog.py_credits, credits, 'credits')]
62 get = dialog._current_textview.viewframe.textframe.text.get
68 dialog._current_textview.destroy()
[all …]
/external/u-boot/scripts/kconfig/lxdialog/
Dinputbox.c16 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
21 print_button(dialog, gettext(" Ok "), y, x, selected == 0); in print_buttons()
22 print_button(dialog, gettext(" Help "), y, x + 14, selected == 1); in print_buttons()
24 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons()
25 wrefresh(dialog); in print_buttons()
38 WINDOW *dialog; in dialog_inputbox() local
57 dialog = newwin(height, width, y, x); in dialog_inputbox()
58 keypad(dialog, TRUE); in dialog_inputbox()
60 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
61 dlg.dialog.atr, dlg.border.atr); in dialog_inputbox()
[all …]
Dyesno.c14 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
19 print_button(dialog, gettext(" Yes "), y, x, selected == 0); in print_buttons()
20 print_button(dialog, gettext(" No "), y, x + 13, selected == 1); in print_buttons()
22 wmove(dialog, y, x + 1 + 13 * selected); in print_buttons()
23 wrefresh(dialog); in print_buttons()
32 WINDOW *dialog; in dialog_yesno() local
46 dialog = newwin(height, width, y, x); in dialog_yesno()
47 keypad(dialog, TRUE); in dialog_yesno()
49 draw_box(dialog, 0, 0, height, width, in dialog_yesno()
50 dlg.dialog.atr, dlg.border.atr); in dialog_yesno()
[all …]
Dtextbox.c26 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument
31 print_position(dialog); in refresh_text_box()
32 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ in refresh_text_box()
33 wrefresh(dialog); in refresh_text_box()
49 WINDOW *dialog, *box; in dialog_textbox() local
93 dialog = newwin(height, width, y, x); in dialog_textbox()
94 keypad(dialog, TRUE); in dialog_textbox()
99 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox()
100 wattrset(box, dlg.dialog.atr); in dialog_textbox()
101 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox()
[all …]
Dchecklist.c88 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
93 print_button(dialog, gettext("Select"), y, x, selected == 0); in print_buttons()
94 print_button(dialog, gettext(" Help "), y, x + 14, selected == 1); in print_buttons()
96 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons()
97 wrefresh(dialog); in print_buttons()
109 WINDOW *dialog, *list; in dialog_checklist() local
135 dialog = newwin(height, width, y, x); in dialog_checklist()
136 keypad(dialog, TRUE); in dialog_checklist()
138 draw_box(dialog, 0, 0, height, width, in dialog_checklist()
139 dlg.dialog.atr, dlg.border.atr); in dialog_checklist()
[all …]
Dmenubox.c178 WINDOW *dialog, *menu; in dialog_menu() local
198 dialog = newwin(height, width, y, x); in dialog_menu()
199 keypad(dialog, TRUE); in dialog_menu()
201 draw_box(dialog, 0, 0, height, width, in dialog_menu()
202 dlg.dialog.atr, dlg.border.atr); in dialog_menu()
203 wattrset(dialog, dlg.border.atr); in dialog_menu()
204 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_menu()
206 waddch(dialog, ACS_HLINE); in dialog_menu()
207 wattrset(dialog, dlg.dialog.atr); in dialog_menu()
208 wbkgdset(dialog, dlg.dialog.atr & A_COLOR); in dialog_menu()
[all …]
/external/toybox/kconfig/lxdialog/
Dinputbox.c29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
34 print_button(dialog, " Ok ", y, x, selected == 0); in print_buttons()
35 print_button(dialog, " Help ", y, x + 14, selected == 1); in print_buttons()
37 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons()
38 wrefresh(dialog); in print_buttons()
50 WINDOW *dialog; in dialog_inputbox() local
69 dialog = newwin(height, width, y, x); in dialog_inputbox()
70 keypad(dialog, TRUE); in dialog_inputbox()
72 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
73 dlg.dialog.atr, dlg.border.atr); in dialog_inputbox()
[all …]
Dyesno.c27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
32 print_button(dialog, " Yes ", y, x, selected == 0); in print_buttons()
33 print_button(dialog, " No ", y, x + 13, selected == 1); in print_buttons()
35 wmove(dialog, y, x + 1 + 13 * selected); in print_buttons()
36 wrefresh(dialog); in print_buttons()
45 WINDOW *dialog; in dialog_yesno() local
59 dialog = newwin(height, width, y, x); in dialog_yesno()
60 keypad(dialog, TRUE); in dialog_yesno()
62 draw_box(dialog, 0, 0, height, width, in dialog_yesno()
63 dlg.dialog.atr, dlg.border.atr); in dialog_yesno()
[all …]
Dtextbox.c38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument
42 print_position(dialog); in refresh_text_box()
43 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ in refresh_text_box()
44 wrefresh(dialog); in refresh_text_box()
57 WINDOW *dialog, *box; in dialog_textbox() local
91 dialog = newwin(height, width, y, x); in dialog_textbox()
92 keypad(dialog, TRUE); in dialog_textbox()
97 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox()
98 wattrset(box, dlg.dialog.atr); in dialog_textbox()
99 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox()
[all …]
Dchecklist.c95 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
100 print_button(dialog, "Select", y, x, selected == 0); in print_buttons()
101 print_button(dialog, " Help ", y, x + 14, selected == 1); in print_buttons()
103 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons()
104 wrefresh(dialog); in print_buttons()
116 WINDOW *dialog, *list; in dialog_checklist() local
142 dialog = newwin(height, width, y, x); in dialog_checklist()
143 keypad(dialog, TRUE); in dialog_checklist()
145 draw_box(dialog, 0, 0, height, width, in dialog_checklist()
146 dlg.dialog.atr, dlg.border.atr); in dialog_checklist()
[all …]
Dmenubox.c189 WINDOW *dialog, *menu; in dialog_menu() local
209 dialog = newwin(height, width, y, x); in dialog_menu()
210 keypad(dialog, TRUE); in dialog_menu()
212 draw_box(dialog, 0, 0, height, width, in dialog_menu()
213 dlg.dialog.atr, dlg.border.atr); in dialog_menu()
214 wattrset(dialog, dlg.border.atr); in dialog_menu()
215 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_menu()
217 waddch(dialog, ACS_HLINE); in dialog_menu()
218 wattrset(dialog, dlg.dialog.atr); in dialog_menu()
219 wbkgdset(dialog, dlg.dialog.atr & A_COLOR); in dialog_menu()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDialogTest.java43 final Dialog dialog = new Dialog(context); in shouldCallOnDismissListener() local
44 dialog.show(); in shouldCallOnDismissListener()
45 dialog.setOnDismissListener( in shouldCallOnDismissListener()
47 assertThat(dialogInListener).isSameAs(dialog); in shouldCallOnDismissListener()
51 dialog.dismiss(); in shouldCallOnDismissListener()
59 final Dialog dialog = new Dialog(context); in setContentViewWithViewAllowsFindById() local
62 dialog.setContentView(view); in setContentViewWithViewAllowsFindById()
64 assertSame(view, dialog.findViewById(viewId)); in setContentViewWithViewAllowsFindById()
69 Dialog dialog = new Dialog(context); in shouldGetLayoutInflater() local
70 assertNotNull(dialog.getLayoutInflater()); in shouldGetLayoutInflater()
[all …]
DShadowProgressDialogTest.java18 private ProgressDialog dialog; field in ShadowProgressDialogTest
23 dialog = new ProgressDialog(ApplicationProvider.getApplicationContext()); in setUp()
24 shadow = Shadows.shadowOf(dialog); in setUp()
39 dialog.setMessage(message); in shouldPutTheMessageIntoTheView()
45 assertThat(dialog.isIndeterminate()).isFalse(); in shouldSetIndeterminate()
47 dialog.setIndeterminate(true); in shouldSetIndeterminate()
48 assertThat(dialog.isIndeterminate()).isTrue(); in shouldSetIndeterminate()
50 dialog.setIndeterminate(false); in shouldSetIndeterminate()
51 assertThat(dialog.isIndeterminate()).isFalse(); in shouldSetIndeterminate()
56 assertThat(dialog.getMax()).isEqualTo(0); in shouldSetMax()
[all …]
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_searchdialogbase.py39 self.dialog = sdb.SearchDialogBase(root=self.root, engine=self.engine)
42 self.dialog.close()
46 self.dialog.default_command = None
50 self.dialog.open('text')
51 self.assertEqual(self.dialog.top.state(), 'normal')
52 self.dialog.close()
53 self.assertEqual(self.dialog.top.state(), 'withdrawn')
55 self.dialog.open('text', searchphrase="hello")
56 self.assertEqual(self.dialog.ent.get(), 'hello')
57 self.dialog.close()
[all …]
Dtest_config_name.py28 dialog = Dummy_name_dialog() variable in ConfigNameTest
39 self.dialog.name.set(' ')
40 self.assertEqual(self.dialog.name_ok(), '')
45 self.dialog.name.set('used')
46 self.assertEqual(self.dialog.name_ok(), '')
51 self.dialog.name.set('good'*8)
52 self.assertEqual(self.dialog.name_ok(), '')
57 self.dialog.name.set(' good ')
59 self.assertEqual(self.dialog.name_ok(), 'good')
63 self.dialog.destroyed = False
[all …]
/external/ltp/
Dltpmenu83 dialog --backtitle "Linux Test Project Control Centre" \
105 dialog --backtitle "Linux Test Project Control Centre" \
170 dialog --clear
171 dialog --backtitle "Linux Test Project Control Centre" \
178 dialog --clear
179 dialog --backtitle "Linux Test Project Control Centre" \
183 dialog --backtitle "Linux Test Project Control Centre" \
201 dialog --clear
202 dialog --backtitle "Linux Test Project Control Centre" \
220 dialog --backtitle "Linux Test Project Control Centre"\
[all …]
/external/openssh/contrib/
Dgnome-ssh-askpass1.c73 GtkWidget *dialog, *entry, *label; in passphrase_dialog() local
78 dialog = gnome_dialog_new("OpenSSH", GNOME_STOCK_BUTTON_OK, in passphrase_dialog()
85 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), in passphrase_dialog()
90 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), entry, FALSE, in passphrase_dialog()
96 gtk_object_set(GTK_OBJECT(dialog), "type", GTK_WINDOW_POPUP, NULL); in passphrase_dialog()
97 gnome_dialog_set_default(GNOME_DIALOG(dialog), 0); in passphrase_dialog()
98 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); in passphrase_dialog()
99 gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, TRUE); in passphrase_dialog()
100 gnome_dialog_close_hides(GNOME_DIALOG(dialog), TRUE); in passphrase_dialog()
101 gtk_container_set_border_width(GTK_CONTAINER(GNOME_DIALOG(dialog)->vbox), in passphrase_dialog()
[all …]
Dgnome-ssh-askpass2.c78 ok_dialog(GtkWidget *entry, gpointer dialog) in ok_dialog() argument
80 g_return_if_fail(GTK_IS_DIALOG(dialog)); in ok_dialog()
81 gtk_dialog_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); in ok_dialog()
90 GtkWidget *parent_window, *dialog, *entry; in passphrase_dialog() local
101 dialog = gtk_message_dialog_new(GTK_WINDOW(parent_window), 0, in passphrase_dialog()
109 GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), entry, in passphrase_dialog()
115 gtk_window_set_title(GTK_WINDOW(dialog), "OpenSSH"); in passphrase_dialog()
116 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); in passphrase_dialog()
117 gtk_window_set_keep_above(GTK_WINDOW(dialog), TRUE); in passphrase_dialog()
120 gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); in passphrase_dialog()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/
DDialogFilter.java295 SIPDialog dialog = sipStack.getDialog(dialogId); in processRequest() local
301 if (dialog != null && sipProvider != dialog.getSipProvider()) { in processRequest()
302 Contact contact = dialog.getMyContactHeader(); in processRequest()
328 dialog = null; in processRequest()
356 sipStack.getStackLogger().logDebug("dialog = " + dialog); in processRequest()
392 if (sipRequest.getMethod().equals(Request.REFER) && dialog != null in processRequest()
410 SIPTransaction lastTransaction = ((SIPDialog) dialog).getLastTransaction(); in processRequest()
414 if (!((SIPDialog) dialog).isAckSeen() in processRequest()
422 if (method.equals(Request.INVITE) && !dialog.isAckSent(cseqno)) { in processRequest()
435 if (sipProvider.isAutomaticDialogSupportEnabled() && dialog == null) { in processRequest()
[all …]
DSipProviderImpl.java176 Dialog dialog = ((RequestEvent) sipEvent).getDialog(); in handleEvent() local
177 … if ( sipStack.isLoggingEnabled()) sipStack.getStackLogger().logDebug("Dialog = " + dialog); in handleEvent()
179 Dialog dialog = ((ResponseEvent) sipEvent).getDialog(); in handleEvent() local
180 … if (sipStack.isLoggingEnabled() ) sipStack.getStackLogger().logDebug("Dialog = " + dialog); in handleEvent()
359 SIPDialog dialog = sipStack.getDialog(dialogId); in getNewClientTransaction() local
360 if (dialog != null && dialog.getState() == DialogState.TERMINATED) { in getNewClientTransaction()
365 sipStack.removeDialog(dialog); in getNewClientTransaction()
412 if (dialog != null) in getNewClientTransaction()
413 ct.setDialog(dialog, sipRequest.getDialogId(false)); in getNewClientTransaction()
419 if (dialog != null) { in getNewClientTransaction()
[all …]
/external/lzma/CPP/7zip/UI/GUI/
DExtractGUI.cpp188 CExtractDialog dialog; in ExtractGUI() local
198 dialog.DirPath = fs2us(outputDirFull); in ExtractGUI()
200 dialog.OverwriteMode = options.OverwriteMode; in ExtractGUI()
201 dialog.OverwriteMode_Force = options.OverwriteMode_Force; in ExtractGUI()
202 dialog.PathMode = options.PathMode; in ExtractGUI()
203 dialog.PathMode_Force = options.PathMode_Force; in ExtractGUI()
204 dialog.ElimDup = options.ElimDup; in ExtractGUI()
207 dialog.ArcPath = archivePathsFull[0]; in ExtractGUI()
211 dialog.NtSecurity = options.NtOptions.NtSecurity; in ExtractGUI()
213 dialog.Password = extractCallback->Password; in ExtractGUI()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPClientTransaction.java500 MessageChannel sourceChannel, SIPDialog dialog) { in processResponse() argument
519 sipStack.getStackLogger().logDebug("dialog = " + dialog); in processResponse()
535 inviteClientTransaction(transactionResponse, sourceChannel, dialog); in processResponse()
537 nonInviteClientTransaction(transactionResponse, sourceChannel, dialog); in processResponse()
724 MessageChannel sourceChannel, SIPDialog dialog) throws IOException { in inviteClientTransaction() argument
729 if (dialog != null && dialog.isAckSeen() && dialog.getLastAckSent() != null) { in inviteClientTransaction()
730 … if (dialog.getLastAckSent().getCSeq().getSeqNumber() == transactionResponse.getCSeq() in inviteClientTransaction()
733 dialog.getLastAckSent().getFromTag())) { in inviteClientTransaction()
739 if (dialog!= null && ackAlreadySent in inviteClientTransaction()
740 && transactionResponse.getCSeq().getMethod().equals(dialog.getMethod())) { in inviteClientTransaction()
[all …]

12345678910>>...15