Lines Matching refs:deviceInfo
43 DeviceDisplayInfo deviceInfo =
47 assertEquals(deviceInfo.getDisplayWidth(), actualWidth, 10f);
49 float displayWidth = (deviceInfo.getDisplayWidth());
50 float deviceDpi = (float) (160f * deviceInfo.getDIPScale());
78 DeviceDisplayInfo deviceInfo =
81 float displayWidth = (float) (deviceInfo.getDisplayWidth() / deviceInfo.getDIPScale());
104 DeviceDisplayInfo deviceInfo =
107 float displayWidth = (float) (deviceInfo.getDisplayWidth() / deviceInfo.getDIPScale());
133 DeviceDisplayInfo deviceInfo =
135 float dipScale = (float) deviceInfo.getDIPScale();
136 float physicalDisplayWidth = deviceInfo.getPhysicalDisplayWidth() != 0 ?
137 deviceInfo.getPhysicalDisplayWidth() :
138 deviceInfo.getDisplayWidth();
140 float physicalDisplayHeight = deviceInfo.getPhysicalDisplayHeight() != 0 ?
141 deviceInfo.getPhysicalDisplayHeight() :
142 deviceInfo.getDisplayHeight();