Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowActivityTest.java487 …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()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java900 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()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivity.java456 protected int getRequestedOrientation() { in getRequestedOrientation() method in ShadowActivity
458 return getParent().getRequestedOrientation(); in getRequestedOrientation()