Home
last modified time | relevance | path

Searched refs:CustomViewActivity (Results 1 – 3 of 3) sorted by relevance

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCustomViewActivityTest.java77 AbstractContentCaptureIntegrationAutoActivityLaunchTest<CustomViewActivity> {
81 private static final ActivityTestRule<CustomViewActivity> sActivityRule =
82 new ActivityTestRule<>(CustomViewActivity.class, false, false);
85 super(CustomViewActivity.class); in CustomViewActivityTest()
89 protected ActivityTestRule<CustomViewActivity> getActivityTestRule() { in getActivityTestRule()
101 final CustomViewActivity activity = launchActivity(); in testLifecycle()
123 CustomViewActivity.setCustomViewDelegate((customView, structure) -> { in testVirtualView_wrongWay()
140 final CustomViewActivity activity = launchActivity(); in testVirtualView_wrongWay()
163 assertThat(events.size()).isAtLeast(CustomViewActivity.MIN_EVENTS + additionalEvents); in testVirtualView_wrongWay()
223 final CustomViewActivity activity = launchActivity(); in testVirtualView_oneLevel()
[all …]
DCustomViewActivity.java44 public class CustomViewActivity extends AbstractContentCaptureActivity { class
46 private static final String TAG = CustomViewActivity.class.getSimpleName();
49 private static Visitor<CustomViewActivity> sRootViewVisitor;
69 static void onRootView(@NonNull Visitor<CustomViewActivity> visitor) { in onRootView()
DChildlessActivityTest.java1150 final ActivityLauncher<CustomViewActivity> launcher2 = new ActivityLauncher<>( in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()
1151 sContext, mActivitiesWatcher, CustomViewActivity.class); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()
1153 final CustomViewActivity activity2 = launcher2.launchActivity(); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()