/packages/apps/Email/src/com/android/email/activity/ |
InsertQuickResponseDialog.java | 24 import android.app.Dialog; 41 * Dialog which lists QuickResponses for the specified account. On user selection, will call 62 * Create and returns new dialog. 69 final InsertQuickResponseDialog dialog = new InsertQuickResponseDialog(); local 77 dialog.setTargetFragment(callbackFragment, 0); 82 dialog.setArguments(args); 83 return dialog; 87 public Dialog onCreateDialog(Bundle savedInstanceState) { 96 // Now that Callback implementation is verified, build the dialog 144 public void onClick(DialogInterface dialog, int which) [all...] |
ComposeActivityEmail.java | 47 InsertQuickResponseDialog dialog = InsertQuickResponseDialog.newInstance(null, local 49 dialog.show(getFragmentManager(), insertQuickResponseDialogTag);
|
/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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/ |
ExportWizardAction.java | 81 WizardDialog dialog = new WizardDialog( local 83 dialog.open();
|
/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...] |
/external/chromium_org/chrome/browser/chromeos/ui/ |
idle_logout_dialog_view_browsertest.cc | 29 virtual void LogoutCurrentUser(IdleLogoutDialogView* dialog) OVERRIDE { 30 dialog->GetWidget()->Close(); 53 IdleLogoutDialogView* dialog = IdleLogoutDialogView::current_instance(); local 54 ASSERT_TRUE(dialog != NULL); 55 EXPECT_TRUE(dialog->visible());
|
/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/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);
|
/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...] |
/external/chromium_org/chrome/browser/ui/views/ |
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...] |
user_data_dir_dialog_view.cc | 108 UserDataDirDialogView* dialog = new UserDataDirDialogView(user_data_dir); local 109 views::DialogDelegate::CreateDialogWidget(dialog, NULL, NULL)->Show(); 110 base::RunLoop run_loop(dialog); 112 return dialog->user_data_dir();
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
desktop_screen_position_client_unittest.cc | 14 // Verifies setting the bounds of a dialog parented to a Widget with a 26 // Owned by |dialog|. 29 Widget* dialog = DialogDelegate::CreateDialogWidget( local 33 dialog->SetBounds(gfx::Rect(11, 12, 200, 200)); 34 EXPECT_EQ("11,12", dialog->GetWindowBoundsInScreen().origin().ToString());
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
PreferenceScreenTest.java | 4 import android.app.Dialog; 36 Dialog dialog = new Dialog(new Activity()); local 39 shadow.setDialog(dialog); 40 assertThat(screen.getDialog(), sameInstance(dialog));
|
/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...] |
/external/javassist/sample/rmi/ |
CountApplet.java | 14 private AlertDialog dialog;
field in class:CountApplet 43 dialog = new AlertDialog();
48 dialog.dispose();
57 dialog.show(e.toString());
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
CreateDirectoryFragment.java | 22 import android.app.Dialog; 44 * Dialog to create a new directory. 50 final CreateDirectoryFragment dialog = new CreateDirectoryFragment(); local 51 dialog.show(fm, TAG_CREATE_DIRECTORY); 55 public Dialog onCreateDialog(Bundle savedInstanceState) { 70 public void onClick(DialogInterface dialog, int which) {
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
FakeApp.java | 23 import android.app.Dialog; 110 Dialog dialog = builder.create(); local 111 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 112 dialog.show();
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
GroupCreationDialogFragment.java | 29 * A dialog for creating a new group. 47 GroupCreationDialogFragment dialog = new GroupCreationDialogFragment(listener); local 52 dialog.setArguments(args); 53 dialog.show(fragmentManager, FRAGMENT_TAG);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmUtils.java | 61 TimePickerDialog dialog = TimePickerDialog.newInstance(listener, local 63 dialog.setThemeDark(true); 65 // Make sure the dialog isn't already added. 74 if (dialog != null && !dialog.isAdded()) { 75 dialog.show(manager, FRAG_TAG_TIME_PICKER);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
LocaleMenuListener.java | 70 AddTranslationDialog dialog = new AddTranslationDialog(shell, project); local 71 dialog.open();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ExportScreenshotAction.java | 50 FileDialog dialog = new FileDialog(shell, SWT.SAVE); local 51 dialog.setFilterExtensions(new String[] { "*.png" }); //$NON-NLS-1$ 52 String path = dialog.open();
|
/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/chrome/browser/ui/gtk/extensions/ |
extension_uninstall_dialog_gtk.cc | 29 void OnResponse(GtkWidget* dialog, int response_id, 36 gtk_widget_destroy(dialog); 43 // Build the dialog. 44 GtkWidget* dialog = gtk_dialog_new_with_buttons( local 53 gtk_dialog_set_has_separator(GTK_DIALOG(dialog), FALSE); 56 GtkWidget* content_area = GTK_DIALOG(dialog)->vbox; 78 g_signal_connect(dialog, "response", G_CALLBACK(OnResponse), delegate); 79 gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); 80 gtk_widget_show_all(dialog);
|
/external/chromium_org/chrome/browser/ui/webui/task_manager/ |
task_manager_dialog.cc | 86 // If dialog's bounds are previously saved, use them. 126 // Store the dialog's bounds so that it can be restored with the same bounds 171 TaskManagerDialogImpl* dialog = TaskManagerDialogImpl::GetInstance(); local 172 dialog->ShowDialog(is_background_page_mode);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/string/ |
StringPropertyEditor.java | 88 // Editing in dialog 92 * Opens editing dialog. 95 StringPropertyDialog dialog = new StringPropertyDialog(propertyTable.getShell(), property); local 96 if (dialog.open() == Window.OK) {
|