/external/chromium_org/chrome/browser/ui/views/ |
tab_modal_confirm_dialog_views.h | 25 // Displays a tab-modal dialog, i.e. a dialog that will block the current page 27 // To display the dialog, allocate this object on the heap. It will open the 28 // dialog from its constructor and then delete itself when the user dismisses 29 // the dialog.
|
select_file_dialog_extension.h | 28 // Shows a dialog box for selecting a file or a folder, using the 43 virtual void ExtensionDialogClosing(ExtensionDialog* dialog) OVERRIDE; 44 virtual void ExtensionTerminated(ExtensionDialog* dialog) OVERRIDE; 86 // Check if the list of pending dialogs contains dialog for |tab_id|. 89 // Returns true if the dialog has multiple file type choices. 94 // Host for the extension that implements this dialog. 97 // ID of the tab that spawned this dialog, used to route callbacks. 100 // Pointer to the profile the dialog is running in. 103 // The window that created the dialog.
|
/external/chromium_org/content/public/browser/ |
javascript_dialog_manager.h | 29 // Displays a JavaScript dialog. |did_suppress_message| will not be nil; if 41 // Displays a dialog asking the user if they want to leave a page. 47 // Accepts or dismisses the active JavaScript dialog, which must be owned 49 // text of the dialog should be set before accepting. Returns true if the 50 // dialog was handled.
|
/external/chromium_org/printing/ |
print_dialog_gtk_interface.h | 22 // Tell the dialog to use the default print setting. 25 // Update the dialog to use |job_settings| and |ranges|, where |job_settings| 28 // print dialog. E.g. for Print Preview. Returns false on error. 33 // Shows the dialog and handles the response with |callback|. Only used when 34 // printing with the native print dialog.
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
PixelConverter.java | 13 import org.eclipse.jface.dialogs.Dialog; 49 return Dialog.convertHeightInCharsToPixels(fFontMetrics, chars); 56 return Dialog.convertHorizontalDLUsToPixels(fFontMetrics, dlus); 63 return Dialog.convertVerticalDLUsToPixels(fFontMetrics, dlus); 70 return Dialog.convertWidthInCharsToPixels(fFontMetrics, chars);
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePickerDialog.java | 41 * A simple dialog containing an {@link DatePicker}. 82 * @param context The context the dialog is to run in. 84 * @param year The initial year of the dialog 85 * @param monthOfYear The initial month of the dialog. 86 * @param dayOfMonth The initial day of the dialog. 97 * @param context The context the dialog is to run in. 99 * @param year The initial year of the dialog or {@link DatePickerDialog#NO_YEAR} if no year 101 * @param monthOfYear The initial month of the dialog. 102 * @param dayOfMonth The initial day of the dialog. 118 * @param context The context the dialog is to run in [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
tkColorChooser.py | 14 # - initialcolor: colour to mark as selected when dialog is displayed 17 # - parent: which window to place the dialog on top of 19 # - title: dialog title 22 from tkCommonDialog import Dialog 28 class Chooser(Dialog):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
tkColorChooser.py | 14 # - initialcolor: colour to mark as selected when dialog is displayed 17 # - parent: which window to place the dialog on top of 19 # - title: dialog title 22 from tkCommonDialog import Dialog 28 class Chooser(Dialog):
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AlertDialogTest.java | 53 AlertDialog dialog = new AlertDialog.Builder(new ContextWrapper(null)).show(); local 54 assertThat(ShadowAlertDialog.getLatestAlertDialog(), sameInstance(dialog)); 61 AlertDialog dialog = builder.create(); local 62 dialog.show(); 63 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_POSITIVE), not(nullValue())); 64 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_NEGATIVE), nullValue()); 71 AlertDialog dialog = builder.create(); local 72 dialog.show(); 73 Robolectric.clickOn(dialog.getButton(AlertDialog.BUTTON_POSITIVE)); 185 public void onClick(DialogInterface dialog, int which) 351 AlertDialog dialog = new AlertDialog.Builder(context).create(); local 365 AlertDialog dialog = new AlertDialog(Robolectric.application) { local 376 private DialogInterface dialog; field in class:AlertDialogTest.TestDialogOnClickListener [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
Dialog.js | 36 WebInspector.Dialog = function(relativeToElement, delegate) 64 * @return {WebInspector.Dialog} 66 WebInspector.Dialog.currentInstance = function() 68 return WebInspector.Dialog._instance; 75 WebInspector.Dialog.show = function(relativeToElement, delegate) 77 if (WebInspector.Dialog._instance) 79 WebInspector.Dialog._instance = new WebInspector.Dialog(relativeToElement, delegate); 82 WebInspector.Dialog.hide = function() 84 if (!WebInspector.Dialog._instance [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
DialogFragment.java | 20 import android.app.Dialog; 42 * normal dialog. 55 * is entirely responsible for drawing the dialog. 61 * {@link #STYLE_NO_FRAME}, but also disables all input to the dialog. 79 Dialog mDialog; 89 * fragment's dialog. This can be used for some common dialog behaviors, 91 * same effect can be achieve by manually setting Dialog and Window 92 * attributes yourself. Calling this after the fragment's Dialog is 112 * Display the dialog, adding the fragment to the given FragmentManager. Thi [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
shell_dialogs_mac.mm | 58 void FileWasSelected(NSSavePanel* dialog, 65 bool ShouldEnableFilename(NSSavePanel* dialog, NSString* filename); 85 // Gets the accessory view for the save dialog. 154 // Note: we need to retain the dialog as owning_window can be null. 156 NSSavePanel* dialog; 158 dialog = [[NSSavePanel savePanel] retain]; 160 dialog = [[NSOpenPanel openPanel] retain]; 163 [dialog setTitle:base::SysUTF16ToNSString(title)]; 168 // The file dialog is going to do a ton of stats anyway. Not much 193 [dialog setAllowedFileTypes:allowed_file_types] [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
TwoFieldDatePickerDialog.java | 41 * @param context The context the dialog is to run in. 43 * @param year The initial year of the dialog. 44 * @param weekOfYear The initial week of the dialog. 56 * @param context The context the dialog is to run in. 57 * @param theme the theme to apply to this dialog 59 * @param year The initial year of the dialog. 60 * @param weekOfYear The initial week of the dialog. 89 public void onClick(DialogInterface dialog, int which) { 102 // Dismissing a dialog (by pressing back for example)
|
/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) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConfirmDialogFragment.java | 21 import android.app.Dialog; 32 * A dialog which is also a fragment. This dialog shows a message, two buttons (ok/cancel), and runs 34 * automatically over orientation changes. To make a listener that works with this dialog, create a 39 /** Tag for saving the message shown in the dialog. */ 41 /** Tag for the dialog in the fragment manager. */ 42 private static final String DIALOG_TAG = "confirm-dialog"; 83 public Dialog onCreateDialog(Bundle savedState) { 93 * Display this dialog with the provided fragment manager
|
/external/chromium/chrome/browser/sync/glue/ |
synchronized_preferences.h | 18 // Options dialog: Basics tab. 28 // Options dialog: Personal Stuff tab. 33 // Options dialog: Under the hood -> Content Settings -> Cookies. 38 // Options dialog: Under the hood -> Content Settings -> 43 // Options dialog: Under the hood -> Content Settings -> Location. 44 // Exceptions not working (dialog not working either). 48 // Options dialog: under the hood -> Content Settings -> Notifications. 51 // Options dialog: Under the hood -> Clear browsing data. 61 // Options dialog: Under the hood -> Change proxy settings. 62 // Uses native OS dialog, not synced [all...] |
/external/chromium_org/chrome/browser/media_galleries/ |
media_galleries_dialog_controller.h | 38 // live longer than the dialog. If the entry does not already exist, it 46 // Constructs a platform-specific dialog owned and controlled by |controller|. 51 // The controller is responsible for handling the logic of the dialog and 53 // the dialog and owns itself. 70 // The constructor creates a dialog controller which owns itself. 75 // The title of the dialog view. 81 // Header for unattached devices part of the dialog. 84 // Initial state of whether the dialog's confirmation button will be enabled. 93 // Called when the add-folder button in the dialog is clicked. 101 // The dialog is being deleted [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/ |
constrained_window_mac_browsertest.mm | 81 // Show dialog in non active tab. 83 ConstrainedWindowMac dialog(&delegate, tab0_, sheet_); 90 dialog.CloseWebContentsModalDialog(); 107 // Show dialog and verify that it's not visible yet. 109 ConstrainedWindowMac dialog(&delegate, tab2, sheet_); 118 dialog.CloseWebContentsModalDialog(); 124 ConstrainedWindowMac dialog(&delegate, tab1_, sheet_); 126 // Verify that the dialog disables dragging. 130 dialog.CloseWebContentsModalDialog(); 136 ConstrainedWindowMac dialog(&delegate, tab1_, sheet_) [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
DialogManager.java | 20 import android.app.Dialog; 41 * To actually show a Dialog, the View uses {@link DialogManager#showDialogInView(View, Bundle)}, 63 * Called by a View to show a dialog. It has to pass itself and a Bundle with extra information. 85 public Dialog onCreateDialog(final int id, final Bundle bundle) { 101 final Dialog dialog = ((DialogShowingView)view).createDialog(bundle); local 102 if (dialog == null) { 103 return dialog; 106 // As we will never re-use this dialog, we can completely kill it here 107 dialog.setOnDismissListener(new OnDismissListener() [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
AsyncDialog.java | 28 * than half a second, a progress modal dialog is displayed. 49 * @param dialogStringId the id of the string to be shown in the dialog 70 // clear the dialog so any pending dialog.dismiss() call can be avoided 88 * Creates the Task with the specified string id to be shown in the dialog 93 // lazy initialization of progress dialog for loading attachments 101 * Initializes the progress dialog with its intended settings. 104 ProgressDialog dialog = new ProgressDialog(mActivity); local 105 dialog.setIndeterminate(true); 106 dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPDialog.java | 119 * Tracks dialogs. A dialog is a peer to peer association of communicating SIP entities. For 120 * INVITE transactions, a Dialog is created when a success message is received (i.e. a response 122 * dialog identifier that can be used to retrieve this structure from the SipStack. 131 public class SIPDialog implements javax.sip.Dialog, DialogExt { 153 // Should be transient, in case the dialog is serialized it will be null 204 // Dialog. 220 // the amount of time to keep this dialog around before the stack GC's it 258 // List of event listeners for this dialog 264 // keep the whole transaction object for the duration of the dialog. It also 318 * Send BYE to the Dialog. 376 SIPDialog dialog = SIPDialog.this; local 399 SIPDialog dialog = SIPDialog.this; local [all...] |
/frameworks/base/core/java/android/app/ |
AlertDialog.java | 39 * A subclass of Dialog that can display one, two or three buttons. If you only want to 40 * display a String in this dialog box, use the setMessage() method. If you 52 * any views in the dialog return true from {@link View#onCheckIsTextEditor() 53 * View.onCheckIsTextEditor()}. Generally you want this set for a Dialog 64 public class AlertDialog extends Dialog implements DialogInterface { 69 * the traditional (pre-Holo) alert dialog theme. 105 * to get the dialog's style (such as {@link android.R.attr#alertDialogTheme} 150 * Gets one of the buttons used in the dialog. 152 * If a button does not exist in the dialog, null will be returned. 157 * @return The button from the dialog, or null if a button does not exist 931 final AlertDialog dialog = new AlertDialog(P.mContext, mTheme, false); local 950 AlertDialog dialog = create(); local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
SettingsPreferenceFragment.java | 19 import android.app.Dialog; 40 * Base class for Settings fragments, with some helper functions and dialog management. 143 // Dialog management 147 Log.e(TAG, "Old dialog fragment not null!"); 153 public Dialog onCreateDialog(int dialogId) { 159 // To be able to dismiss dialog at that time, don't check 168 * Sets the OnCancelListener of the dialog shown. This method can only be 179 * Sets the OnDismissListener of the dialog shown. This method can only be 236 public Dialog onCreateDialog(Bundle savedInstanceState) { 251 // This dialog fragment could be created from non-SettingsPreferenceFragmen [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ProjectsActivity.java | 21 import android.app.Dialog; 61 // Dialog ids 65 // Dialog parameters 124 // Open new project dialog when user clicks on the "create new project" card. 191 public Dialog onCreateDialog(int id, final Bundle bundle) { 201 public void onClick(DialogInterface dialog, int which) { 203 (TextView)((AlertDialog)dialog).findViewById(R.id.text_1); 212 public void onClick(DialogInterface dialog, int which) { 218 public void onCancel(DialogInterface dialog) { 232 0, // no icons for this dialog [all...] |
/cts/tests/tests/holo/src/android/holo/cts/ |
BitmapDeletionActivity.java | 23 import android.app.Dialog; 71 protected Dialog onCreateDialog(int id, Bundle args) { 74 ProgressDialog dialog = new ProgressDialog(BitmapDeletionActivity.this); local 75 dialog.setMessage(getString(R.string.deleting_bitmaps)); 76 return dialog; 93 public void onClick(DialogInterface dialog, int which) {
|