Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DDeviceConfig.java22 public static final ScreenSize DEFAULT_SCREEN_SIZE = ScreenSize.normal;
28 public enum ScreenSize { enum in DeviceConfig
40 ScreenSize(int width, int height, int configValue) { in ScreenSize() method in DeviceConfig.ScreenSize
64 static ScreenSize find(int configValue) { in find()
81 static ScreenSize match(int x, int y) { in match()
82 ScreenSize bestMatch = small; in match()
84 for (ScreenSize screenSize : values()) { in match()
264 ScreenSize requestedScreenSize = getScreenSize(configuration); in applyRules()
297 ScreenSize screenSize = in applyRules()
298 ScreenSize.match(configuration.screenWidthDp, configuration.screenHeightDp); in applyRules()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
DParallelUniverseTest.java32 import org.robolectric.android.DeviceConfig.ScreenSize;
228 assertThat(configuration.screenWidthDp).isEqualTo(ScreenSize.xlarge.width); in whenDimensAndSizeSpecified_setQualifiers_should()
229 assertThat(configuration.screenHeightDp).isEqualTo(ScreenSize.xlarge.height); in whenDimensAndSizeSpecified_setQualifiers_should()
230 assertThat(DeviceConfig.getScreenSize(configuration)).isEqualTo(ScreenSize.xlarge); in whenDimensAndSizeSpecified_setQualifiers_should()
/external/webrtc/webrtc/modules/video_coding/test/
Dsubfigure.m16 scrsz = get(0,'ScreenSize'); % get screen size