Searched refs:currentOrientation (Results 1 – 3 of 3) sorted by relevance
138 int currentOrientation = activity.getResources().getConfiguration().orientation; in getRequestedOrientation() local139 return currentOrientation == ORIENTATION_LANDSCAPE ? ORIENTATION_PORTRAIT in getRequestedOrientation()
336 int currentOrientation = (currentRotation + indexOffset); in getDeviceRotation() local339 int difference = (currentOrientation - defaultOrientation) % ORIENTATION_COUNT; in getDeviceRotation()
1758 int currentOrientation = mActivity.getResources().getConfiguration().orientation; in testClipToScreenClipsToInsets() local1759 if (currentOrientation == Configuration.ORIENTATION_LANDSCAPE && orientations.size() > 1) { in testClipToScreenClipsToInsets()1996 int currentOrientation = mActivity.getResources().getConfiguration().orientation; in testFocusAfterOrientation() local1997 if (currentOrientation == Configuration.ORIENTATION_LANDSCAPE) { in testFocusAfterOrientation()