/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
ProjectChooserHelper.java | 41 * Helper class to deal with displaying a project choosing dialog that lists only the 50 * List of current android projects. Since the dialog is modal, we'll just get 63 * </p>If false the project list is recomputed every time the dialog is opened. 110 * @param parentShell the parent {@link Shell} for the dialog. 119 * Displays a project chooser dialog which lists all available projects with the Android nature. 125 * @param message Message for the dialog box. Can be null in which case a default message 127 * @return the project chosen by the user in the dialog, or null if the dialog was canceled. 132 ElementListSelectionDialog dialog = new ElementListSelectionDialog( local 134 dialog.setTitle("Project Selection") [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/ |
OpenWizardAction.java | 23 import org.eclipse.jface.dialogs.Dialog; 51 * The wizard dialog width, extracted from {@link NewWizardShortcutAction} 56 * The wizard dialog height, extracted from {@link NewWizardShortcutAction} 62 /** The result from the dialog */ 73 /** Returns the result from {@link Dialog#open()}, available after 139 // It's not visible yet until a dialog is created and opened 141 WizardDialogEx dialog = new WizardDialogEx(parent, mWizard); local 142 dialog.create(); 145 ((IUpdateWizardDialog) mWizard).updateWizardDialog(dialog); 149 Point defaultSize = dialog.getShell().getSize() [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
DialogFilter.java | 79 * to the application. This class is essentially a Dialog filter. It is a helper for the UAC Core. 81 * number, Dialog not found, etc. Note that this is not part of the JAIN-SIP spec (it does not 255 * Process a request. Check for various conditions in the dialog that can result in the 295 SIPDialog dialog = sipStack.getDialog(dialogId); local 297 * Check if we got this request on the contact address of the dialog If not the dialog 299 * assigned to the dialog. Forgive the sins of B2BUA's that like to record route ACK's 301 if (dialog != null && sipProvider != dialog.getSipProvider()) { 302 Contact contact = dialog.getMyContactHeader() [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowActivity.java | 5 import android.app.Dialog; 56 private Map<Integer, Dialog> dialogForId = new HashMap<Integer, Dialog>(); 413 final Dialog dialog = dialogForId.get(id); local 414 if (dialog == null) { 418 dialog.dismiss(); 428 Dialog dialog = null; local 431 dialog = dialogForId.get(id) [all...] |
ShadowAlertDialog.java | 52 ShadowAlertDialog dialog = Robolectric.getShadowApplication().getLatestAlertDialog(); local 53 return dialog == null ? null : dialog.realAlertDialog; 79 * Simulates a click on the {@code Dialog} item indicated by {@code index}. Handles both multi- and single-choice dialogs, tracks which items are currently 117 private static Button createButton(final Context context, final DialogInterface dialog, final int which, CharSequence text, final DialogInterface.OnClickListener listener) { 128 listener.onClick(dialog, which); 130 dialog.dismiss(); 174 * @return the message displayed in the dialog 188 * @return an array indicating which items are and are not clicked on a multi-choice dialog 197 * @return return the index of the checked item clicked on a single-choice dialog 460 AlertDialog dialog = realBuilder.create(); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
SmsReceivedDialog.java | 23 import android.app.Dialog; 82 protected Dialog onCreateDialog(int id) { 90 public void onClick(DialogInterface dialog, int whichButton) { 97 dialog.dismiss(); 102 public void onClick(DialogInterface dialog, int whichButton) { 103 dialog.dismiss(); 108 public void onCancel(DialogInterface dialog) {
|
/external/chromium/chrome/browser/extensions/ |
extension_file_browser_private_api.h | 76 // Parent class for the chromium extension APIs for the file dialog. 88 HtmlDialogView* dialog, 91 dialog_(dialog), 95 HtmlDialogView* dialog() const { return dialog_; } function in class:FileDialogFunction::Callback 101 HtmlDialogView* dialog, 136 // Closes the dialog window containing the file dialog HtmlDialogView. 137 void CloseDialog(HtmlDialogView* dialog); 144 // Select a single file. Closes the dialog window. 184 // Select multiple files. Closes the dialog window [all...] |
/external/chromium/chrome/browser/ui/gtk/extensions/ |
extension_install_dialog_gtk.cc | 42 void OnResponse(GtkWidget* dialog, int response_id, 50 gtk_widget_destroy(dialog); 59 // Build the dialog. 60 GtkWidget* dialog = gtk_dialog_new_with_buttons( local 65 GtkWidget* close_button = gtk_dialog_add_button(GTK_DIALOG(dialog), 68 GTK_DIALOG(dialog), 71 gtk_dialog_set_has_separator(GTK_DIALOG(dialog), FALSE); 74 GtkWidget* content_area = GTK_DIALOG(dialog)->vbox; 162 g_signal_connect(dialog, "response", G_CALLBACK(OnResponse), delegate); 163 gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE) [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/ |
echo_private_api.cc | 31 // URL of "More info" link shown in echo dialog in GetUserConsent function. 186 // Open the link in a new window. The echo dialog is modal, so the current 187 // window is useless until the dialog is closed. 222 // Add ref to ensure the function stays around until the dialog listener is 226 // Create and show the dialog. 227 chromeos::EchoDialogView* dialog = new chromeos::EchoDialogView(this); local 229 dialog->InitForEnabledEcho( 233 dialog->InitForDisabledEcho(); 235 dialog->Show(GetCurrentBrowser()->window()->GetNativeWindow()); 237 // If there is a dialog_shown_callback_, invoke it with the created dialog [all...] |
/external/chromium_org/chrome/browser/ui/app_modal_dialogs/ |
javascript_dialog_manager.cc | 217 JavaScriptAppModalDialog* dialog = static_cast<JavaScriptAppModalDialog*>( local 221 dialog->SetOverridePromptText(*prompt_override); 222 dialog->native_dialog()->AcceptAppModalDialog(); 224 dialog->native_dialog()->CancelAppModalDialog();
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
extension_dialog.cc | 68 ExtensionDialog* dialog = new ExtensionDialog(host, observer); local 69 dialog->set_title(title); 70 dialog->InitWindow(base_window, width, height); 80 return dialog;
|
/external/chromium_org/chrome/browser/ui/views/ |
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...] |
/external/chromium_org/chrome/browser/ui/views/sync/ |
profile_signin_confirmation_dialog_views.cc | 73 ProfileSigninConfirmationDialogViews* dialog = local 78 // This callback is guaranteed to be invoked, and once it is, the dialog 81 base::Unretained(dialog)));
|
/external/chromium_org/chrome/browser/ui/webui/signin/ |
profile_signin_confirmation_dialog.cc | 31 const ProfileSigninConfirmationDialog* dialog, 42 // Weak ptr to parent dialog. 45 // Dialog button handling. 50 const ProfileSigninConfirmationDialog* dialog, 52 : dialog_(dialog), delegate_(delegate) { 136 ProfileSigninConfirmationDialog* dialog = local 143 // This callback is guaranteed to be invoked, and once it is, the dialog 146 base::Unretained(dialog)));
|
/external/chromium_org/chrome_frame/test/ |
delete_chrome_history_test.cc | 249 // Store the dialog and progress_bar HWNDs for each iteration 251 HWND dialog[] = {NULL, NULL}; local 263 testing::SaveArg<0>(&dialog[i]), 268 // The configuration dialog closes. 273 OnWindowClose(testing::Eq(testing::ByRef(dialog[i])))) 276 // The progress dialog that pops up has the same caption.
|
/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...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPClientTransaction.java | 54 import javax.sip.Dialog; 500 MessageChannel sourceChannel, SIPDialog dialog) { 519 sipStack.getStackLogger().logDebug("dialog = " + dialog); 527 * if (dialog != null && transactionResponse.getStatusCode() != 100 && 529 * add the route before you process the response. dialog.setLastResponse(this, 530 * transactionResponse); this.setDialog(dialog, transactionResponse.getDialogId(false)); } 535 inviteClientTransaction(transactionResponse, sourceChannel, dialog); 537 nonInviteClientTransaction(transactionResponse, sourceChannel, dialog); 944 SIPDialog dialog = sipStack.getDialog(this.getOriginalRequest() local 956 SIPDialog dialog = this.getDefaultDialog(); local 1047 SIPDialog dialog = (SIPDialog) this.getDialog(); local 1362 SIPDialog dialog = null; local [all...] |
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZonePickerDialog.java | 19 import android.app.Dialog; 93 public Dialog onCreateDialog(Bundle savedInstanceState) { 94 Dialog dialog = super.onCreateDialog(savedInstanceState); local 95 dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); 96 dialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); 97 return dialog;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
AccountSelectionUtil.java | 20 import android.app.Dialog; 70 public void onClick(DialogInterface dialog, int which) { 71 dialog.dismiss(); 76 public static Dialog getSelectAccountDialog(Context context, int resId) { 80 public static Dialog getSelectAccountDialog(Context context, int resId, 87 * The default OnCancelListener just closes itself with {@link Dialog#dismiss()}. 89 public static Dialog getSelectAccountDialog(Context context, int resId, 141 public void onCancel(DialogInterface dialog) { 142 dialog.dismiss();
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
EditQuickResponseDialog.java | 23 import android.app.Dialog; 36 * Dialog to edit the text of a given or new quick response 50 * Creates a new dialog to edit an existing QuickResponse or create a new 59 final EditQuickResponseDialog dialog = new EditQuickResponseDialog(); local 66 dialog.setArguments(args); 67 return dialog; 71 public Dialog onCreateDialog(Bundle savedInstanceState) { 109 public void onClick(DialogInterface dialog, int which) { 124 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ExportOptionsDialog.java | 20 import android.app.Dialog; 31 * The export options dialog 46 * Create the export options dialog 54 * @return The dialog 56 public static Dialog create(Context context, final ExportOptionsListener positiveListener, 71 // Prepare the dialog content 78 public void onClick(DialogInterface dialog, int which) { 97 final AlertDialog dialog = builder.create(); local 99 return dialog; 103 * Prepare the dialog conten [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
EditorsPage.java | 174 ResolutionChooserDialog dialog = new ResolutionChooserDialog(getShell()); local 175 if (dialog.open() == Window.OK) { 176 return Integer.toString(dialog.getDensity());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/ |
RenamePackageAction.java | 145 InputDialog dialog = new InputDialog(AdtPlugin.getShell(), local 149 if (dialog.open() == Window.OK) { 150 Name newPackageName = astValidator.newName(dialog.getValue());
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
InputDialogContainer.java | 124 DatePickerDialog dialog = new DatePickerDialog(mContext, local 126 DateDialogNormalizer.normalize(dialog.getDatePicker(), dialog, local 129 dialog.setTitle(mContext.getText(R.string.date_picker_dialog_title)); 130 mDialog = dialog; 163 public void onClick(DialogInterface dialog, int which) { 173 public void onClick(DialogInterface dialog, int which) { 273 // side when the dialog triggers multiple events.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
UiccCard.java | 244 public void onClick(DialogInterface dialog, int which) { 265 AlertDialog dialog = new AlertDialog.Builder(mContext) local 270 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 271 dialog.show();
|