/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
AttachmentActionHandler.java | 139 * Displays a loading dialog to be used for downloading attachments. 150 // Create and show the dialog. 157 * Update progress-related views. Will also trigger a view intent if a progress dialog was 167 final AttachmentProgressDialogFragment dialog = (AttachmentProgressDialogFragment) local 169 if (dialog != null && dialog.isShowingDialogForAttachment(mAttachment)) { 170 dialog.setProgress(mAttachment.downloadedSize); 174 final boolean indeterminate = !showProgress && dialog.isIndeterminate(); 175 dialog.setIndeterminate(indeterminate); 181 dialog.dismiss() 198 final Fragment dialog = mFragmentManager.findFragmentByTag(PROGRESS_FRAGMENT_TAG); local [all...] |
SelectedConversationsActionMenu.java | 77 * Context of the activity. A dialog requires the context of an activity rather than the global 183 // Get the actual account here, so that we display its folders in the dialog 188 final FolderSelectionDialog dialog = FolderSelectionDialog.getInstance( local 191 if (dialog != null) { 192 dialog.show(); 252 // no confirmation dialog by default unless user preference or common sense dictates one 275 // No need to show the dialog, just make a destructive action and destroy the
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperActivity.java | 21 import android.app.Dialog; 47 * as a dialog 50 fragment.show(getFragmentManager(), "dialog"); 71 WallpaperDialog dialog = new WallpaperDialog(); local 72 dialog.setCancelable(true); 73 return dialog; 92 public void onDismiss(DialogInterface dialog) { 93 /* On orientation changes, the dialog is effectively "dismissed" so this is called 94 * when the activity is no longer associated with this dying dialog fragment. We 104 public Dialog onCreateDialog(Bundle savedInstanceState) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizard.java | 110 MessageDialog dialog = new MessageDialog(null, "File Already Exists", null, local 118 int result = dialog.open();
|
/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. 175 * Handles response to the Browse button by creating a Package dialog. 179 // Display the list of AndroidManifest packages in a selection dialog 180 ElementListSelectionDialog dialog = new ElementListSelectionDialog( local 211 dialog.setTitle("Android Manifest Package Selection"); 212 dialog.setMessage("Select the Android Manifest package to target."); 214 dialog.setElements(getPossibleValues(null)); 216 // open the dialog and use the object selected if OK was clicked, or null otherwise 217 if (dialog.open() == Window.OK) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateTestPage.java | 136 DirectoryDialog dialog = new DirectoryDialog(mButton.getShell(), SWT.OPEN); local 139 dialog.setFilterPath(path); 141 String file = dialog.open();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/ |
BuildsView.java | 95 ElementListSelectionDialog dialog = new ElementListSelectionDialog(getSite().getShell(), new LabelProvider()); local 96 dialog.setTitle(getTitleToolTip()); 97 dialog.setMessage("Select the baseline to use while generating results:"); 99 dialog.setInitialSelections(defaultBaseline); 100 dialog.setElements(baselines); 101 dialog.open(); 102 Object[] selected = dialog.getResult(); 210 // Progress dialog
|
/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...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ActivityTest.java | 4 import android.app.Dialog; 193 new Dialog(activity) { 195 activity.dialog = this; 216 new Dialog(activity) { 218 activity.dialog = this; 240 Dialog firstDialog = ShadowDialog.getLatestDialog(); 244 final Dialog secondDialog = ShadowDialog.getLatestDialog(); 253 Dialog dialog = ShadowDialog.getLatestDialog(); local 254 assertTrue(dialog.isShowing()) 262 Dialog dialog = ShadowDialog.getLatestDialog(); local 565 public Dialog dialog = null; field in class:ActivityTest.DialogLifeCycleActivity [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserHistoryPage.java | 21 import android.app.Dialog; 300 public void onClick(DialogInterface dialog, int which) { 306 final Dialog dialog = builder.create(); local 307 dialog.show();
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ConfirmAddDetailActivity.java | 20 import android.app.Dialog; 83 * This is a dialog-themed activity for confirming the addition of a detail to an existing contact 96 * If there's no editable accounts on the system, we'll set {@link #mIsReadOnly} and the dialog 100 * Note when there's no accounts, it *is* okay to show the picker / dialog, because the local-only 268 // Retrieve references to all the Views in the dialog activity. 285 protected Dialog onCreateDialog(int id, Bundle args) { 288 // Nobody knows about the Dialog 289 Log.w(TAG, "Unknown dialog requested, id: " + id + ", args: " + args); 626 // No editable account type found. The dialog will be read-only mode. 738 * Shows all the contents of the dialog to the user at one time. This should only be calle 868 ProgressDialog dialog = (sProgressDialog == null) ? null : sProgressDialog.get(); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
LabeledEditorView.java | 20 import android.app.Dialog; 375 * Prepare dialog for entering a custom label. The input value is trimmed: white spaces before 381 private Dialog createCustomDialog() { 396 public void onClick(DialogInterface dialog, int which) { 421 final AlertDialog dialog = builder.create(); local 422 dialog.setOnShowListener(new OnShowListener() { 425 updateCustomDialogOkButtonState(dialog, editText); 439 updateCustomDialogOkButtonState(dialog, editText); 442 dialog.getWindow().setSoftInputMode( 445 return dialog; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
IngestActivity.java | 80 // with a dialog not updating for a long time. To give the user feedback, 459 // TODO: maybe show an extra dialog listing the ones that failed 472 ProgressDialog dialog = getProgressDialog(); local 474 dialog.setIndeterminate(indeterminate); 475 dialog.setProgressStyle(indeterminate ? ProgressDialog.STYLE_SPINNER 478 dialog.setTitle(mProgressState.title); 481 dialog.setMessage(mProgressState.message); 484 dialog.setProgress(mProgressState.current); 485 dialog.setMax(mProgressState.max); 487 if (!dialog.isShowing()) 493 ProgressDialog dialog = getProgressDialog(); local [all...] |
/packages/apps/Settings/src/com/android/settings/tts/ |
TextToSpeechSettings.java | 61 /** Preference key for the TTS rate selection dialog. */ 475 AlertDialog dialog = builder.create(); local 476 dialog.show();
|
/packages/apps/Settings/src/com/android/settings/wfd/ |
WifiDisplaySettings.java | 573 public void onClick(DialogInterface dialog, int which) { 583 public void onClick(DialogInterface dialog, int which) { 588 AlertDialog dialog = new AlertDialog.Builder(getActivity()) local 595 dialog.show();
|
/packages/apps/Stk/src/com/android/stk/ |
StkAppService.java | 828 final AlertDialog dialog = new AlertDialog.Builder(mContext) local 835 public void onClick(DialogInterface dialog, int which) { 847 public void onClick(DialogInterface dialog, int which) { 859 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 862 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); 865 dialog.show(); 877 final AlertDialog dialog = new AlertDialog.Builder(mContext) local 884 public void onClick(DialogInterface dialog, int which) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/ |
DeviceView.java | 370 // dialog box only run in ui thread.. 540 ProgressMonitorDialog dialog = new ProgressMonitorDialog(shell); local 542 dialog.run(true, false, new IRunnableWithProgress() { [all...] |
/external/chromium_org/chrome/browser/chromeos/login/ |
webui_login_view.cc | 317 ProxySettingsDialog* dialog = local 319 dialog->Show();
|
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/linux/ |
main_wnd.cc | 167 GtkWidget* dialog = gtk_message_dialog_new(GTK_WINDOW(window_), local 171 gtk_window_set_title(GTK_WINDOW(dialog), caption); 172 gtk_dialog_run(GTK_DIALOG(dialog)); 173 gtk_widget_destroy(dialog);
|
/external/replicaisland/src/com/replica/replicaisland/ |
MainMenuActivity.java | 25 import android.app.Dialog; 333 protected Dialog onCreateDialog(int id) { 334 Dialog dialog; local 336 dialog = new AlertDialog.Builder(this) 342 dialog = new AlertDialog.Builder(this) 345 public void onClick(DialogInterface dialog, int whichButton) { 359 dialog = new AlertDialog.Builder(this) 363 public void onClick(DialogInterface dialog, int whichButton) { 372 dialog = super.onCreateDialog(id) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarColorPickerDialog.java | 20 import android.app.Dialog; 157 // Empty constructor required for dialog fragments. 224 public Dialog onCreateDialog(Bundle savedInstanceState) { 225 Dialog dialog = super.onCreateDialog(savedInstanceState); local 230 return dialog;
|
/frameworks/base/core/java/com/android/internal/app/ |
AlertController.java | 155 public ButtonHandler(DialogInterface dialog) { 156 mDialog = new WeakReference<DialogInterface>(dialog); 266 * Set the view to display in the dialog. 274 * Set the view to display in the dialog along with the spacing around that view 799 * @param listView The ListView that will be shown in the dialog. 810 public void apply(AlertController dialog) { 812 dialog.setCustomTitle(mCustomTitleView); 815 dialog.setTitle(mTitle); 818 dialog.setIcon(mIcon); 821 dialog.setIcon(mIconId) [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
GlobalActions.java | 27 import android.app.Dialog; 76 * Helper to show the global actions dialog. Each item is an {@link Action} that 142 * Show the global actions dialog (creating if necessary) 151 // Show delayed, so that the dismiss of the previous dialog completes 183 * Create the global actions dialog. 184 * @return A new dialog. 204 // Launch ECM exit dialog 281 public void onClick(DialogInterface dialog, int which) { 283 // dialog a chance to go away before it takes a 296 AlertDialog dialog = builder.create() 332 GlobalActionsDialog dialog = new GlobalActionsDialog(mContext, params); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintViewPart.java | 614 PreferenceDialog dialog = new PreferenceDialog(shell, manager); local 615 dialog.create(); 616 dialog.setSelectedNode(title); 617 dialog.open();
|
/external/chromium_org/chrome/browser/ui/views/ |
constrained_window_views.cc | 127 // top of the dialog. 649 views::Widget* dialog = new views::Widget; local 661 dialog, 670 dialog->Init(params); 675 views::corewm::SetShadowType(dialog->GetNativeWindow(), 682 dialog->SetNativeWindowProperty(kWebContentsModalDialogHostObserverViewsKey, 686 return dialog; 689 views::Widget* CreateBrowserModalDialogViews(views::DialogDelegate* dialog, 692 views::DialogDelegate::CreateDialogWidget(dialog, NULL, parent); 693 if (!dialog->UseNewStyleForThisDialog() [all...] |