/external/chromium_org/components/web_modal/ |
web_contents_modal_dialog_manager_unittest.cc | 30 virtual void ManageDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 32 virtual void ShowDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 34 virtual void HideDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 36 virtual void CloseDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 37 delegate_->WillClose(dialog); 40 virtual void FocusDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 42 virtual void PulseDialog(NativeWebContentsModalDialog dialog) OVERRIDE {
|
/external/chromium_org/chrome/browser/ui/views/ |
select_file_dialog_extension_unittest.cc | 25 SelectFileDialogExtension* dialog = new SelectFileDialogExtension(listener, local 27 // Simulate the dialog opening. 29 dialog->AddPending(kDefaultTabId); 31 return dialog; 62 // Client of a SelectFileDialog that deletes itself whenever the dialog 75 SelectFileDialogExtension* dialog() const { return dialog_.get(); } function in class:SelfDeletingClient 91 scoped_refptr<SelectFileDialogExtension> dialog = local 96 // Simulate closing the dialog so the listener gets invoked. 97 dialog->ExtensionDialogClosing(NULL); 104 scoped_refptr<SelectFileDialogExtension> dialog local [all...] |
web_contents_modal_dialog_manager_views.cc | 56 virtual void ManageDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 57 views::Widget* widget = GetWidget(dialog); 91 virtual void ShowDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 92 views::Widget* widget = GetWidget(dialog); 102 FocusDialog(dialog); variable 105 // TODO(pkotwicz): Control the z-order of the constrained dialog via 107 // shadows are below the constrained dialog in z-order when we do this. 112 virtual void HideDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 113 views::Widget* widget = GetWidget(dialog); 124 virtual void CloseDialog(NativeWebContentsModalDialog dialog) OVERRIDE [all...] |
select_file_dialog_extension.cc | 50 void Add(int32 tab_id, scoped_refptr<SelectFileDialogExtension> dialog); 66 scoped_refptr<SelectFileDialogExtension> dialog) { 67 DCHECK(dialog.get()); 69 map_.insert(std::make_pair(tab_id, dialog)); 71 DLOG(WARNING) << "Duplicate pending dialog " << tab_id; 127 ExtensionDialog* /*dialog*/) { 130 // Release our reference to the underlying dialog to allow it to close. 138 ExtensionDialog* dialog) { 141 std::string extension_id = dialog->host()->extension()->id(); 160 dialog->GetWidget()->Close() 168 scoped_refptr<SelectFileDialogExtension> dialog = local 182 scoped_refptr<SelectFileDialogExtension> dialog = local 193 scoped_refptr<SelectFileDialogExtension> dialog = local 353 ExtensionDialog* dialog = ExtensionDialog::Show(file_browser_url, 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/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/ |
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 | 66 // This dialog should have been created within the same thread invocation 74 GtkWidget* dialog = gtk_message_dialog_new( local 81 gtk_dialog_add_button(GTK_DIALOG(dialog), 83 gtk_dialog_add_button(GTK_DIALOG(dialog), 86 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), 90 g_signal_connect(dialog, "response", G_CALLBACK(OnResponseThunk), this); 92 gtk_widget_show_all(dialog); 98 void DownloadInProgressDialogGtk::OnResponse(GtkWidget* dialog, 100 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/ui/gtk/extensions/ |
media_galleries_dialog_gtk_unittest.cc | 77 MediaGalleriesDialogGtk dialog(&controller); 78 EXPECT_EQ(2U, dialog.checkbox_map_.size()); 80 GtkWidget* checkbox1 = dialog.checkbox_map_[1]; 84 GtkWidget* checkbox2 = dialog.checkbox_map_[2]; 105 MediaGalleriesDialogGtk dialog(&controller); 106 EXPECT_EQ(1U, dialog.checkbox_map_.size()); 108 dialog.checkbox_map_[1]; 120 // a gallery that the dialog hasn't seen before. 133 MediaGalleriesDialogGtk dialog(&controller); 135 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 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...] |
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
FakeBackgroundService.java | 22 import android.app.Dialog; 76 Dialog dialog = new Dialog(this, android.R.style.Theme_Holo_Dialog); local 77 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 78 dialog.getWindow().setFlags( 88 dialog.getWindow().setDimAmount(0); 89 dialog.getWindow().setLayout(ViewGroup.LayoutParams.MATCH_PARENT, 91 WindowManager.LayoutParams lp = dialog.getWindow().getAttributes(); 97 dialog.getWindow().setAttributes(lp) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
DialogFragmentTest.java | 4 import android.app.Dialog; 77 Dialog dialogFromOnCreateDialog = new Dialog(activity); 81 Dialog dialog = ShadowDialog.getLatestDialog(); local 82 assertSame(dialogFromOnCreateDialog, dialog); 91 Dialog dialog = ShadowDialog.getLatestDialog(); local 92 assertNotNull(dialog); 93 assertSame(dialog, dialogFragment.getDialog()) 104 Dialog dialog = ShadowDialog.getLatestDialog(); local 117 Dialog dialog = ShadowDialog.getLatestDialog(); local 143 Dialog dialog = dialogFragment.getDialog(); local 154 Dialog dialog = dialogFragment.getDialog(); local 165 Dialog dialog = dialogFragment.getDialog(); local [all...] |