/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSecurity.java | 21 import android.app.Dialog; 76 * @param showDialog If true, a simple warning dialog will be shown before kicking off 92 * to give the user a dialog (for context) about a device pin/password expiration event. 129 PasswordExpirationDialog dialog = local 133 LogUtils.d(TAG, "Showing password expiration dialog"); 135 dialog.show(fm, "password_expiration"); 143 // Show dialog first, unless already showing (e.g. after rotation) 146 SecurityNeededDialog dialog = local 149 LogUtils.d(TAG, "Showing security needed dialog"); 151 dialog.show(fm, "security_needed") 321 final SecurityNeededDialog dialog = new SecurityNeededDialog(); local 387 final PasswordExpirationDialog dialog = new PasswordExpirationDialog(); local [all...] |
/packages/services/Telephony/src/com/android/phone/ |
NetworkSetting.java | 19 import android.app.Dialog; 59 //dialog ids 109 // Always try to dismiss the dialog because activity may 110 // be moved to background after dialog is shown. 114 // "auto select" is always trigged in foreground, so "auto select" dialog 117 Log.w(LOG_TAG, "[NetworksList] Fail to dismiss auto select dialog", e); 206 public void onCancel(DialogInterface dialog) { 272 protected Dialog onCreateDialog(int id) { 276 ProgressDialog dialog = new ProgressDialog(this); local 279 // It would be more efficient to reuse this dialog by movin [all...] |
SipCallOptionHandler.java | 28 import android.app.Dialog; 61 * user, but in other cases it may (by bringing up a dialog if the user's 84 private Dialog[] mDialogs = new Dialog[DIALOG_SIZE]; 124 // call options dialog (if necessary). 240 for (Dialog dialog : mDialogs) { 241 if (dialog != null) dialog.dismiss(); 246 protected Dialog onCreateDialog(int id) 247 Dialog dialog; 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...] |
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainActivity.java | 21 import android.app.Dialog; 172 @Override public void onClick(DialogInterface dialog, int id) { 173 dialog.cancel(); // will cause OnDismissListener to be called 199 @Override public void onClick(DialogInterface dialog, int id) { 210 final Dialog dialog = builder.create(); local 253 // remove dialog so that we will recreate with 255 dialog.dismiss(); 260 dialog.setOnCancelListener(new DialogInterface.OnCancelListener() { 261 @Override public void onCancel(DialogInterface dialog) { [all...] |
/frameworks/base/services/java/com/android/server/power/ |
ShutdownThread.java | 22 import android.app.Dialog; 98 * @param context Context used to display the shutdown progress dialog. 138 public void onClick(DialogInterface dialog, int which) { 144 closer.dialog = sConfirmDialog; 156 public Dialog dialog; field in class:ShutdownThread.CloseDialogReceiver 166 dialog.cancel(); 179 * @param context Context used to display the shutdown progress dialog. 194 * @param context Context used to display the shutdown progress dialog. 213 // throw up an indeterminate system dialog to indicate radio i [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
XmlPropertyEditor.java | 340 MessageDialogWithToggle dialog = local 350 switch (dialog.getReturnCode()) { 425 FlagXmlPropertyDialog dialog = local 430 dialog.open(); 436 FlagXmlPropertyDialog dialog = local 440 dialog.open(); 519 StringXmlPropertyDialog dialog = local 521 if (dialog.open() == Window.OK) {
|
/external/chromium/chrome/browser/ui/gtk/ |
about_chrome_dialog.cc | 44 // dialog. 53 void OnResponse(GtkWidget* dialog, int response_id) { 55 gtk_widget_destroy(dialog); 116 // Build the dialog. 117 GtkWidget* dialog = gtk_dialog_new_with_buttons( local 123 // The layout of this dialog is special because the logo should be flush 125 gtk_widget_set_name(dialog, "about-dialog"); 126 gtk_dialog_set_has_separator(GTK_DIALOG(dialog), FALSE); 128 GtkWidget* close_button = gtk_dialog_add_button(GTK_DIALOG(dialog), [all...] |
dialogs_gtk.cc | 26 // the dialog, but usually not the height). The image's aspect ratio will always 31 // Implementation of SelectFileDialog that shows a Gtk common dialog for 32 // choosing a file or folder. This acts as a modal dialog. 59 void FileSelected(GtkWidget* dialog, const FilePath& path); 62 void MultiFilesSelected(GtkWidget* dialog, 66 // Dialog is passed so we can find that |params| pointer that was passed to 67 // us when we were told to show the dialog. 68 void FileNotSelected(GtkWidget* dialog); 82 // Removes and returns the |params| associated with |dialog| from 84 void* PopParamsForDialog(GtkWidget* dialog); 217 GtkWidget* dialog = NULL; local 352 GtkWidget* dialog = local 384 GtkWidget* dialog = local 410 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 423 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 435 GtkWidget* dialog = local [all...] |
/external/chromium/chrome/browser/ui/login/ |
login_prompt_ui.cc | 135 // Send autofill data to HTML once the dialog is ready and the data is 247 ConstrainedWindow* dialog = ConstrainedHtmlUI::CreateConstrainedHtmlDialog( local 251 SetDialog(dialog);
|
/external/chromium/chrome/browser/ui/views/extensions/ |
extension_install_dialog_view.cc | 26 // Size of extension icon in top left of dialog. 30 // elements in the right column of the dialog in the case where the extension 34 // Width of the right column of the dialog when the extension requests no 63 // Implements the extension installation dialog for TOOLKIT_VIEWS. 111 // The width of the right column of the dialog. Will be either 116 // The type of install dialog, which must be INSTALL_PROMPT or 340 ExtensionInstallDialogView* dialog = new ExtensionInstallDialogView( local 344 browser_window->GetNativeHandle(), gfx::Rect(), dialog);
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/ |
ModalDialogTest.java | 39 "<html><title>Modal Dialog Test</title><p>Testcase.</p></title></html>"); 54 * Verifies modal alert-dialog appearance and that JavaScript execution is 65 assertNotNull("No dialog showing.", jsDialog); 82 assertNotNull("No dialog showing.", jsDialog); 103 assertNotNull("No dialog showing.", jsDialog); 106 assertNotNull("No cancel button in confirm dialog.", buttons[0]); 112 assertNotNull("No OK button in confirm dialog.", buttons[2]); 116 assertTrue("JavaScript execution should continue after closing dialog.", 125 assertNotNull("No dialog showing.", jsDialog); 128 assertTrue("JavaScript execution should continue after closing dialog." 250 final AlertDialog dialog = jsDialog.getDialogForTest(); local [all...] |
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
select_file_dialog_impl_gtk2.cc | 35 // Set |dialog| as transient for |parent|, which will keep it on top and center 37 void SetGtkTransientForAura(GtkWidget* dialog, aura::Window* parent) { 38 gtk_widget_realize(dialog); 39 GdkWindow* gdk_window = gtk_widget_get_window(dialog); 47 // We also set the |parent| as a property of |dialog|, so that we can unlink 49 g_object_set_data(G_OBJECT(dialog), kAuraTransientParent, parent); 67 // Implementation of SelectFileDialog that shows a Gtk common dialog for 68 // choosing a file or folder. This acts as a modal dialog. 100 void FileSelected(GtkWidget* dialog, const base::FilePath& path); 103 void MultiFilesSelected(GtkWidget* dialog, 240 GtkWidget* dialog = NULL; local 376 GtkWidget* dialog = local 417 GtkWidget* dialog = local 446 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 460 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 472 GtkWidget* dialog = local [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
certificate_viewer_webui.cc | 35 CertificateViewerDialog* dialog = new CertificateViewerDialog(cert); local 36 dialog->Show(web_contents, parent); 52 // Construct the dialog title from the certificate. 65 // TODO(bshe): UI tweaks needed for Aura HTML Dialog, such as adding padding 67 NativeWebContentsModalDialog dialog = CreateConstrainedWebDialog( local 72 window_ = platform_util::GetTopLevel(dialog);
|
set_as_default_browser_ui.cc | 57 // DECLINED: user simply closed the dialog without making Chrome default. 171 // Otherwise, keep the dialog open since the user probably didn't make a 213 // A web dialog delegate implementation for when 'Make Chrome Metro' UI 214 // is displayed on a dialog. 221 // Show a modal web dialog with kChromeUIMetroFlowURL page. 249 // The method is static because the dialog could be destroyed 283 // Use a NULL parent window to make sure that the dialog will have an item 285 // dialog is not in the foreground. 347 // dialog the actual browser window had to remain hidden. Now it's time to 417 SetAsDefaultBrowserDialogImpl* dialog local [all...] |
/external/chromium_org/chrome/browser/ |
unload_browsertest.cc | 181 AppModalDialog* dialog = ui_test_utils::WaitForAppModalDialog(); local 182 ASSERT_TRUE(dialog->IsJavaScriptModalDialog()); 184 static_cast<JavaScriptAppModalDialog*>(dialog); 261 // OK in the beforeunload confirm dialog. 274 // CANCEL in the beforeunload confirm dialog. 282 // won't put up the beforeunload dialog because it's waiting for an ack from 307 // Tests closing the browser and clicking OK in the beforeunload confirm dialog
|
/external/chromium_org/ui/shell_dialogs/gtk/ |
select_file_dialog_impl_gtk.cc | 38 // Implementation of SelectFileDialog that shows a Gtk common dialog for 39 // choosing a file or folder. This acts as a modal dialog. 67 void FileSelected(GtkWidget* dialog, const base::FilePath& path); 70 void MultiFilesSelected(GtkWidget* dialog, 74 // Dialog is passed so we can find that |params| pointer that was passed to 75 // us when we were told to show the dialog. 76 void FileNotSelected(GtkWidget* dialog); 93 // Removes and returns the |params| associated with |dialog| from 95 void* PopParamsForDialog(GtkWidget* dialog); 97 // Take care of internal data structures when a file dialog is destroyed 194 GtkWidget* dialog = NULL; local 332 GtkWidget* dialog = local 372 GtkWidget* dialog = local 400 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 414 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 426 GtkWidget* dialog = local [all...] |
/external/chromium_org/ui/views/window/ |
dialog_client_view.cc | 21 // conflict with other groups that could be in the dialog content. 99 // Use the escape key to close the window if there are no dialog buttons. 113 // The dialog is closing but no Accept or Cancel action has been performed 133 // Make the newly focused button default or restore the dialog's default. 256 // The old dialog style needs an explicit background color, while the new 257 // dialog style simply inherits the bubble's frame view color. 258 const DialogDelegate* dialog = GetDialogDelegate(); local 259 const bool use_new_style = dialog ? 260 dialog->UseNewStyleForThisDialog() : DialogDelegate::UseNewStyle(); 372 DialogDelegate* dialog = GetDialogDelegate() local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
ExtrasMenuActivity.java | 8 import android.app.Dialog; 153 protected Dialog onCreateDialog(int id) { 154 Dialog dialog = null; local 157 dialog = new AlertDialog.Builder(this) 160 public void onClick(DialogInterface dialog, int whichButton) { 168 dialog = new AlertDialog.Builder(this) 174 return dialog;
|
LevelTree.java | 141 if (parser.getName().equals("dialog") && currentLevel != null) { 204 DialogEntry dialog = level.dialogResources; local 205 if (dialog.character1Entry != 0) { 206 dialog.character1Conversations = ConversationUtils.loadDialog(dialog.character1Entry, context); 209 if (dialog.character2Entry != 0) { 210 dialog.character2Conversations = ConversationUtils.loadDialog(dialog.character2Entry, context);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowDialog.java | 4 import android.app.Dialog; 25 @Implements(Dialog.class) 28 @RealObject private Dialog realDialog; 43 private static final ArrayList<Dialog> shownDialogs = new ArrayList<Dialog>(); 51 public static Dialog getLatestDialog() { 52 ShadowDialog dialog = Robolectric.getShadowApplication().getLatestDialog(); local 53 return dialog == null ? null : dialog.realDialog; 116 Method onCreateMethod = Dialog.class.getDeclaredMethod("onCreate", Bundle.class) [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuDialogHelper.java | 20 import android.app.Dialog; 47 * Shows menu as a dialog. 55 // Get the builder for the dialog 92 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { 115 dialog.dismiss(); 133 * Dismisses the menu's dialog. 135 * @see Dialog#dismiss() 144 public void onDismiss(DialogInterface dialog) { 166 public void onClick(DialogInterface dialog, int which) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuDialogHelper.java | 20 import android.app.Dialog; 48 * Shows menu as a dialog. 56 // Get the builder for the dialog 95 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { 118 dialog.dismiss(); 136 * Dismisses the menu's dialog. 138 * @see Dialog#dismiss() 147 public void onDismiss(DialogInterface dialog) { 169 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastListActivity.java | 171 // show dialog with delivery date/time and alert details 231 * Start the process of putting up a dialog to confirm deleting a broadcast. 240 * Build and show the proper delete broadcast dialog. The UI is slightly different 267 public void onClick(DialogInterface dialog, int whichButton) { 282 dialog.dismiss();
|
/packages/apps/Settings/src/com/android/settings/ |
RingerVolumePreference.java | 23 import android.app.Dialog; 288 Dialog dialog = getDialog(); local 289 if (dialog != null && dialog.isShowing()) { 290 // Stopped while dialog was showing, revert changes
|