HomeSort by relevance Sort by last modified time
    Searched refs:dialog (Results 1 - 25 of 769) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/components/web_modal/
native_web_contents_modal_dialog_manager.h 24 virtual void WillClose(NativeWebContentsModalDialog dialog) = 0;
31 // contents modal dialog.
36 // Starts management of the modal aspects of the dialog. This function should
37 // also register to be notified when the dialog is closing, so that it can
39 virtual void ManageDialog(NativeWebContentsModalDialog dialog) = 0;
41 // Makes the web contents modal dialog visible. Only one web contents modal
42 // dialog is shown at a time per tab.
43 virtual void ShowDialog(NativeWebContentsModalDialog dialog) = 0;
45 // Hides the web contents modal dialog without closing it.
46 virtual void HideDialog(NativeWebContentsModalDialog dialog) = 0
    [all...]
  /external/chromium/chrome/browser/ui/app_modal_dialogs/
app_modal_dialog_queue.cc 9 void AppModalDialogQueue::AddDialog(AppModalDialog* dialog) {
11 ShowModalDialog(dialog);
14 app_modal_dialog_queue_.push(dialog);
18 AppModalDialog* dialog = GetNextDialog(); local
19 if (dialog)
20 ShowModalDialog(dialog);
27 // As part of showing a modal dialog we may end up back in this method
28 // (showing a dialog activates the TabContents, which can trigger a call
30 // activate the tab contents the dialog is shown.
48 void AppModalDialogQueue::ShowModalDialog(AppModalDialog* dialog) {
62 AppModalDialog* dialog = app_modal_dialog_queue_.front(); local
    [all...]
  /external/chromium_org/chrome/browser/ui/app_modal_dialogs/
app_modal_dialog_queue.cc 15 void AppModalDialogQueue::AddDialog(AppModalDialog* dialog) {
17 ShowModalDialog(dialog);
20 app_modal_dialog_queue_.push_back(dialog);
24 AppModalDialog* dialog = GetNextDialog(); local
25 if (dialog)
26 ShowModalDialog(dialog);
33 // As part of showing a modal dialog we may end up back in this method
34 // (showing a dialog activates the WebContents, which can trigger a call
36 // activate the tab contents the dialog is shown.
55 void AppModalDialogQueue::ShowModalDialog(AppModalDialog* dialog) {
69 AppModalDialog* dialog = app_modal_dialog_queue_.front(); local
    [all...]
  /external/robolectric/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...]
  /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() {
  /external/chromium_org/chrome/browser/ui/gtk/
simple_message_box_gtk.cc 13 void SetDialogTitle(GtkWidget* dialog, const string16& title) {
14 gtk_window_set_title(GTK_WINDOW(dialog), UTF16ToUTF8(title).c_str());
16 // The following code requires the dialog to be realized.
17 gtk_widget_realize(dialog);
21 gtk_widget_size_request(dialog, &req);
23 gtk_util::GetWidgetSizeFromCharacters(dialog, title.length(), 0,
31 gtk_widget_set_size_request(dialog, width, -1);
63 GtkWidget* dialog = gtk_message_dialog_new(parent, local
69 gtk_util::ApplyMessageDialogQuirks(dialog);
70 SetDialogTitle(dialog, title)
    [all...]
chrome_browser_main_extra_parts_gtk.cc 42 GtkWidget* dialog = gtk_message_dialog_new( local
54 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog),
59 gtk_window_set_title(GTK_WINDOW(dialog), message.c_str());
61 gtk_dialog_run(GTK_DIALOG(dialog));
62 gtk_widget_destroy(dialog);
69 GtkWidget* dialog = gtk_message_dialog_new( local
77 gtk_window_set_title(GTK_WINDOW(dialog), message);
78 gtk_dialog_run(GTK_DIALOG(dialog));
79 gtk_widget_destroy(dialog);
web_contents_modal_dialog_manager_gtk.cc 17 // Web contents modal dialog manager implementation for the GTK port. Unlike the
19 // instead just centers the dialog. It is thus an order of magnitude simpler.
33 virtual void ManageDialog(NativeWebContentsModalDialog dialog) OVERRIDE {
34 DCHECK(g_object_is_floating(GetGtkWidget(dialog)));
35 g_object_ref_sink(GetGtkWidget(dialog));
37 g_signal_connect(GetGtkWidget(dialog), "hierarchy-changed",
39 g_signal_connect(GetGtkWidget(dialog),
45 virtual void ShowDialog(NativeWebContentsModalDialog dialog) OVERRIDE {
46 GtkWidget* widget = GetGtkWidget(dialog);
62 virtual void HideDialog(NativeWebContentsModalDialog dialog) OVERRIDE
    [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;
27 * Media route chooser dialog fragment.
30 * this dialog fragment to customize the media route chooser dialog.
41 * Creates a media route chooser dialog fragment.
65 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog(); local
66 if (dialog != null) {
67 dialog.setRouteTypes(types);
76 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog(); local
77 if (dialog != null)
96 MediaRouteChooserDialog dialog = onCreateChooserDialog(getActivity(), savedInstanceState); local
    [all...]
  /external/openssh/contrib/
gnome-ssh-askpass1.c 73 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)->vbox)
    [all...]
gnome-ssh-askpass2.c 80 ok_dialog(GtkWidget *entry, gpointer dialog)
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))->label)
121 G_CALLBACK(ok_dialog), dialog); local
    [all...]
  /external/chromium/chrome/browser/
platform_util_common_linux.cc 21 void SetDialogTitle(GtkWidget* dialog, const string16& title) {
22 gtk_window_set_title(GTK_WINDOW(dialog), UTF16ToUTF8(title).c_str());
25 // The following code requires the dialog to be realized. However, we host
26 // dialog's content in a Chrome window without really realize the dialog
28 gtk_widget_realize(dialog);
32 gtk_widget_size_request(dialog, &req);
34 gtk_util::GetWidgetSizeFromCharacters(dialog, title.length(), 0,
42 gtk_widget_set_size_request(dialog, width, -1);
86 GtkWidget* dialog = gtk_message_dialog_new(parent, GTK_DIALOG_MODAL local
98 GtkWidget* dialog = gtk_message_dialog_new(parent, GTK_DIALOG_MODAL, local
    [all...]
  /external/chromium-trace/trace-viewer/src/tracing/
record_selection_dialog.css 6 .record-selection-dialog {
11 .record-selection-dialog .default-enabled-categories {
15 .record-selection-dialog .default-disabled-categories {
21 .record-selection-dialog .categories {
26 .record-selection-dialog form {
34 .record-selection-dialog .options {
40 .record-selection-dialog td {
44 .record-selection-dialog .options label {
  /external/chromium_org/chrome/browser/ui/libgtk2ui/
select_file_dialog_impl_gtk2.cc 35 // Set |dialog| as transient for |parent|, which will keep it on top and center
37 void SetGtkTransientForAura(GtkWidget* dialog, aura::Window* parent) {
38 gtk_widget_realize(dialog);
39 GdkWindow* gdk_window = gtk_widget_get_window(dialog);
47 // We also set the |parent| as a property of |dialog|, so that we can unlink
49 g_object_set_data(G_OBJECT(dialog), kAuraTransientParent, parent);
67 // Implementation of SelectFileDialog that shows a Gtk common dialog for
68 // choosing a file or folder. This acts as a modal dialog.
100 void FileSelected(GtkWidget* dialog, const base::FilePath& path);
103 void MultiFilesSelected(GtkWidget* dialog,
240 GtkWidget* dialog = NULL; local
376 GtkWidget* dialog = local
417 GtkWidget* dialog = local
446 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local
460 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local
472 GtkWidget* dialog = local
    [all...]
  /external/robolectric/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...]
  /external/chromium_org/ui/shell_dialogs/gtk/
select_file_dialog_impl_gtk.cc 38 // Implementation of SelectFileDialog that shows a Gtk common dialog for
39 // choosing a file or folder. This acts as a modal dialog.
67 void FileSelected(GtkWidget* dialog, const base::FilePath& path);
70 void MultiFilesSelected(GtkWidget* dialog,
74 // Dialog is passed so we can find that |params| pointer that was passed to
75 // us when we were told to show the dialog.
76 void FileNotSelected(GtkWidget* dialog);
93 // Removes and returns the |params| associated with |dialog| from
95 void* PopParamsForDialog(GtkWidget* dialog);
97 // Take care of internal data structures when a file dialog is destroyed
194 GtkWidget* dialog = NULL; local
332 GtkWidget* dialog = local
372 GtkWidget* dialog = local
400 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local
414 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local
426 GtkWidget* dialog = local
    [all...]
  /external/chromium/chrome/browser/ui/gtk/
dialogs_gtk.cc 26 // the dialog, but usually not the height). The image's aspect ratio will always
31 // Implementation of SelectFileDialog that shows a Gtk common dialog for
32 // choosing a file or folder. This acts as a modal dialog.
59 void FileSelected(GtkWidget* dialog, const FilePath& path);
62 void MultiFilesSelected(GtkWidget* dialog,
66 // Dialog is passed so we can find that |params| pointer that was passed to
67 // us when we were told to show the dialog.
68 void FileNotSelected(GtkWidget* dialog);
82 // Removes and returns the |params| associated with |dialog| from
84 void* PopParamsForDialog(GtkWidget* dialog);
217 GtkWidget* dialog = NULL; local
352 GtkWidget* dialog = local
384 GtkWidget* dialog = local
410 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local
423 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local
435 GtkWidget* dialog = local
    [all...]
  /external/chromium/chrome/browser/ui/gtk/download/
download_in_progress_dialog_gtk.cc 56 GtkWidget* dialog = gtk_message_dialog_new( local
63 gtk_util::AddButtonToDialog(dialog,
66 gtk_util::AddButtonToDialog(dialog,
70 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog),
74 g_signal_connect(dialog, "response", G_CALLBACK(OnResponseThunk), this);
76 gtk_widget_show_all(dialog);
79 void DownloadInProgressDialogGtk::OnResponse(GtkWidget* dialog,
81 gtk_widget_destroy(dialog);
  /packages/apps/InCallUI/src/com/android/incallui/
PostCharDialogFragment.java 21 import android.app.Dialog;
28 * Pop up an alert dialog with OK and Cancel buttons to allow user to Accept or Reject the WAIT
42 public Dialog onCreateDialog(Bundle savedInstanceState) {
54 public void onClick(DialogInterface dialog, int whichButton) {
60 public void onClick(DialogInterface dialog, int whichButton) {
61 dialog.cancel();
65 final AlertDialog dialog = builder.create(); local
66 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
67 return dialog;
71 public void onCancel(DialogInterface dialog) {
    [all...]
  /external/chromium_org/ui/views/window/
dialog_delegate_unittest.cc 82 // Prevent the dialog from closing, for repeated ok and cancel button clicks.
106 TestDialog* dialog() const { return dialog_; } function in class:views::__anon16984::DialogTest
117 DialogClientView* client_view = dialog()->GetDialogClientView();
122 EXPECT_EQ(ui::DIALOG_BUTTON_OK, dialog()->GetDefaultDialogButton());
123 dialog()->PressEnterAndCheckStates(ok_button);
125 // Focus another button in the dialog, it should become the default.
126 LabelButton* button_1 = new LabelButton(dialog(), string16());
130 dialog()->PressEnterAndCheckStates(button_1);
137 dialog()->PressEnterAndCheckStates(ok_button);
139 // Focus yet another button in the dialog, it should become the default
    [all...]

Completed in 690 milliseconds

1 2 3 4 5 6 7 8 91011>>