Searched refs:isAnyPortrait (Results 1 – 3 of 3) sorted by relevance
95 when(mockDisplayRotation.isAnyPortrait(Surface.ROTATION_0)).thenReturn(true); in createDisplayRotationMock()96 when(mockDisplayRotation.isAnyPortrait(Surface.ROTATION_90)).thenReturn(false); in createDisplayRotationMock()97 when(mockDisplayRotation.isAnyPortrait(Surface.ROTATION_180)).thenReturn(true); in createDisplayRotationMock()98 when(mockDisplayRotation.isAnyPortrait(Surface.ROTATION_270)).thenReturn(false); in createDisplayRotationMock()
149 if (mDisplayRotation.isAnyPortrait(rotation)) { in surfaceRotationToConfigurationOrientation()
1381 if (isAnyPortrait(preferredRotation)) { in rotationForOrientation()1395 if (isAnyPortrait(preferredRotation)) { in rotationForOrientation()1421 if (isAnyPortrait(preferredRotation)) { in rotationForOrientation()1424 if (isAnyPortrait(lastRotation)) { in rotationForOrientation()1456 boolean isAnyPortrait(@Surface.Rotation final int rotation) { in isAnyPortrait() method in DisplayRotation