/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
LooperAcceleration.java | 20 import android.app.Dialog; 80 Dialog dlg = new Dialog(context); 86 public void onDismiss(DialogInterface dialog) {
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
VersionDialog.java | 21 import android.app.Dialog; 32 * This is the dialog we show when the library's version is older than 37 public Dialog onCreateDialog(Bundle savedInstanceState) { 40 // Need to use our library's resources for showing the dialog. 55 new Dialog.OnClickListener() { 57 public void onClick(DialogInterface dialog, int which) {
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/ |
DialogUsage.java | 18 import android.app.Dialog; 46 // Add an OnClickListener to show our selected dialog 67 Dialog dialog = new AppCompatDialog(this); local 68 dialog.setTitle(R.string.dialog_title); 69 dialog.setContentView(R.layout.dialog_content); 70 dialog.show(); 74 Dialog dialog = new AppCompatDialog(this); local 75 dialog.setTitle(R.string.dialog_title) [all...] |
/packages/apps/Contacts/src/com/android/contacts/dialog/ |
IndeterminateProgressDialog.java | 17 package com.android.contacts.dialog; 19 import android.app.Dialog; 28 * Indeterminate progress dialog wrapped up in a DialogFragment to work even when the device 30 * dialog. There is an additional parameter of the minimum amount of time to display the progress 31 * dialog even after a call to dismiss the dialog {@link #dismiss()} or 34 * To create and show the progress dialog, use 38 * To dismiss the dialog, use {@link #dismiss()} or {@link #dismissAllowingStateLoss()} on the 52 private Dialog mOldDialog; 64 * Creates and shows an indeterminate progress dialog. Once the progress dialog is shown, i 90 final ProgressDialog dialog = new ProgressDialog(getActivity()); local [all...] |
/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/ |
VideoCallNotAvailablePrompt.java | 20 import android.app.Dialog; 51 public Pair<Dialog, CharSequence> createDialog(@NonNull Context context, DialerCall call) { 54 Dialog dialog = local 64 return new Pair<>(dialog, title);
|
/packages/apps/TV/src/com/android/tv/dialog/ |
HalfSizedDialogFragment.java | 17 package com.android.tv.dialog; 19 import android.app.Dialog; 32 public static final String TRACKER_LABEL = "Half sized dialog"; 63 // Dismisses the dialog to prevent the callback being forgotten during 76 public Dialog onCreateDialog(Bundle savedInstanceState) { 77 Dialog dialog = super.onCreateDialog(savedInstanceState); local 78 dialog.setOnKeyListener( 80 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent keyEvent) { 86 return dialog; [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ActivityController.java | 20 import android.app.Dialog; 126 Dialog onCreateDialog(int id, Bundle bundle); 165 * @param dialog 168 void onPrepareDialog(int id, Dialog dialog, Bundle bundle);
|
/external/robolectric/v1/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...] |
ShadowDialogFragment.java | 3 import android.app.Dialog; 23 private Dialog dialog; field in class:ShadowDialogFragment 44 dialog = realDialogFragment.onCreateDialog(null); 46 if (dialog == null) { 47 dialog = new Dialog(activityFromManager); 48 dialog.setContentView(view); 50 dialog.setCancelable(cancelable); 62 if (dialog != null) [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
CustomDialogPreference.java | 19 import android.app.Dialog; 54 public Dialog getDialog() { 69 protected void onClick(DialogInterface dialog, int which) { 116 public Dialog onCreateDialog(Bundle savedInstanceState) { 117 final Dialog dialog = super.onCreateDialog(savedInstanceState); local 118 dialog.setOnShowListener(getCustomizablePreference().getOnShowListener()); 119 return dialog; 123 public void onClick(DialogInterface dialog, int which) { 124 super.onClick(dialog, which) [all...] |
/packages/apps/Dialer/java/com/android/dialer/blockreportspam/ |
BlockReportSpamDialogs.java | 21 import android.app.Dialog; 33 * Helper class for creating dialog fragments to block a number and/or report it as spam/not spam. 42 /** Creates a dialog with the default cancel button listener (dismisses dialog). */ 47 .setNegativeButton(android.R.string.cancel, (dialog, which) -> fragment.dismiss()); 56 return (dialog, which) -> { 73 * Listener passed to block/report spam dialog for positive click in {@link 79 * Called when user clicks on positive button in block/report spam dialog. 86 /** Listener passed to all dialogs except the block/report spam dialog for positive click. */ 89 /** Called when user clicks on positive button in the dialog. * 199 Dialog dialog = local 247 Dialog dialog = local 276 Dialog dialog = local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleAdvertiserTestActivity.java | 20 import android.app.Dialog; 54 .setOnCancelListener(new Dialog.OnCancelListener() { 56 public void onCancel(DialogInterface dialog) {
|
BleScannerTestActivity.java | 20 import android.app.Dialog; 55 .setOnCancelListener(new Dialog.OnCancelListener() { 57 public void onCancel(DialogInterface dialog) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/ |
AccuracyResultDialog.java | 21 import android.app.Dialog; 28 * Dialog that displays the results of the first test. 33 AccuracyResultDialog dialog = new AccuracyResultDialog(); local 34 dialog.setup(resultObject); 35 return dialog; 39 public Dialog onCreateDialog(Bundle savedInstanceState) { 48 // Parent class will actually create the dialog.
|
BaseResultsDialog.java | 21 import android.app.Dialog; 31 * Class that sets up the displaying of test results in a dialog. 53 public Dialog onCreateDialog(Bundle savedInstanceState) {
|
ComplexMovementResultDialog.java | 21 import android.app.Dialog; 28 * Dialog that displays the results of the first test. 33 ComplexMovementResultDialog dialog = new ComplexMovementResultDialog(); local 34 dialog.setup(resultObject); 35 return dialog; 39 public Dialog onCreateDialog(Bundle savedInstanceState) {
|
Lap2Dialog.java | 21 import android.app.Dialog; 28 * Dialog for instructions on what to to on lap 2 34 Lap2Dialog dialog = new Lap2Dialog(); local 35 return dialog; 43 public Dialog onCreateDialog(Bundle savedInstanceState) { 44 // Use the Builder class for convenient dialog construction. 47 // Inflate and set the layout for the dialog. 48 // Pass null as the parent view because its going in the dialog layout. 52 public void onClick(DialogInterface dialog, int which) {
|
RobustnessResultDialog.java | 21 import android.app.Dialog; 28 * Dialog that displays the results of the first test. 33 RobustnessResultDialog dialog = new RobustnessResultDialog(); local 34 dialog.setup(resultObject); 35 return dialog; 39 public Dialog onCreateDialog(Bundle savedInstanceState) {
|
/developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
MessageDialogFragment.java | 19 import android.app.Dialog; 48 public Dialog onCreateDialog(Bundle savedInstanceState) {
|
/developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
ConfirmationDialogFragment.java | 20 import android.app.Dialog; 50 public Dialog onCreateDialog(Bundle savedInstanceState) { 56 public void onClick(DialogInterface dialog, int which) { 62 public void onClick(DialogInterface dialog, int which) {
|
MessageDialogFragment.java | 20 import android.app.Dialog; 28 * Shows a dialog with a brief message. 44 public Dialog onCreateDialog(Bundle savedInstanceState) { 50 public void onClick(DialogInterface dialog, int which) {
|
/developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
ConfirmationDialogFragment.java | 20 import android.app.Dialog; 50 public Dialog onCreateDialog(Bundle savedInstanceState) { 56 public void onClick(DialogInterface dialog, int which) { 62 public void onClick(DialogInterface dialog, int which) {
|
MessageDialogFragment.java | 20 import android.app.Dialog; 28 * Shows a dialog with a brief message. 44 public Dialog onCreateDialog(Bundle savedInstanceState) { 50 public void onClick(DialogInterface dialog, int which) {
|
/developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
MessageDialogFragment.java | 19 import android.app.Dialog; 48 public Dialog onCreateDialog(Bundle savedInstanceState) {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ProgressBar3.java | 22 import android.app.Dialog; 64 protected Dialog onCreateDialog(int id) { 67 ProgressDialog dialog = new ProgressDialog(this); local 68 dialog.setTitle("Indeterminate"); 69 dialog.setMessage("Please wait while loading..."); 70 dialog.setIndeterminate(true); 71 dialog.setCancelable(true); 72 return dialog; 75 ProgressDialog dialog = new ProgressDialog(this); local 76 dialog.setMessage("Please wait while loading...") [all...] |