/frameworks/base/docs/html/guide/practices/app-design/ |
responsiveness.jd | 18 <img src="{@docRoot}images/anr.png" alt="Screenshot of ANR dialog box" width="240" height="320"/> 19 <p><strong>Figure 1.</strong> An ANR dialog displayed to the user.</p> 29 responsive for a period of time by displaying a dialog to the user, called the 30 Application Not Responding (ANR) dialog, shown at right in Figure 1. The user 32 to act on this dialog every time he or she uses your application. It's critical 34 cause to display an ANR dialog to the user. </p> 64 and Window Manager system services. Android will display the ANR dialog 81 takes a long time to complete can trigger the ANR dialog because your
|
/frameworks/base/docs/html/guide/practices/ |
responsiveness.jd | 18 <img src="{@docRoot}images/anr.png" alt="Screenshot of ANR dialog box" width="240" height="320"/> 19 <p><strong>Figure 1.</strong> An ANR dialog displayed to the user.</p> 29 responsive for a period of time by displaying a dialog to the user, called the 30 Application Not Responding (ANR) dialog, shown at right in Figure 1. The user 32 to act on this dialog every time he or she uses your application. It's critical 34 cause to display an ANR dialog to the user. </p> 64 and Window Manager system services. Android will display the ANR dialog 81 takes a long time to complete can trigger the ANR dialog because your
|
/packages/apps/Settings/src/com/android/settings/ |
ApnSettings.java | 19 import android.app.Dialog; 329 protected Dialog onCreateDialog(int id) { 331 ProgressDialog dialog = new ProgressDialog(this); local 332 dialog.setMessage(getResources().getString(R.string.restore_default_apn)); 333 dialog.setCancelable(false); 334 return dialog; 340 protected void onPrepareDialog(int id, Dialog dialog) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/actions/ |
AddNativeAction.java | 53 WizardDialog dialog = new WizardDialog(mPart.getSite().getShell(), wizard); local 54 dialog.open();
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettings.java | 22 import android.app.Dialog; 120 * for any/all accounts. If an account name string is provided, a warning dialog will be 156 // Show dialog (first time only - don't re-show on a rotation) 157 LoginWarningDialog dialog = LoginWarningDialog.newInstance(loginWarningAccount); local 158 dialog.show(getFragmentManager(), "loginwarning"); 234 // But we shouldn't just finish(), as we want to show "discard changes?" dialog 264 * we put up the exit-save-changes dialog. This will work for the following cases: 504 * with a dialog, and the user OK'd it. 535 // Possibly uninteresting fragment, such as a dialog. 711 * Dialog fragment to show "exit with unsaved changes?" dialo [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
CandidateTextView.java | 18 import android.app.Dialog; 52 /** Alert dialog */ 53 private Dialog mCandidateDialog = null; 155 * Display Dialog. 157 * @param builder The Dialog builder, 159 public void displayCandidateDialog(Dialog builder) {
|
CandidatesViewManager.java | 19 import android.app.Dialog; 71 protected Dialog mDialog = null; 158 * Display Dialog. 166 mDialog = new Dialog(view.getContext(), R.style.Dialog); 177 * Close Dialog.
|
UserDictionaryToolsEdit.java | 21 import android.app.Dialog; 75 /** The constant for notifying dialog (Already exists the specified word) */ 77 /** The constant for notifying dialog (The length of specified stroke or candidate exceeds the limit) */ 286 * Create the alert dialog for notifying the error 288 * @param id The dialog ID 289 * @return The information of the dialog 291 @Override protected Dialog onCreateDialog(int id) { 299 public void onClick(DialogInterface dialog, int whichButton) { 306 public void onCancel(DialogInterface dialog) { 319 public void onClick(DialogInterface dialog, int witchButton) [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
ShutdownThread.java | 22 import android.app.Dialog; 96 * @param context Context used to display the shutdown progress dialog. 127 final AlertDialog dialog = new AlertDialog.Builder(context) local 133 public void onClick(DialogInterface dialog, int which) { 139 closer.dialog = dialog; 140 dialog.setOnDismissListener(closer); 141 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); 142 dialog.show(); 151 public Dialog dialog field in class:ShutdownThread.CloseDialogReceiver [all...] |
/packages/apps/Phone/src/com/android/phone/ |
EditPhoneNumberPreference.java | 63 /** Called when the Dialog is closed. */ 67 * default number. for the dialog. 84 // button that was clicked on dialog close. 93 * Interface for the dialog closed listener, related to 103 * the default display number for the dialog. 186 //called when we're binding the dialog to the preference's view. 231 * preference's dialog layout. 247 //control the appearance of the dialog depending upon the mode. 270 //set the on focus change listener to be assigned to the Dialog's edittext field. 275 //set the listener to be called wht the dialog is closed [all...] |
EmergencyDialer.java | 21 import android.app.Dialog; 112 private String mLastNumber; // last number we tried to dial. Used to restore error dialog. 504 // erase the number and throw up an alert dialog. 557 protected Dialog onCreateDialog(int id) { 558 AlertDialog dialog = null; local 560 // construct dialog 561 dialog = new AlertDialog.Builder(this) 567 // blur stuff behind the dialog 568 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); 570 return dialog; [all...] |
/packages/apps/VideoEditor/res/values/ |
strings.xml | 34 <!-- Text displayed in the delete project confirmation dialog. --> 38 <!-- Text displayed in the remove audio track confirmation dialog. --> 48 <!-- Text displayed in the remove overlay confirmation dialog. --> 50 <!-- Menu item used to change the rendering mode. Launches a single choice dialog. --> 52 <!-- Text displayed in the remove transition confirmation dialog. --> 54 <!-- Text displayed in the remove effect confirmation dialog. --> 56 <!-- Text displayed in the remove video clip confirmation dialog. --> 58 <!-- Text displayed in the remove image confirmation dialog. --> 107 <!-- Text displayed in the project name dialog title. --> 111 <!-- Menu item aspect ratios are displayed in a single item select dialog. -- [all...] |
/frameworks/base/docs/html/guide/topics/search/ |
adding-recent-query-suggestions.jd | 31 <p>When using the Android search dialog or search widget, you can provide search suggestions based 34 suggestion once he or she begins typing the same query. Figure 1 shows an example of a search dialog 37 <p>Before you begin, you need to implement the search dialog or a search widget for basic searches 39 If you haven't, see <a href="search-dialog.html">Creating a Search Interface</a>.</p> 47 <p class="img-caption"><strong>Figure 1.</strong> Screenshot of a search dialog with recent query 54 searchable activity already handles (as described in <a href="search-dialog.html">Creating a Search 61 href="{@docRoot}guide/topics/search/search-dialog.html">Creating a Search Interface</a>.</li> 69 <p>Just as the Android system displays the search dialog, it also displays the 70 search suggestions below the dialog or search widget. All you need to do is provide a source from 234 preference item, or button. You should also provide a confirmation dialog t [all...] |
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
QuickLaunchSettings.java | 20 import android.app.Dialog; 125 // Restore the clear dialog's info 134 // Save the clear dialog's info 140 protected Dialog onCreateDialog(int id) { 144 // Create the dialog for clearing a shortcut 160 protected void onPrepareDialog(int id, Dialog dialog) { 164 AlertDialog alertDialog = (AlertDialog) dialog; 180 public void onClick(DialogInterface dialog, int which) { 209 // Open the clear shortcut dialog [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferActivity.java | 58 * dialog -Sending one file dialog -sending multiple files dialog -Complete 60 * -receive fail dialog -send -send success dialog -send fail dialog -Other 94 // Receive progress dialog 97 // Receive complete and success dialog 100 // Receive complete and fail dialog: will display some fail reason 103 // Send progress dialog [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
LabeledEditorView.java | 30 import android.app.Dialog; 376 * Prepare dialog for entering a custom label. The input value is trimmed: white spaces before 382 private Dialog createCustomDialog() { 397 public void onClick(DialogInterface dialog, int which) { 422 final AlertDialog dialog = builder.create(); local 423 dialog.setOnShowListener(new OnShowListener() { 426 updateCustomDialogOkButtonState(dialog, editText); 440 updateCustomDialogOkButtonState(dialog, editText); 443 dialog.getWindow().setSoftInputMode( 446 return dialog; [all...] |
/packages/apps/Launcher2/res/values/ |
strings.xml | 31 <!-- Title of dialog that appears after user selects Wallpaper from menu --> 35 <!-- Option in "Select wallpaper from" dialog box --> 58 dialog which allows you to pick which widgets to handle a particular 64 <!-- Label of Folder name field in Rename folder dialog box --> 66 <!-- Title of dialog box --> 68 <!-- Buttons in Rename folder dialog box --> 70 <!-- Buttons in Rename folder dialog box --> 75 <!-- Title of dialog box --> 77 <!-- Options in "Add to Home" dialog box; Title of the group containing the list of all apps --> 79 <!-- Options in "Add to Home" dialog box; Title of the group containing the list of all shortcu [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/ |
SuidFilesActivity.java | 79 public void onClick(DialogInterface dialog, int which) { 85 public void onClick(DialogInterface dialog, int which) { 91 public void onCancel(DialogInterface dialog) { 103 public void onCancel(DialogInterface dialog) { 104 // If the scanning dialog is cancelled, then stop the task and finish the activity 269 public void onClick(DialogInterface dialog, int which) { 270 dialog.dismiss();
|
/frameworks/base/docs/html/sdk/api_diff/12/changes/ |
android.app.Dialog.html | 10 android.app.Dialog 74 Class android.app.<A HREF="../../../../reference/android/app/Dialog.html" target="_top"><font size="+2"><code>Dialog</code></font></A> 86 <A NAME="android.app.Dialog.dispatchGenericMotionEvent_added(android.view.MotionEvent)"></A> 87 <nobr><code>boolean</code> <A HREF="../../../../reference/android/app/Dialog.html#dispatchGenericMotionEvent(android.view.MotionEvent)" target="_top"><code>dispatchGenericMotionEvent</code></A>(<code>MotionEvent</code>)</nobr> 93 <A NAME="android.app.Dialog.onGenericMotionEvent_added(android.view.MotionEvent)"></A> 94 <nobr><code>boolean</code> <A HREF="../../../../reference/android/app/Dialog.html#onGenericMotionEvent(android.view.MotionEvent)" target="_top"><code>onGenericMotionEvent</code></A>(<code>MotionEvent</code>)</nobr>
|
/packages/apps/Bluetooth/ |
AndroidManifest.xml | 83 android:theme="@android:style/Theme.Holo.Dialog" android:label="@string/bt_share_picker_label"> 116 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 121 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 126 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 131 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 136 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 156 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
GlobalActions.java | 61 * Helper to show the global actions dialog. Each item is an {@link Action} that 122 * Show the global actions dialog (creating if necessary) 131 // Show delayed, so that the dismiss of the previous dialog completes 147 * Create the global actions dialog. 148 * @return A new dialog. 168 // Launch ECM exit dialog 278 final AlertDialog dialog = ab.create(); local 279 dialog.getListView().setItemsCanFocus(true); 280 dialog.getListView().setLongClickable(true); 281 dialog.getListView().setOnItemLongClickListener [all...] |
/packages/apps/LegacyCamera/res/values/ |
strings.xml | 19 <!-- title for the dialog showing the error of camera hardware --> 22 <!-- message for the dialog showing the error of camera hardware --> 25 <!-- message for the dialog showing the camera is disabled because of security policies. Camera cannot be used. --> 63 <!-- Confirmation dialog when restoring settings --> 88 <!-- Settings screen, camera selection dialog title. Users can select a camera from the phone (front-facing or back-facing). [CHAR LIMIT=20] --> 103 <!-- Settings screen, Record location dialog choices --> 118 <!-- Describes the preference dialog for choosing interval between frame capture for 119 time lapse recording. Appears at top of the dialog. [CHAR LIMIT=30] --> 140 <!-- Settings screen, Picture size dialog radio button choices --> 152 <!-- Settings screen, Focue mode dialog radio button choices -- [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/Settings/src/com/android/settings/wifi/p2p/ |
WifiP2pSettings.java | 22 import android.app.Dialog; 174 public void onClick(DialogInterface dialog, int which) { 194 //disconnect dialog listener 197 public void onClick(DialogInterface dialog, int which) { 213 //cancel connect dialog listener 216 public void onClick(DialogInterface dialog, int which) { 350 public Dialog onCreateDialog(int id) { 362 AlertDialog dialog = new AlertDialog.Builder(getActivity()) local 368 return dialog; 375 AlertDialog dialog = new AlertDialog.Builder(getActivity() local 392 AlertDialog dialog = new AlertDialog.Builder(getActivity()) local [all...] |
/external/jmonkeyengine/engine/src/android/com/jme3/app/ |
AndroidHarness.java | 77 * Title of the exit dialog, default is "Do you want to exit?"
81 * Message of the exit dialog, default is "Use your home key to bring this
305 AlertDialog dialog = new AlertDialog.Builder(AndroidHarness.this) // .setIcon(R.drawable.alert_dialog_icon)
307 dialog.show();
313 * Called by the android alert dialog, terminate the activity and OpenGL
316 * @param dialog
319 public void onClick(DialogInterface dialog, int whichButton) {
340 AlertDialog dialog = new AlertDialog.Builder(AndroidHarness.this) // .setIcon(R.drawable.alert_dialog_icon)
342 dialog.show();
|