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.java486 …assertThat(activity.getRequestedOrientation()).isEqualTo(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in shouldSetOrientation()
737 assertEquals(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, activity.getRequestedOrientation()); in getAndSetRequestedOrientation_shouldRemember()
746 assertEquals(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, activity.getRequestedOrientation()); in getAndSetRequestedOrientation_shouldDelegateToParentIfPresent()
748 …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.java418 protected int getRequestedOrientation() { in getRequestedOrientation() method in ShadowActivity
420 return getParent().getRequestedOrientation(); in getRequestedOrientation()