Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DAttachedSurfaceControlTest.java138 int currentOrientation = activity.getResources().getConfiguration().orientation; in getRequestedOrientation() local
139 return currentOrientation == ORIENTATION_LANDSCAPE ? ORIENTATION_PORTRAIT in getRequestedOrientation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
DBaseRenderer.java336 int currentOrientation = (currentRotation + indexOffset); in getDeviceRotation() local
339 int difference = (currentOrientation - defaultOrientation) % ORIENTATION_COUNT; in getDeviceRotation()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java1758 int currentOrientation = mActivity.getResources().getConfiguration().orientation; in testClipToScreenClipsToInsets() local
1759 if (currentOrientation == Configuration.ORIENTATION_LANDSCAPE && orientations.size() > 1) { in testClipToScreenClipsToInsets()
1996 int currentOrientation = mActivity.getResources().getConfiguration().orientation; in testFocusAfterOrientation() local
1997 if (currentOrientation == Configuration.ORIENTATION_LANDSCAPE) { in testFocusAfterOrientation()