Home
last modified time | relevance | path

Searched refs:appWidth (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/internal/
DDisplayConfig.java78 public int appWidth; field in DisplayConfig
252 appWidth = other.appWidth; in DisplayConfig()
304 && appWidth == other.appWidth in equals()
341 appWidth = other.appWidth; in copyFrom()
379 other.appWidth = appWidth; in copyTo()
427 sb.append(appWidth); in toString()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDisplayManagerTest.java54 int origAppWidth = displayInfo.appWidth; in getDisplayInfo_shouldReturnCopy()
55 displayInfo.appWidth++; in getDisplayInfo_shouldReturnCopy()
56 assertThat(getGlobal().getDisplayInfo(Display.DEFAULT_DISPLAY).appWidth) in getDisplayInfo_shouldReturnCopy()
94 assertThat(di.appWidth).isEqualTo(100); in addDisplay()
225 displayInfo.appWidth = width; in createDisplayInfo()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplayManager.java58 displayInfo.appWidth = widthPx; in createDisplayInfo()
88 int smallest = Math.min(displayInfo.appWidth, displayInfo.appHeight); in fixNominalDimens()
89 int largest = Math.max(displayInfo.appWidth, displayInfo.appHeight); in fixNominalDimens()
DShadowDisplayManagerGlobal.java58 int min = Math.min(displayInfo.appWidth, displayInfo.appHeight); in fixNominalDimens()
59 int max = Math.max(displayInfo.appWidth, displayInfo.appHeight); in fixNominalDimens()
DShadowDisplay.java284 di -> di.appWidth = width); in setWidth()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DBootstrapTest.java88 assertThat(displayInfo.appWidth).isEqualTo(480); in shouldSetUpRealisticDisplay()
123 assertThat(displayInfo.appWidth).isEqualTo(960); in shouldSetUpRealisticDisplay_landscapeHighDensity()