HomeSort by relevance Sort by last modified time
    Searched refs:dialog (Results 26 - 50 of 803) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/openssh/contrib/
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/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
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...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
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...]
  /external/chromium_org/chrome/browser/ui/views/
select_file_dialog_extension_unittest.cc 26 SelectFileDialogExtension* dialog = new SelectFileDialogExtension(listener, local
28 // Simulate the dialog opening.
30 dialog->AddPending(kDefaultRoutingID);
32 return dialog;
63 // Client of a SelectFileDialog that deletes itself whenever the dialog
76 SelectFileDialogExtension* dialog() const { return dialog_.get(); } function in class:SelfDeletingClient
92 scoped_refptr<SelectFileDialogExtension> dialog = local
98 // Simulate closing the dialog so the listener gets invoked.
99 dialog->ExtensionDialogClosing(NULL);
106 scoped_refptr<SelectFileDialogExtension> dialog local
    [all...]
  /packages/services/Telephony/src/com/android/phone/
ErrorDialogActivity.java 27 * Used to display an error dialog from within the Telephony service when an outgoing call fails
62 public void onClick(DialogInterface dialog, int which) {
68 public void onCancel(DialogInterface dialog) {
86 public void onClick(DialogInterface dialog, int which) {
91 public void onClick(DialogInterface dialog, int which) {
92 addVoiceMailNumberPanel(dialog);
96 public void onCancel(DialogInterface dialog) {
102 private void addVoiceMailNumberPanel(DialogInterface dialog) {
103 if (dialog != null) {
104 dialog.dismiss()
    [all...]
  /external/chromium_org/ui/webui/resources/css/
dialogs.css 5 .cr-dialog-container {
20 .cr-dialog-frame {
35 .cr-dialog-frame:focus {
54 .cr-dialog-frame.pulse {
61 .shown > .cr-dialog-frame {
67 .cr-dialog-frame {
75 .cr-dialog-shield {
88 .shown > .cr-dialog-shield {
97 .cr-dialog-title {
107 .cr-dialog-text
    [all...]
  /external/chromium_org/ui/views/window/
dialog_delegate_unittest.cc 81 // Prevent the dialog from closing, for repeated ok and cancel button clicks.
105 TestDialog* dialog() const { return dialog_; } function in class:views::__anon17910::DialogTest
116 DialogClientView* client_view = dialog()->GetDialogClientView();
120 EXPECT_EQ(ui::DIALOG_BUTTON_OK, dialog()->GetDefaultDialogButton());
121 dialog()->PressEnterAndCheckStates(ok_button);
123 // Focus another button in the dialog, it should become the default.
124 LabelButton* button_1 = new LabelButton(dialog(), string16());
128 dialog()->PressEnterAndCheckStates(button_1);
135 dialog()->PressEnterAndCheckStates(ok_button);
137 // Focus yet another button in the dialog, it should become the default
    [all...]
  /external/chromium/chrome/browser/ui/app_modal_dialogs/
native_app_modal_dialog.h 19 // Shows the dialog.
22 // Activates the dialog.
25 // Closes the dialog.
28 // Accepts or cancels the dialog.
32 // Creates an app modal dialog for a JavaScript prompt.
34 JavaScriptAppModalDialog* dialog,
app_modal_dialog_queue.h 16 // dialog is shown at a time.
23 // Adds a modal dialog to the queue, if there are no other dialogs in the
24 // queue, the dialog will be shown immediately. Once it is shown, the
27 // activate any other browser windows. So the dialog being shown should
31 // Note: The AppModalDialog |dialog| must be window modal before it
33 void AddDialog(AppModalDialog* dialog);
35 // Removes the current dialog in the queue (the one that is being shown).
36 // Shows the next dialog in the queue, if any is present. This does not
37 // ensure that the currently showing dialog is closed, it just makes it no
41 // Activates and shows the current dialog, if the user clicks on one of th
    [all...]
  /external/chromium_org/chrome/browser/ui/app_modal_dialogs/
native_app_modal_dialog.h 18 // Shows the dialog.
21 // Activates the dialog.
24 // Closes the dialog.
27 // Accepts or cancels the dialog.
31 // Creates an app modal dialog for a JavaScript prompt.
33 JavaScriptAppModalDialog* dialog,
  /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);
  /external/chromium_org/content/shell/browser/
shell_javascript_dialog_win.cc 16 INT_PTR CALLBACK ShellJavaScriptDialog::DialogProc(HWND dialog,
22 SetWindowLongPtr(dialog, DWLP_USER, static_cast<LONG_PTR>(lparam));
25 owner->dialog_win_ = dialog;
26 SetDlgItemText(dialog, IDC_DIALOGTEXT, owner->message_text_.c_str());
28 SetDlgItemText(dialog, IDC_PROMPTEDIT,
34 GetWindowLongPtr(dialog, DWLP_USER));
44 GetWindowLongPtr(dialog, DWLP_USER));
54 GetWindowTextLength(GetDlgItem(dialog, IDC_PROMPTEDIT)) + 1;
55 GetDlgItemText(dialog, IDC_PROMPTEDIT,
67 DestroyWindow(dialog);
    [all...]
  /external/chromium/chrome/browser/ui/cocoa/
js_modal_dialog_cocoa.h 25 explicit JSModalDialogCocoa(JavaScriptAppModalDialog* dialog);
36 JavaScriptAppModalDialog* dialog() const { return dialog_.get(); } function in class:JSModalDialogCocoa
  /external/chromium_org/chrome/browser/ui/cocoa/
javascript_app_modal_dialog_cocoa.h 24 explicit JavaScriptAppModalDialogCocoa(JavaScriptAppModalDialog* dialog);
35 JavaScriptAppModalDialog* dialog() const { return dialog_.get(); } function in class:JavaScriptAppModalDialogCocoa
  /external/chromium_org/chrome/browser/ui/gtk/download/
download_in_progress_dialog_gtk.cc 71 // This dialog should have been created within the same thread invocation
81 GtkWidget* dialog = gtk_message_dialog_new( local
88 gtk_dialog_add_button(GTK_DIALOG(dialog),
90 gtk_dialog_add_button(GTK_DIALOG(dialog),
93 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog),
97 g_signal_connect(dialog, "response", G_CALLBACK(OnResponseThunk), this);
99 gtk_widget_show_all(dialog);
105 void DownloadInProgressDialogGtk::OnResponse(GtkWidget* dialog,
107 gtk_widget_destroy(dialog);
  /packages/apps/Calendar/src/com/android/calendar/
EditResponseHelper.java 52 * -1 means no choice selected, or the dialog was
66 public void onClick(DialogInterface dialog, int which) {
71 public void onDismiss(DialogInterface dialog) {
73 // that the dialog was canceled.
81 mDismissListener.onDismiss(dialog);
99 public void onClick(DialogInterface dialog, int which) {
113 * Set the dismiss listener to be called when the dialog is ended. There,
114 * use getWhichEvents() to see how the dialog was dismissed; if it returns
115 * -1, the dialog was canceled out. If it is not -1, it's the index of
129 AlertDialog dialog = new AlertDialog.Builder(mParent).setTitle local
    [all...]
  /frameworks/support/v7/mediarouter/src/android/support/v7/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.
38 * Creates a media route chooser dialog fragment.
91 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog(); local
92 if (dialog != null) {
93 dialog.setRouteSelector(selector);
99 * Called when the chooser dialog is being created.
101 * Subclasses may override this method to customize the dialog
111 MediaRouteChooserDialog dialog = onCreateChooserDialog(getActivity(), savedInstanceState); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/
EditPinPreference.java 19 import android.app.Dialog;
63 Dialog dialog = getDialog(); local
64 return dialog != null && dialog.isShowing();
76 Dialog dialog = getDialog(); local
77 if (dialog == null || !dialog.isShowing()) {
  /external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ui/
file_manager_dialog_base.js 10 * @param {HTMLElement} parentNode Parent node of the dialog.
24 * dialog to file manager.
40 * The flag if any dialog is shown. True if a dialog is visible, false
51 * @return {boolean} True if the dialog can show successfully. False if the
52 * dialog failed to show due to an existing dialog.
64 * @return {boolean} True if the dialog can show successfully. False if the
65 * dialog failed to show due to an existing dialog
    [all...]
  /external/chromium_org/chrome/browser/ui/gtk/extensions/
media_galleries_dialog_gtk_unittest.cc 75 MediaGalleriesDialogGtk dialog(&controller);
76 EXPECT_EQ(2U, dialog.checkbox_map_.size());
78 GtkWidget* checkbox1 = dialog.checkbox_map_[1];
82 GtkWidget* checkbox2 = dialog.checkbox_map_[2];
103 MediaGalleriesDialogGtk dialog(&controller);
104 EXPECT_EQ(1U, dialog.checkbox_map_.size());
106 dialog.checkbox_map_[1];
118 // a gallery that the dialog hasn't seen before.
131 MediaGalleriesDialogGtk dialog(&controller);
133 EXPECT_TRUE(dialog.checkbox_map_.empty())
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/
IndeterminateProgressDialog.java 17 package com.android.contacts.common.dialog;
19 import android.app.Dialog;
28 * Indeterminate progress dialog wrapped up in a DialogFragment to work even when the device
30 * dialog. There is an additional parameter of the minimum amount of time to display the progress
31 * dialog even after a call to dismiss the dialog {@link #dismiss()} or
34 * To create and show the progress dialog, use
38 * To dismiss the dialog, use {@link #dismiss()} or {@link #dismissAllowingStateLoss()} on the
52 private Dialog mOldDialog;
64 * Creates and shows an indeterminate progress dialog. Once the progress dialog is shown, i
90 final ProgressDialog dialog = new ProgressDialog(getActivity()); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
Utils.java 55 // Create (or recycle existing) and show disconnect dialog.
57 AlertDialog dialog,
60 if (dialog == null) {
61 dialog = new AlertDialog.Builder(context)
66 if (dialog.isShowing()) {
67 dialog.dismiss();
71 dialog.setButton(DialogInterface.BUTTON_POSITIVE,
74 dialog.setTitle(title);
75 dialog.setMessage(message);
76 dialog.show()
    [all...]
  /frameworks/base/core/java/android/preference/
PreferenceScreen.java 19 import android.app.Dialog;
47 * another screen of preferences as a {@link Dialog} or via a
92 private Dialog mDialog;
174 Dialog dialog = mDialog = new Dialog(context, context.getThemeResId()); local
176 dialog.getWindow().requestFeature(Window.FEATURE_NO_TITLE);
178 dialog.setTitle(title);
180 dialog.setContentView(childPrefScreen);
181 dialog.setOnDismissListener(this)
226 final Dialog dialog = mDialog; local
    [all...]
  /external/chromium/chrome/browser/ui/gtk/
js_modal_dialog_gtk.cc 21 // after dialog creation.
25 // If there's a text entry in the dialog, get the text from the first one and
27 std::wstring GetPromptText(GtkDialog* dialog) {
29 g_object_get_data(G_OBJECT(dialog), kPromptTextId));
35 // If there's a toggle button in the dialog, return the toggled state.
37 bool ShouldSuppressJSDialogs(GtkDialog* dialog) {
39 g_object_get_data(G_OBJECT(dialog), kSuppressCheckboxId));
50 JSModalDialogGtk::JSModalDialogGtk(JavaScriptAppModalDialog* dialog,
52 : dialog_(dialog) {
189 void JSModalDialogGtk::OnResponse(GtkWidget* dialog, int response_id)
    [all...]
  /external/chromium_org/chrome/browser/ui/gtk/
javascript_app_modal_dialog_gtk.cc 21 // after dialog creation.
25 // If there's a text entry in the dialog, get the text from the first one and
27 base::string16 GetPromptText(GtkDialog* dialog) {
29 g_object_get_data(G_OBJECT(dialog), kPromptTextId));
35 // If there's a toggle button in the dialog, return the toggled state.
37 bool ShouldSuppressJSDialogs(GtkDialog* dialog) {
39 g_object_get_data(G_OBJECT(dialog), kSuppressCheckboxId));
51 JavaScriptAppModalDialog* dialog,
53 : dialog_(dialog) {
199 void JavaScriptAppModalDialogGtk::OnResponse(GtkWidget* dialog,
    [all...]

Completed in 2656 milliseconds

12 3 4 5 6 7 8 91011>>