Searched refs:parentActivity (Results 1 – 1 of 1) sorted by relevance
727 Activity parentActivity = new Activity(); in getAndSetParentActivity_shouldWorkForTestingPurposes() local729 shadowOf(activity).setParent(parentActivity); in getAndSetParentActivity_shouldWorkForTestingPurposes()730 assertSame(parentActivity, activity.getParent()); in getAndSetParentActivity_shouldWorkForTestingPurposes()742 Activity parentActivity = new Activity(); in getAndSetRequestedOrientation_shouldDelegateToParentIfPresent() local744 shadowOf(activity).setParent(parentActivity); in getAndSetRequestedOrientation_shouldDelegateToParentIfPresent()745 parentActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in getAndSetRequestedOrientation_shouldDelegateToParentIfPresent()748 …assertEquals(ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE, parentActivity.getRequestedOrienta… in getAndSetRequestedOrientation_shouldDelegateToParentIfPresent()