Home
last modified time | relevance | path

Searched refs:getSmallestScreenWidth (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/
DQualifiersTest.java63 @Test public void getSmallestScreenWidth() { in getSmallestScreenWidth() method in QualifiersTest
64 assertThat(Qualifiers.getSmallestScreenWidth("sw320dp")).isEqualTo(320); in getSmallestScreenWidth()
65 assertThat(Qualifiers.getSmallestScreenWidth("sw320dp-v7")).isEqualTo(320); in getSmallestScreenWidth()
66 assertThat(Qualifiers.getSmallestScreenWidth("en-rUS-sw320dp")).isEqualTo(320); in getSmallestScreenWidth()
67 assertThat(Qualifiers.getSmallestScreenWidth("en-rUS-sw320dp-v7")).isEqualTo(320); in getSmallestScreenWidth()
68 assertThat(Qualifiers.getSmallestScreenWidth("en-rUS-v7")).isEqualTo(-1); in getSmallestScreenWidth()
69 assertThat(Qualifiers.getSmallestScreenWidth("en-rUS-w320dp-v7")).isEqualTo(-1); in getSmallestScreenWidth()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DQualifiers.java81 public static int getSmallestScreenWidth(String qualifiers) { in getSmallestScreenWidth() method in Qualifiers
118 int qualifiersSmallestScreenWidth = Qualifiers.getSmallestScreenWidth(qualifiers); in addSmallestScreenWidth()