/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuDialogHelper.java | 20 import android.app.Dialog; 44 * Shows menu as a dialog. 55 // Get the builder for the dialog 89 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { 112 dialog.dismiss(); 126 * Dismisses the menu's dialog. 128 * @see Dialog#dismiss() 136 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
AccountSelectionUtil.java | 27 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, 140 public void onCancel(DialogInterface dialog) { 141 dialog.dismiss();
|
/packages/apps/Mms/src/com/android/mms/ui/ |
NumberPickerDialog.java | 32 * A dialog that prompts the user for the message deletion limits. 71 * @param theme the theme to apply to this dialog 105 public void onClick(DialogInterface dialog, int which) { 109 dialog.dismiss();
|
MessagingPreferenceActivity.java | 25 import android.app.Dialog; 201 protected Dialog onCreateDialog(int id) { 208 public void onClick(DialogInterface dialog, int which) { 214 dialog.dismiss();
|
/packages/apps/Tag/src/com/android/apps/tag/ |
TagBrowserActivity.java | 21 import android.app.Dialog; 101 public Dialog onCreateDialog(int dialogId, Bundle args) { 112 throw new IllegalArgumentException("Unknown dialog id " + dialogId); 116 public void onClick(DialogInterface dialog, int which) { 122 dialog.dismiss();
|
/frameworks/base/core/java/com/android/internal/app/ |
ShutdownThread.java | 85 * @param context Context used to display the shutdown progress dialog. 101 final AlertDialog dialog = new AlertDialog.Builder(context) local 106 public void onClick(DialogInterface dialog, int which) { 112 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); 115 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); 117 dialog.show(); 128 * @param context Context used to display the shutdown progress dialog. 147 // throw up an indeterminate system dialog to indicate radio is
|
AlertController.java | 148 public ButtonHandler(DialogInterface dialog) { 149 mDialog = new WeakReference<DialogInterface>(dialog); 231 * Set the view to display in the dialog. 239 * Set the view to display in the dialog along with the spacing around that view 734 * @param listView The ListView that will be shown in the dialog. 745 public void apply(AlertController dialog) { 747 dialog.setCustomTitle(mCustomTitleView); 750 dialog.setTitle(mTitle); 753 dialog.setIcon(mIcon); 756 dialog.setIcon(mIconId) [all...] |
/packages/apps/Phone/src/com/android/phone/ |
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...] |
/packages/apps/Settings/src/com/android/settings/ |
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...] |
RingerVolumePreference.java | 19 import android.app.Dialog; 141 Dialog dialog = getDialog(); local 142 if (dialog != null && dialog.isShowing()) { 143 // Stopped while dialog was showing, revert changes
|
UserDictionarySettings.java | 20 import android.app.Dialog; 70 /** The word being edited in the dialog (null means the user is adding a word). */ 205 protected Dialog onCreateDialog(int id) { 212 AlertDialog dialog = new AlertDialog.Builder(this) local 218 public void onClick(DialogInterface dialog, int which) { 223 public void onClick(DialogInterface dialog, int which) { 227 dialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE | 229 return dialog; 233 protected void onPrepareDialog(int id, Dialog d) { 234 AlertDialog dialog = (AlertDialog) d local [all...] |
SecuritySettings.java | 25 import android.app.Dialog; 319 // Dialog identifiers 416 public void onClick(DialogInterface dialog, int button) { 440 public void onDismiss(DialogInterface dialog) { 443 if (!checkPassword((Dialog) dialog)) { 444 ((Dialog) dialog).show(); 455 private boolean checkPassword(Dialog dialog) { 595 Dialog dialog = new AlertDialog.Builder(SecuritySettings.this) local 617 Dialog dialog = new AlertDialog.Builder(SecuritySettings.this) local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPServerTransaction.java | 48 import javax.sip.Dialog; 185 private SIPDialog dialog; field in class:SIPServerTransaction 675 // JvB: Removed the condition 'dialog!=null'. Trying should also 1172 SIPDialog dialog = (SIPDialog) this.dialog; local 1236 SIPDialog dialog = this.dialog; local [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
LockPatternKeyguardView.java | 694 final AlertDialog dialog = new AlertDialog.Builder(mContext) local 699 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); 702 dialog.getWindow().setFlags( 706 dialog.show(); 717 final AlertDialog dialog = new AlertDialog.Builder(mContext) local 722 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); 725 dialog.getWindow().setFlags( 729 dialog.show();
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
UpdaterData.java | 203 // We may not have any UI. Only display a dialog if there's a window shell available.
614 UpdateChooserDialog dialog = new UpdateChooserDialog(getWindowShell(), this, archives);
local 615 dialog.open();
617 ArrayList<ArchiveInfo> result = dialog.getResult();
|
/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...] |
/external/webkit/WebKit/wx/ |
WebBrowserShell.cpp | 129 helpMenu->Append(wxID_ABOUT, _T("&About...\tF1"), _T("Show about dialog")); 197 msg.Printf(_T("This is the About dialog of the wxWebKit sample.\n") 206 wxFileDialog* dialog = new wxFileDialog(this, wxT("Choose a file")); local 207 if (dialog->ShowModal() == wxID_OK) { 208 wxString path = dialog->GetPath().Prepend(wxT("file://")); 344 wxTextEntryDialog* dialog = new wxTextEntryDialog(this, _("Type in a JavaScript to exectute.")); local 345 if (dialog->ShowModal() == wxID_OK) 346 wxMessageBox(wxT("Result is: ") + webview->RunScript(dialog->GetValue())); 348 dialog->Destroy();
|
/packages/apps/Calendar/src/com/android/calendar/ |
DeleteEventHelper.java | 35 * deletion, then this pops up a confirmation dialog. If the user confirms, 39 * If a repeating event is selected for deletion, then this pops up dialog 108 public void onClick(DialogInterface dialog, int button) { 123 public void onClick(DialogInterface dialog, int button) { 138 public void onClick(DialogInterface dialog, int button) { 147 * first popping up a dialog asking for confirmation (if the event is 148 * a normal event) or a dialog asking which events to delete (if the 208 // If this is a repeating event, then pop up a dialog asking the 213 // This is a normal event. Pop up a confirmation dialog. 222 // This is a repeating event. Pop up a dialog asking which event 228 AlertDialog dialog = new AlertDialog.Builder(mParent) local [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
PhoneDisambigDialog.java | 48 * Class used for displaying a dialog with a list of phone numbers of which 93 * Show the dialog. 104 public void onClick(DialogInterface dialog, int which) { 124 dialog.dismiss(); 132 public void onDismiss(DialogInterface dialog) {
|
/packages/apps/Contacts/src/com/android/contacts/ui/ |
ContactsPreferencesActivity.java | 32 import android.app.Dialog; 230 protected Dialog onCreateDialog(int id, Bundle args) { 241 private Dialog createSortOrderDialog() { 250 public void onClick(DialogInterface dialog, int whichButton) { 251 setSortOrder(dialog); 252 dialog.dismiss(); 259 private Dialog createDisplayOrderDialog() { 268 public void onClick(DialogInterface dialog, int whichButton) { 269 setDisplayOrder(dialog); 270 dialog.dismiss() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
UiManifestPkgAttrNode.java | 35 import org.eclipse.jface.dialogs.Dialog; 70 * a simple text field or a dialog to choose an existing package. 173 * Handles response to the Browse button by creating a Package dialog. 177 // Display the list of AndroidManifest packages in a selection dialog 178 ElementListSelectionDialog dialog = new ElementListSelectionDialog( local 203 dialog.setTitle("Android Manifest Package Selection"); 204 dialog.setMessage("Select the Android Manifest package to target."); 206 dialog.setElements(getPossibleValues(null)); 208 // open the dialog and use the object selected if OK was clicked, or null otherwise 209 if (dialog.open() == Window.OK) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
SipProviderImpl.java | 58 import javax.sip.Dialog; 176 Dialog dialog = ((RequestEvent) sipEvent).getDialog(); local 177 if ( sipStack.isLoggingEnabled()) sipStack.getStackLogger().logDebug("Dialog = " + dialog); 179 Dialog dialog = ((ResponseEvent) sipEvent).getDialog(); local 180 if (sipStack.isLoggingEnabled() ) sipStack.getStackLogger().logDebug("Dialog = " + dialog); 342 // Could not find a dialog or the route is not set in dialog 359 SIPDialog dialog = sipStack.getDialog(dialogId); local 514 SIPDialog dialog = sipStack.getDialog(dialogId); local 560 SIPDialog dialog = sipStack.getDialog(dialogId); local 584 SIPDialog dialog = sipStack.getDialog(dialogId); local 609 SIPDialog dialog = sipStack.getDialog(dialogId); local 673 Dialog dialog = sipStack.getDialog(((SIPRequest) request) local 836 SIPDialog dialog = null; local [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
EventLogPanel.java | 202 EventDisplayOptions dialog = new EventDisplayOptions(mParent.getShell()); local 203 if (dialog.open(mCurrentEventLogParser, mEventDisplays, mEvents)) { 207 mEventDisplays.addAll(dialog.getEventDisplays());
|
/frameworks/base/core/java/android/widget/ |
Spinner.java | 266 public void onClick(DialogInterface dialog, int which) { 268 dialog.dismiss(); 273 * Sets the prompt to display when the dialog is shown. 281 * Sets the prompt to display when the dialog is shown. 282 * @param promptId the resource ID of the prompt to display when the dialog is shown 289 * @return The prompt to display when the dialog is shown
|
/external/qemu/distrib/sdl-1.2.12/src/video/macdsp/ |
SDL_dspvideo.c | 499 /* Put up dialog on main display to select which display to use */ 669 /* put up a dialog to verify display change */ 672 /* resource id's for dialog */ 677 DialogPtr dialog; local 685 dialog = GetNewDialog (rDialog, NULL, (WindowPtr) -1); 686 if (dialog == NULL) 690 SetPort (GetDialogPort(dialog)); 692 SetPort ((WindowPtr) dialog); 695 SetDialogDefaultItem (dialog, bCancel); 696 SetDialogCancelItem (dialog, bCancel) [all...] |