/frameworks/base/core/java/android/content/ |
DialogInterface.java | 63 * Interface used to allow the creator of a dialog to run some code when the 64 * dialog is canceled. 66 * This will only be called when the dialog is canceled, if the creator 72 * This method will be invoked when the dialog is canceled. 74 * @param dialog The dialog that was canceled will be passed into the 77 public void onCancel(DialogInterface dialog); 81 * Interface used to allow the creator of a dialog to run some code when the 82 * dialog is dismissed. 86 * This method will be invoked when the dialog is dismissed [all...] |
/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...] |
/packages/apps/Settings/src/com/android/settings/vpn/ |
VpnProfileActor.java | 19 import android.app.Dialog; 30 * Returns true if a connect dialog is needed before establishing a 36 * Creates the view in the connect dialog. 41 * Validates the inputs in the dialog. 42 * @param dialog the connect dialog 45 String validateInputs(Dialog dialog); 49 * @param dialog the connect dialog [all...] |
/packages/apps/Phone/src/com/android/phone/ |
TimeConsumingPreferenceActivity.java | 4 import android.app.Dialog; 38 protected Dialog onCreateDialog(int id) { 40 ProgressDialog dialog = new ProgressDialog(this); local 41 dialog.setTitle(getText(R.string.updating_title)); 42 dialog.setIndeterminate(true); 46 dialog.setCancelable(true); 47 dialog.setOnCancelListener(this); 48 dialog.setMessage(getText(R.string.reading_settings)); 49 return dialog; 51 dialog.setCancelable(false) 88 AlertDialog dialog = b.create(); local [all...] |
NetworkSetting.java | 19 import android.app.Dialog; 58 //dialog ids 198 public void onCancel(DialogInterface dialog) { 264 protected Dialog onCreateDialog(int id) { 268 ProgressDialog dialog = new ProgressDialog(this); local 271 // It would be more efficient to reuse this dialog by moving 276 dialog.setMessage(mNetworkSelectMsg); 277 dialog.setCancelable(false); 278 dialog.setIndeterminate(true); 281 dialog.setMessage(getResources().getString(R.string.register_automatically)) [all...] |
EditPinPreference.java | 33 * for the dialog. 58 * Overridden to setup the correct dialog layout, as well as setting up 63 // set the dialog layout 66 View dialog = super.onCreateDialogView(); local 74 return dialog; 105 * Externally visible method to bring up the dialog to 106 * for multi-step / multi-dialog requests (like changing
|
/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);
|
/packages/apps/Settings/src/com/android/settings/ |
EditPinPreference.java | 19 import android.app.Dialog; 65 Dialog dialog = getDialog(); local 66 return dialog != null && dialog.isShowing(); 78 Dialog dialog = getDialog(); local 79 if (dialog == null || !dialog.isShowing()) {
|
SecuritySettings.java | 25 import android.app.Dialog; 306 // Dialog identifiers 393 public void onClick(DialogInterface dialog, int button) { 400 public void onDismiss(DialogInterface dialog) { 403 if (!checkPassword((Dialog) dialog)) { 404 ((Dialog) dialog).show(); 415 private boolean checkPassword(Dialog dialog) { 546 Dialog dialog = new AlertDialog.Builder(SecuritySettings.this) local 568 Dialog dialog = new AlertDialog.Builder(SecuritySettings.this) local [all...] |
AccessibilitySettings.java | 217 AlertDialog dialog = (new AlertDialog.Builder(this)) local 224 public void onClick(DialogInterface dialog, int which) { 232 public void onClick(DialogInterface dialog, int which) { 237 dialog.show(); 249 AlertDialog dialog = (new AlertDialog.Builder(this)) local 258 public void onClick(DialogInterface dialog, int which) { 265 public void onClick(DialogInterface dialog, int which) { 270 dialog.show(); 347 public void onClick(DialogInterface dialog, int which) { 360 public void onClick(DialogInterface dialog, int which) [all...] |
/frameworks/base/core/java/android/preference/ |
PreferenceScreen.java | 19 import android.app.Dialog; 44 * another screen of preferences as a {@link Dialog} or via a 82 private Dialog mDialog; 153 Dialog dialog = mDialog = new Dialog(context, TextUtils.isEmpty(title) local 156 dialog.setContentView(listView); 158 dialog.setTitle(title); 160 dialog.setOnDismissListener(this); 162 dialog.onRestoreInstanceState(state) 201 final Dialog dialog = mDialog; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
EditResponseHelper.java | 51 public void onClick(DialogInterface dialog, int which) { 59 public void onClick(DialogInterface dialog, int which) { 75 AlertDialog dialog = new AlertDialog.Builder(mParent) local 83 mAlertDialog = dialog; 88 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoActivityRelatedPermissionTest.java | 70 AlertDialog dialog = (AlertDialog) (mActivity.getDialog()); local 72 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_APPLICATION); 73 dialog.show(); 78 dialog = (AlertDialog) (mActivity.getDialog()); 79 dialog.getWindow().setType(types[i]); 81 dialog.show(); 86 fail("Add dialog to Window Manager did not throw BadTokenException as expected");
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
AlertDialogSamples.java | 21 import android.app.Dialog; 44 App/Dialog/Alert Dialog 50 * <td >The Alert Dialog Samples implementation</td> 75 protected Dialog onCreateDialog(int id) { 82 public void onClick(DialogInterface dialog, int whichButton) { 88 public void onClick(DialogInterface dialog, int whichButton) { 100 public void onClick(DialogInterface dialog, int whichButton) { 106 public void onClick(DialogInterface dialog, int whichButton) { 112 public void onClick(DialogInterface dialog, int whichButton) [all...] |
/external/webkit/WebCore/page/ |
WindowFeatures.h | 50 , dialog(false) 78 bool dialog; member in struct:WebCore::WindowFeatures
|
/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/webkit/WebKit/wx/WebKitSupport/ |
ChromeClientWx.cpp | 67 wkFeatures.dialog = features.dialog; 251 wxMessageDialog dialog(NULL, string, wxT("Confirm Action?"), wxYES_NO); 252 return dialog.ShowModal() == wxYES; 286 wxMessageDialog dialog(NULL, string, wxT("JavaScript Confirm"), wxYES_NO); 287 dialog.Centre(); 288 result = (dialog.ShowModal() == wxID_YES); 305 wxTextEntryDialog dialog(NULL, message, wxT("JavaScript Prompt"), wxEmptyString, wxOK | wxCANCEL); 306 dialog.Centre(); 307 if (dialog.ShowModal() == wxID_OK) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
ProjectChooserHelper.java | 35 * Helper class to deal with displaying a project choosing dialog that lists only the 44 * List of current android projects. Since the dialog is modal, we'll just get 57 * </p>If false the project list is recomputed every time the dialog is opened. 92 * @param parentShell the parent {@link Shell} for the dialog. 101 * Displays a project chooser dialog which lists all available projects with the Android nature. 107 * @param message Message for the dialog box. Can be null in which case a default message 109 * @return the project chosen by the user in the dialog, or null if the dialog was canceled. 114 ElementListSelectionDialog dialog = new ElementListSelectionDialog( local 116 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 136 // It's not visible yet until a dialog is created and opened 138 WizardDialogEx dialog = new WizardDialogEx(parent, mWizard); local 139 dialog.create(); 142 ((IUpdateWizardDialog) mWizard).updateWizardDialog(dialog); 146 Point defaultSize = dialog.getShell().getSize() [all...] |
/external/webkit/WebKit/gtk/webkit/ |
webkitsoupauthdialog.c | 34 * authentication dialog for HTTP basic auth support. 37 * #SoupSession to provide a simple authentication dialog while 119 static void response_callback(GtkDialog* dialog, gint response_id, WebKitAuthData* authData) 141 gtk_widget_destroy(GTK_WIDGET(dialog)); 185 GtkDialog* dialog; local 203 dialog = GTK_DIALOG(widget); 205 gtk_dialog_add_buttons(dialog, 210 /* Set the dialog up with HIG properties */ 211 gtk_dialog_set_has_separator(dialog, FALSE); 212 gtk_container_set_border_width(GTK_CONTAINER(dialog), 5) [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiAPITest.java | 111 public void onClick(DialogInterface dialog, int whichButton) { 118 public void onClick(DialogInterface dialog, int whichButton) { 131 public void onClick(DialogInterface dialog, int whichButton) { 138 public void onClick(DialogInterface dialog, int whichButton) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
LaunchConfigTabGroup.java | 32 public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/ |
AndroidJUnitTabGroup.java | 34 public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
|
/cts/tools/annotation-helper/src/spechelper/ |
MethodSelector.java | 182 ElementListSelectionDialog dialog = new ElementListSelectionDialog( 199 dialog.setIgnoreCase(true); 200 dialog.setBlockOnOpen(true); 201 dialog.setElements(res);// 202 dialog.setFilter(""); 203 dialog.setTitle(qname); 204 if (dialog.open() != IDialogConstants.CANCEL_ID) { 205 Object[] types = dialog.getResult();
|
/frameworks/base/core/java/android/app/ |
ProgressDialog.java | 37 * <p>A dialog showing a progress indicator and an optional text message or view. 39 * <p>The dialog can be made cancelable on back key press.</p> 101 ProgressDialog dialog = new ProgressDialog(context); local 102 dialog.setTitle(title); 103 dialog.setMessage(message); 104 dialog.setIndeterminate(indeterminate); 105 dialog.setCancelable(cancelable); 106 dialog.setOnCancelListener(cancelListener); 107 dialog.show(); 108 return dialog; [all...] |