Searched refs:displayDeviceInfo (Results 1 – 3 of 3) sorted by relevance
204 DisplayDeviceInfo displayDeviceInfo = mListener.addedDisplays.get( in testAfterDisplayChange_ModesAreUpdated() local207 assertThat(displayDeviceInfo.supportedModes.length).isEqualTo(configs.length); in testAfterDisplayChange_ModesAreUpdated()208 assertModeIsSupported(displayDeviceInfo.supportedModes, displayInfo); in testAfterDisplayChange_ModesAreUpdated()210 Display.Mode defaultMode = getModeById(displayDeviceInfo, displayDeviceInfo.defaultModeId); in testAfterDisplayChange_ModesAreUpdated()214 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ModesAreUpdated()236 displayDeviceInfo = displayDevice.getDisplayDeviceInfoLocked(); in testAfterDisplayChange_ModesAreUpdated()238 assertThat(displayDeviceInfo.supportedModes.length).isEqualTo(configs.length); in testAfterDisplayChange_ModesAreUpdated()239 assertModeIsSupported(displayDeviceInfo.supportedModes, displayInfo); in testAfterDisplayChange_ModesAreUpdated()240 assertModeIsSupported(displayDeviceInfo.supportedModes, addedDisplayInfo); in testAfterDisplayChange_ModesAreUpdated()242 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ModesAreUpdated()[all …]
47 DisplayDeviceInfo displayDeviceInfo = new DisplayDeviceInfo(); in setUp() local48 displayDeviceInfo.width = DISPLAY_WIDTH; in setUp()49 displayDeviceInfo.height = DISPLAY_HEIGHT; in setUp()50 displayDeviceInfo.flags = DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT; in setUp()52 when(mDisplayDevice.getDisplayDeviceInfoLocked()).thenReturn(displayDeviceInfo); in setUp()
395 final DisplayDeviceInfo displayDeviceInfo = device.getDisplayDeviceInfoLocked(); in configureDisplayLocked() local406 if ((displayDeviceInfo.flags & DisplayDeviceInfo.FLAG_ROTATES_WITH_CONTENT) != 0) { in configureDisplayLocked()411 orientation = (orientation + displayDeviceInfo.rotation) % 4; in configureDisplayLocked()420 int physWidth = rotated ? displayDeviceInfo.height : displayDeviceInfo.width; in configureDisplayLocked()421 int physHeight = rotated ? displayDeviceInfo.width : displayDeviceInfo.height; in configureDisplayLocked()423 Rect maskingInsets = getMaskingInsets(displayDeviceInfo); in configureDisplayLocked()