Home
last modified time | relevance | path

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

12345678910>>...13

/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/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDialogTest.java28 final Dialog dialog = new Dialog(null); in shouldCallOnDismissListener() local
29 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() { in shouldCallOnDismissListener()
32 assertThat((Dialog) dialogInListener, sameInstance(dialog)); in shouldCallOnDismissListener()
37 dialog.dismiss(); in shouldCallOnDismissListener()
44 Dialog dialog = new Dialog(Robolectric.application); in shouldGetLayoutInflater() local
45 assertNotNull(dialog.getLayoutInflater()); in shouldGetLayoutInflater()
50 TestDialog dialog = new TestDialog(); in shouldCallOnStartFromShow() local
51 dialog.show(); in shouldCallOnStartFromShow()
53 assertTrue(dialog.onStartCalled); in shouldCallOnStartFromShow()
58 Dialog dialog = new Dialog(null); in shouldSetCancelable() local
[all …]
DProgressDialogTest.java29 private ProgressDialog dialog; field in ProgressDialogTest
34 dialog = new ProgressDialog(null); in setUp()
35 shadow = Robolectric.shadowOf(dialog); in setUp()
48 dialog.setMessage(message); in shouldSetMessage()
54 assertThat(dialog.isIndeterminate(), equalTo(false)); in shouldSetIndeterminate()
56 dialog.setIndeterminate(true); in shouldSetIndeterminate()
57 assertThat(dialog.isIndeterminate(), equalTo(true)); in shouldSetIndeterminate()
59 dialog.setIndeterminate(false); in shouldSetIndeterminate()
60 assertThat(dialog.isIndeterminate(), equalTo(false)); in shouldSetIndeterminate()
113 public void onCancel(DialogInterface dialog) { in show_setsLatestAlertDialogAndLatestDialog_6args()
[all …]
DDialogFragmentTest.java81 Dialog dialog = ShadowDialog.getLatestDialog(); in show_shouldShowDialogThatWasReturnedFromOnCreateDialog_whenOnCreateDialogReturnsADialog() local
82 assertSame(dialogFromOnCreateDialog, dialog); in show_shouldShowDialogThatWasReturnedFromOnCreateDialog_whenOnCreateDialogReturnsADialog()
91 Dialog dialog = ShadowDialog.getLatestDialog(); in show_shouldShowDialogThatWasAutomaticallyCreated_whenOnCreateDialogReturnsNull() local
92 assertNotNull(dialog); in show_shouldShowDialogThatWasAutomaticallyCreated_whenOnCreateDialogReturnsNull()
93 assertSame(dialog, dialogFragment.getDialog()); in show_shouldShowDialogThatWasAutomaticallyCreated_whenOnCreateDialogReturnsNull()
94 assertNotNull(dialog.findViewById(R.id.title)); in show_shouldShowDialogThatWasAutomaticallyCreated_whenOnCreateDialogReturnsNull()
104 Dialog dialog = ShadowDialog.getLatestDialog(); in dismiss_shouldDismissTheDialog() local
105 assertFalse(dialog.isShowing()); in dismiss_shouldDismissTheDialog()
106 assertTrue(shadowOf(dialog).hasBeenDismissed()); in dismiss_shouldDismissTheDialog()
117 Dialog dialog = ShadowDialog.getLatestDialog(); in removeUsingTransaction_shouldDismissTheDialog() local
[all …]
DAlertDialogTest.java53 AlertDialog dialog = new AlertDialog.Builder(new ContextWrapper(null)).show(); in getLatestAlertDialog_shouldReturnARealAlertDialog() local
54 assertThat(ShadowAlertDialog.getLatestAlertDialog(), sameInstance(dialog)); in getLatestAlertDialog_shouldReturnARealAlertDialog()
61 AlertDialog dialog = builder.create(); in shouldOnlyCreateRequestedButtons() local
62 dialog.show(); in shouldOnlyCreateRequestedButtons()
63 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_POSITIVE), not(nullValue())); in shouldOnlyCreateRequestedButtons()
64 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_NEGATIVE), nullValue()); in shouldOnlyCreateRequestedButtons()
71 AlertDialog dialog = builder.create(); in shouldAllowNullButtonListeners() local
72 dialog.show(); in shouldAllowNullButtonListeners()
73 Robolectric.clickOn(dialog.getButton(AlertDialog.BUTTON_POSITIVE)); in shouldAllowNullButtonListeners()
185 public void onClick(DialogInterface dialog, int which) { in clickingNeutralButtonDismissesDialog()
[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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDialogFragment.java23 private Dialog dialog; field in ShadowDialogFragment
44 dialog = realDialogFragment.onCreateDialog(null); in show()
46 if (dialog == null) { in show()
47 dialog = new Dialog(activityFromManager); in show()
48 dialog.setContentView(view); in show()
50 dialog.setCancelable(cancelable); in show()
62 if (dialog != null) { in onStart()
63 dialog.show(); in onStart()
69 if (dialog != null) { in dismiss()
70 dialog.dismiss(); in dismiss()
[all …]
DShadowPreferenceScreen.java12 private Dialog dialog; field in ShadowPreferenceScreen
16 return dialog; in getDialog()
19 public void setDialog(Dialog dialog) { in setDialog() argument
20 this.dialog = dialog; in setDialog()
DShadowActivity.java413 final Dialog dialog = dialogForId.get(id); in dismissDialog() local
414 if (dialog == null) { in dismissDialog()
418 dialog.dismiss(); in dismissDialog()
428 Dialog dialog = null; in showDialog() local
431 dialog = dialogForId.get(id); in showDialog()
433 if (dialog == null) { in showDialog()
435 dialog = (Dialog) invoker.call("onCreateDialog", Integer.TYPE).with(id); in showDialog()
439 .with(id, dialog); in showDialog()
442 .with(id, dialog, bundle); in showDialog()
445 dialogForId.put(id, dialog); in showDialog()
[all …]
/external/avahi/avahi-ui-sharp/
Dbssh.cs10 ServiceDialog dialog = new ServiceDialog ("Choose SSH Server", null, in Main()
13 dialog.BrowseServiceTypes = new string[] { "_ssh._tcp" }; in Main()
14 dialog.ResolveServiceEnabled = true; in Main()
16 if (dialog.Run () == (int) ResponseType.Accept) { in Main()
17 Console.WriteLine ("Connecting to {0}:{1}", dialog.Address, dialog.Port); in Main()
21 foreach (byte[] txtBytes in dialog.TxtData) { in Main()
33dialog.HostName, dialog.Port, user, dialog.Address.ToString ()); in Main()
DServiceDialog.cs17 …private static extern void aui_service_dialog_set_browse_service_typesv (IntPtr dialog, IntPtr[] t… in aui_service_dialog_set_browse_service_typesv() argument
20 private static extern IntPtr aui_service_dialog_get_browse_service_types (IntPtr dialog); in aui_service_dialog_get_browse_service_types() argument
23 private static extern IntPtr aui_service_dialog_get_domain (IntPtr dialog); in aui_service_dialog_get_domain() argument
26 private static extern void aui_service_dialog_set_domain (IntPtr dialog, IntPtr domain); in aui_service_dialog_set_domain() argument
29 private static extern IntPtr aui_service_dialog_get_service_type (IntPtr dialog); in aui_service_dialog_get_service_type() argument
32 private static extern void aui_service_dialog_set_service_type (IntPtr dialog, IntPtr type); in aui_service_dialog_set_service_type() argument
35 private static extern IntPtr aui_service_dialog_get_service_name (IntPtr dialog); in aui_service_dialog_get_service_name() argument
38 private static extern void aui_service_dialog_set_service_name (IntPtr dialog, IntPtr type); in aui_service_dialog_set_service_name() argument
41 private static extern IntPtr aui_service_dialog_get_address (IntPtr dialog); in aui_service_dialog_get_address() argument
44 private static extern UInt16 aui_service_dialog_get_port (IntPtr dialog); in aui_service_dialog_get_port() argument
[all …]
/external/lzma/CPP/7zip/UI/GUI/
DExtractGUI.cpp179 CExtractDialog dialog; in ExtractGUI() local
189 dialog.DirPath = fs2us(outputDirFull); in ExtractGUI()
191 dialog.OverwriteMode = options.OverwriteMode; in ExtractGUI()
192 dialog.OverwriteMode_Force = options.OverwriteMode_Force; in ExtractGUI()
193 dialog.PathMode = options.PathMode; in ExtractGUI()
194 dialog.PathMode_Force = options.PathMode_Force; in ExtractGUI()
195 dialog.ElimDup = options.ElimDup; in ExtractGUI()
198 dialog.ArcPath = archivePathsFull[0]; in ExtractGUI()
202 dialog.NtSecurity = options.NtOptions.NtSecurity; in ExtractGUI()
204 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 …]
DSIPServerTransaction.java185 private SIPDialog dialog; field in SIPServerTransaction
831 SIPDialog thisDialog = (SIPDialog) this.dialog; in processRequest()
979 if (this.dialog != null) in sendMessage()
980 this.dialog.setRetransmissionTicks(); in sendMessage()
1020 if (this.dialog != null) in sendMessage()
1021 this.dialog.setRetransmissionTicks(); in sendMessage()
1172 SIPDialog dialog = (SIPDialog) this.dialog; in fireTimeoutTimer() local
1177 dialog.setState(SIPDialog.TERMINATED_STATE); in fireTimeoutTimer()
1179 if (dialog != null && dialog.isTerminatedOnBye()) in fireTimeoutTimer()
1180 dialog.setState(SIPDialog.TERMINATED_STATE); in fireTimeoutTimer()
[all …]
/external/fio/
Dgerror.c63 GtkWidget *dialog, *content, *label; in gfio_report_info() local
65 dialog = gtk_dialog_new_with_buttons(title, GTK_WINDOW(ui->window), in gfio_report_info()
69 content = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); in gfio_report_info()
72 gtk_widget_show_all(dialog); in gfio_report_info()
73 gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT); in gfio_report_info()
74 gtk_dialog_run(GTK_DIALOG(dialog)); in gfio_report_info()
75 gtk_widget_destroy(dialog); in gfio_report_info()
/external/chromium-trace/catapult/third_party/polymer/components/paper-dialog/
Dpaper-dialog-transition.css8 :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 {
/external/selinux/policycoreutils/gui/
DsemanagePage.py59 self.dialog = xml.get_widget("%sDialog" % name)
137 self.dialog.set_title(_("Add %s" % self.description))
138 self.dialog.set_position(gtk.WIN_POS_MOUSE)
140 while self.dialog.run() == gtk.RESPONSE_OK:
147 self.dialog.hide()
151 self.dialog.set_title(_("Modify %s" % self.description))
152 self.dialog.set_position(gtk.WIN_POS_MOUSE)
153 while self.dialog.run() == gtk.RESPONSE_OK:
160 self.dialog.hide()
/external/opencv3/modules/java/generator/src/java/
Dandroid+BaseLoaderCallback.java37 public void onClick(DialogInterface dialog, int which) { in onManagerConnected()
58 public void onClick(DialogInterface dialog, int which) { in onManagerConnected()
74 public void onClick(DialogInterface dialog, int which) { in onManagerConnected()
96 public void onClick(DialogInterface dialog, int which) in onPackageInstall()
104 public void onClick(DialogInterface dialog, int which) in onPackageInstall()
119 public void onClick(DialogInterface dialog, int which) { in onPackageInstall()
124 public void onClick(DialogInterface dialog, int which) { in onPackageInstall()
/external/replicaisland/src/com/replica/replicaisland/
DConversationUtils.java45 ArrayList<Conversation> dialog = null; in loadDialog() local
53 if (dialog == null) { in loadDialog()
54 dialog = new ArrayList<Conversation>(); in loadDialog()
58 dialog.add(currentConversation); in loadDialog()
86 return dialog; in loadDialog()
/external/libvncserver/webclients/java-applet/ssl/
Dtightvnc-1.3dev7_javasrc-vncviewer-ssl.patch315 + * a dialog and ask them to manually verify/accept it.
482 + * accepted the trustall cert in the dialog (or set
549 + * display it to the user in a dialog.
942 + dbg("viewer.trustAllVncCerts-2 skipping browser certs dialog");
945 + dbg("viewer.serverCert-1 skipping browser certs dialog");
948 + dbg("viewer.trustUrlVncCert-1 skipping browser certs dialog");
951 + /* have a dialog with the user: */
953 + dbg("browser certs dialog begin.");
955 + dbg("browser certs dialog finished.");
967 + dbg("browser certs dialog: user said yes, accept it");
[all …]

12345678910>>...13