Searched refs:ScreenSize (Results 1 – 3 of 3) sorted by relevance
22 public static final ScreenSize DEFAULT_SCREEN_SIZE = ScreenSize.normal;28 public enum ScreenSize { enum in DeviceConfig40 ScreenSize(int width, int height, int configValue) { in ScreenSize() method in DeviceConfig.ScreenSize64 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 …]
32 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()
16 scrsz = get(0,'ScreenSize'); % get screen size