HomeSort by relevance Sort by last modified time
    Searched defs:dialog (Results 51 - 75 of 299) sorted by null

1 23 4 5 6 7 8 91011>>

  /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...]
  /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...]
  /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...]
  /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()) {
CredentialStorage.java 72 * Action: old unlock dialog
271 AlertDialog dialog = new AlertDialog.Builder(CredentialStorage.this) local
278 dialog.setOnDismissListener(this);
279 dialog.show();
282 @Override public void onClick(DialogInterface dialog, int button) {
286 @Override public void onDismiss(DialogInterface dialog) {
341 AlertDialog dialog = new AlertDialog.Builder(CredentialStorage.this) local
348 dialog.setOnDismissListener(this);
349 dialog.show();
352 @Override public void onClick(DialogInterface dialog, int button)
438 AlertDialog dialog = new AlertDialog.Builder(CredentialStorage.this) local
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/
AlertDialogs.java 43 * Creates an alert dialog box.
71 final AlertDialog dialog = builder.create(); local
72 dialog.setCanceledOnTouchOutside(true);
73 return dialog;
77 * Creates a dialog with one edit text.
80 * @param title The title of the dialog
91 * @return The created dialog
127 final AlertDialog dialog = builder.create(); local
128 dialog.setCanceledOnTouchOutside(true);
134 dialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
SupportLibraryHelper.java 101 MessageDialog dialog = local
112 int answer = dialog.open();
  /cts/tests/tests/widget/src/android/widget/cts/
SpinnerTest.java 23 import android.app.Dialog;
109 Dialog dialog = new Dialog(getActivity()); local
110 dialog.show();
111 assertTrue(dialog.isShowing());
112 spinner.onClick(dialog, -10);
114 assertFalse(dialog.isShowing());
129 // TODO: find the dialog and get its title to assert whether setPrompt() takes effect?
152 // TODO: find the dialog and get its title to assert whether setPromptId() takes effect
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
CertificateViewer.java 7 import android.app.Dialog;
44 * Show a dialog with the provided certificate information.
92 // Displays a dialog with scrolling for the given view.
94 Dialog dialog = new Dialog(mContext); local
95 dialog.setTitle(R.string.certtitle);
98 dialog.addContentView(scrollView,
101 dialog.show();
  /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...]
  /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...]
DialogPreference.java 21 import android.app.Dialog;
40 * dialog-based. These preferences will, when clicked, open a dialog showing the
62 /** The dialog, if it is showing. */
63 private Dialog mDialog;
94 * Sets the title of the dialog. This will be shown on subsequent dialogs.
104 * @param dialogTitleResId The dialog title as a resource.
119 * Sets the message of the dialog. This will be shown on subsequent dialogs.
121 * This message forms the content View of the dialog and conflicts with
122 * list-based dialogs, for example. If setting a custom View on a dialog vi
300 final Dialog dialog = mDialog = mBuilder.create(); local
    [all...]
  /packages/services/Telephony/src/com/android/phone/
TimeConsumingPreferenceActivity.java 6 import android.app.Dialog;
31 public void onClick(DialogInterface dialog, int which) {
32 dialog.dismiss();
37 public void onClick(DialogInterface dialog, int which) {
38 dialog.dismiss();
59 protected Dialog onCreateDialog(int id) {
61 ProgressDialog dialog = new ProgressDialog(this); local
62 dialog.setTitle(getText(R.string.updating_title));
63 dialog.setIndeterminate(true);
67 dialog.setCancelable(true)
111 AlertDialog dialog = builder.create(); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
PlayAnimationMenu.java 242 WizardDialog dialog = new WizardDialog(parent, wizard); local
243 dialog.create();
244 dialog.open();
  /packages/apps/Calendar/src/com/android/calendar/
DeleteEventHelper.java 24 import android.app.Dialog;
44 * deletion, then this pops up a confirmation dialog. If the user confirms,
48 * If a repeating event is selected for deletion, then this pops up dialog
89 private Dialog.OnDismissListener mDismissListener;
135 public void onClick(DialogInterface dialog, int button) {
154 public void onClick(DialogInterface dialog, int button) {
171 public void onClick(DialogInterface dialog, int button) {
187 public void onClick(DialogInterface dialog, int button) {
197 * first popping up a dialog asking for confirmation (if the event is
198 * a normal event) or a dialog asking which events to delete (if th
270 AlertDialog dialog = new AlertDialog.Builder(mContext) local
323 AlertDialog dialog = new AlertDialog.Builder(mContext) local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.traceview/src/com/android/ide/eclipse/traceview/editors/
TraceviewEditor.java 112 SaveAsDialog dialog = new SaveAsDialog(shell); local
116 dialog.setOriginalFile(original);
119 dialog.create();
125 dialog.setErrorMessage(null);
126 dialog.setMessage(message, IMessageProvider.WARNING);
129 if (dialog.open() == Window.CANCEL) {
133 IPath filePath = dialog.getResult();
157 FileDialog dialog = new FileDialog(shell, SWT.SAVE); local
160 dialog.setFileName(oldPath.lastSegment());
161 dialog.setFilterPath(oldPath.toOSString())
    [all...]
  /cts/tests/tests/holo/src/android/holo/cts/
BitmapDeletionActivity.java 23 import android.app.Dialog;
71 protected Dialog onCreateDialog(int id, Bundle args) {
74 ProgressDialog dialog = new ProgressDialog(BitmapDeletionActivity.this); local
75 dialog.setMessage(getString(R.string.deleting_bitmaps));
76 return dialog;
93 public void onClick(DialogInterface dialog, int which) {
  /external/chromium/chrome/browser/
browser_main_gtk.cc 92 GtkWidget* dialog = gtk_message_dialog_new( local
104 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog),
109 gtk_window_set_title(GTK_WINDOW(dialog), message.c_str());
111 gtk_dialog_run(GTK_DIALOG(dialog));
112 gtk_widget_destroy(dialog);
  /external/chromium/chrome/browser/ui/gtk/
constrained_window_gtk.cc 39 GtkWidget* dialog = delegate->GetWidgetRoot(); local
61 if (gtk_widget_get_parent(dialog))
62 gtk_widget_reparent(dialog, alignment);
64 gtk_container_add(GTK_CONTAINER(alignment), dialog); local
  /external/chromium/chrome/browser/ui/gtk/importer/
import_progress_dialog_gtk.cc 43 ImportProgressDialogGtk* dialog = new ImportProgressDialogGtk( local
54 dialog->ShowDialog();
74 // Build the dialog.
136 void ImportProgressDialogGtk::OnResponse(GtkWidget* dialog, int response_id) {
142 // Only response to the dialog is to close it so we hide immediately.
  /external/chromium_org/chrome/browser/printing/
print_preview_message_handler.cc 85 WebContents* dialog = GetPrintPreviewDialog(); local
86 if (!dialog || !dialog->GetWebUI())
88 return static_cast<PrintPreviewUI*>(dialog->GetWebUI()->GetController());
  /external/chromium_org/chrome/browser/ui/android/
javascript_app_modal_dialog_android.cc 28 JavaScriptAppModalDialog* dialog,
31 dialog, parent_window);
36 JavaScriptAppModalDialog* dialog,
38 : dialog_(dialog),
52 // display the dialog.
143 AppModalDialog* dialog = AppModalDialogQueue::GetInstance()->active_dialog(); local
144 if (!dialog || !dialog->native_dialog())
148 static_cast<JavascriptAppModalDialogAndroid*>(dialog->native_dialog());
160 // In case the dialog is still displaying, tell it to close itself
    [all...]
  /external/chromium_org/chrome/browser/ui/views/
crypto_module_password_dialog_view.cc 157 CryptoModulePasswordDialogView* dialog = local
159 views::DialogDelegate::CreateDialogWidget(dialog, NULL, NULL)->Show();
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...]
  /external/chromium_org/content/shell/
shell_download_manager_delegate.cc 174 GtkWidget *dialog; local
179 dialog = gtk_file_chooser_dialog_new("Save File",
185 gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog),
187 gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(dialog),
190 if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT) {
192 filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
196 gtk_widget_destroy(dialog);

Completed in 629 milliseconds

1 23 4 5 6 7 8 91011>>