Searched refs:DialogStubActivity (Results 1 – 4 of 4) sorted by relevance
26 import android.app.stubs.DialogStubActivity;52 private ActivityScenario<DialogStubActivity> mScenario;53 private DialogStubActivity mActivity;72 mScenario = DialogStubActivity.startDialogActivity( in startDialogActivity()84 doTestAlertDialog(DialogStubActivity.TEST_ALERTDIALOG); in testAlertDialog()122 doTestAlertDialog(DialogStubActivity.TEST_ALERTDIALOG_DEPRECATED); in testAlertDialogDeprecatedAPI()127 ? DialogStubActivity.TEST_ALERTDIALOG_DEPRECATED_WITH_MESSAGE in testAlertDialogAPIWithMessage()128 : DialogStubActivity.TEST_ALERTDIALOG_WITH_MESSAGE); in testAlertDialogAPIWithMessage()148 DialogStubActivity.buttonIndex = 0; in testAlertDialogAPIWithMessage()151 (DialogInterface.BUTTON_POSITIVE == DialogStubActivity.buttonIndex)); in testAlertDialogAPIWithMessage()[all …]
29 import android.app.stubs.DialogStubActivity;91 private ActivityScenario<DialogStubActivity> mScenario;92 private DialogStubActivity mActivity;111 mScenario = DialogStubActivity.startDialogActivity( in startDialogActivity()140 startDialogActivity(DialogStubActivity.TEST_PROTECTED_CANCELABLE); in testConstructor_protectedCancellable()148 startDialogActivity(DialogStubActivity.TEST_PROTECTED_NOT_CANCELABLE); in testConstructor_protectedNotCancellable()156 startDialogActivity(DialogStubActivity.TEST_PROTECTED_CANCELABLE); in testConstructor_protectedCancellableEsc()165 startDialogActivity(DialogStubActivity.TEST_PROTECTED_NOT_CANCELABLE); in testConstructor_protectedNotCancellableEsc()195 startDialogActivity(DialogStubActivity.TEST_ONSTART_AND_ONSTOP); in testOnStartCreateStop()209 startDialogActivity(DialogStubActivity.TEST_ONSTART_AND_ONSTOP); in testOnStartCreateStopEsc()[all …]
20 import android.app.stubs.DialogStubActivity;42 protected DialogStubActivity mDialogActivity;45 public ActivityScenarioRule<DialogStubActivity> mActivityRule =46 new ActivityScenarioRule<>(DialogStubActivity.class);
45 public class DialogStubActivity extends Activity { class264 mAlertDialog = new AlertDialog.Builder(DialogStubActivity.this).create(); in getAlertDialogInstance()296 mAlertDialog = new AlertDialog.Builder(DialogStubActivity.this).create(); in getCustomAlertDialogInstance()320 public static ActivityScenario<DialogStubActivity> startDialogActivity( in startDialogActivity()324 intent.setClass(context, DialogStubActivity.class); in startDialogActivity()