Searched refs:currentOrientation (Results 1 – 4 of 4) sorted by relevance
336 int currentOrientation = (currentRotation + indexOffset); in getDeviceRotation() local339 int difference = (currentOrientation - defaultOrientation) % ORIENTATION_COUNT; in getDeviceRotation()
171 int currentOrientation = activity.getResources().getConfiguration().orientation; in getRotation() local172 if (currentOrientation == ORIENTATION_PORTRAIT) { in getRotation()
199 int currentOrientation = activity.getResources().getConfiguration().orientation; in getRequestedOrientation() local200 return currentOrientation == ORIENTATION_LANDSCAPE ? ORIENTATION_PORTRAIT in getRequestedOrientation()
1787 int currentOrientation = mActivity.getResources().getConfiguration().orientation; in testClipToScreenClipsToInsets() local1788 if (currentOrientation == Configuration.ORIENTATION_LANDSCAPE in testClipToScreenClipsToInsets()2029 int currentOrientation = mActivity.getResources().getConfiguration().orientation; in testFocusAfterOrientation() local2030 if (currentOrientation == Configuration.ORIENTATION_LANDSCAPE) { in testFocusAfterOrientation()