Searched refs:getRequestedOrientation (Results 1 – 3 of 3) sorted by relevance
487 …assertThat(activity.getRequestedOrientation()).isEqualTo(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in shouldSetOrientation()738 assertEquals(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, activity.getRequestedOrientation()); in getAndSetRequestedOrientation_shouldRemember()747 assertEquals(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, activity.getRequestedOrientation()); in getAndSetRequestedOrientation_shouldDelegateToParentIfPresent()749 …quals(ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE, parentActivity.getRequestedOrientation()); in getAndSetRequestedOrientation_shouldDelegateToParentIfPresent()
900 getRequestedOrientation(), newConfig.orientation)); in onConfigurationChanged()903 …(newConfig.orientation != Configuration.ORIENTATION_LANDSCAPE && getRequestedOrientation() == Acti… in onConfigurationChanged()904 … (newConfig.orientation != Configuration.ORIENTATION_PORTRAIT && getRequestedOrientation() == Acti… in onConfigurationChanged()
456 protected int getRequestedOrientation() { in getRequestedOrientation() method in ShadowActivity458 return getParent().getRequestedOrientation(); in getRequestedOrientation()