Searched refs:newOrientation (Results 1 – 2 of 2) sorted by relevance
66 final int newOrientation = originalOrientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT in getOrientations() local69 return new int[] { originalOrientation, newOrientation }; in getOrientations()
358 int newOrientation; in testGetRearDisplayMetrics_afterRotation() local361 newOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; in testGetRearDisplayMetrics_afterRotation()362 mActivity.setRequestedOrientation(newOrientation); in testGetRearDisplayMetrics_afterRotation()364 newOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; in testGetRearDisplayMetrics_afterRotation()365 mActivity.setRequestedOrientation(newOrientation); in testGetRearDisplayMetrics_afterRotation()367 waitAndAssert(() -> mActivity.getRequestedOrientation() == newOrientation); in testGetRearDisplayMetrics_afterRotation()