Home
last modified time | relevance | path

Searched refs:outputState (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/battery/ui/
DBatterySaverTileMapperTest.kt60 val outputState = mapper.map(batterySaverTileConfig, inputModel) in map_standard_notPluggedInNotPowerSaving() constant
69 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in map_standard_notPluggedInNotPowerSaving()
76 val outputState = mapper.map(batterySaverTileConfig, inputModel) in map_standard_notPluggedInPowerSaving() constant
85 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in map_standard_notPluggedInPowerSaving()
92 val outputState = mapper.map(batterySaverTileConfig, inputModel) in map_standard_pluggedInPowerSaving() constant
101 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in map_standard_pluggedInPowerSaving()
108 val outputState = mapper.map(batterySaverTileConfig, inputModel) in map_standard_pluggedInNotPowerSaving() constant
117 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in map_standard_pluggedInNotPowerSaving()
124 val outputState = mapper.map(batterySaverTileConfig, inputModel) in map_extremeSaverDisabledNotPluggedInNotPowerSaving() constant
133 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in map_extremeSaverDisabledNotPluggedInNotPowerSaving()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/night/ui/
DNightDisplayTileMapperTest.kt71 val outputState = mapper.map(config, inputModel) in disabledModel_whenAutoModeOff() constant
78 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in disabledModel_whenAutoModeOff()
86 val outputState = mapper.map(config, inputModel) in disabledModel_whenAutoModeOff_whenForceEnable() constant
93 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in disabledModel_whenAutoModeOff_whenForceEnable()
100 val outputState = mapper.map(config, inputModel) in enabledModel_whenAutoModeOff() constant
107 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in enabledModel_whenAutoModeOff()
114 val outputState = mapper.map(config, inputModel) in enabledModel_forceAutoMode_whenAutoModeOff() constant
121 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in enabledModel_forceAutoMode_whenAutoModeOff()
128 val outputState = mapper.map(config, inputModel) in enabledModel_autoModeTwilight_locationOff() constant
131 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in enabledModel_autoModeTwilight_locationOff()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp132 auto& outputState = editState(); in setCompositionEnabled() local
133 if (outputState.isEnabled == enabled) { in setCompositionEnabled()
137 outputState.isEnabled = enabled; in setCompositionEnabled()
172 auto& outputState = editState(); in setProjection() local
174 outputState.displaySpace.setOrientation(orientation); in setProjection()
175 LOG_FATAL_IF(outputState.displaySpace.getBoundsAsRect() == Rect::INVALID_RECT, in setProjection()
179 ui::Size orientedSize = outputState.displaySpace.getBounds(); in setProjection()
183 outputState.orientedDisplaySpace.setBounds(orientedSize); in setProjection()
184 outputState.orientedDisplaySpace.setContent(orientedDisplaySpaceRect); in setProjection()
190 const auto displaySize = outputState.displaySpace.getBoundsAsRect(); in setProjection()
[all …]
DOutputLayer.cpp186 const auto& outputState = getOutput().getState(); in calculateOutputDisplayFrame() local
197 if (!activeCrop.intersect(outputState.layerStackSpace.getContent(), &activeCrop)) { in calculateOutputDisplayFrame()
233 if (!frame.intersect(outputState.layerStackSpace.getContent(), &frame)) { in calculateOutputDisplayFrame()
236 const ui::Transform displayTransform{outputState.transform}; in calculateOutputDisplayFrame()
244 const auto& outputState = getOutput().getState(); in calculateOutputRelativeBufferTransform() local
254 const ui::Transform displayTransform{outputState.transform}; in calculateOutputRelativeBufferTransform()
291 const auto& outputState = getOutput().getState(); in updateCompositionState() local
308 if ((layerFEState->isSecure && !outputState.isSecure) || in updateCompositionState()
319 getHdrRenderType(outputState.dataspace, pixelFormat, layerFEState->desiredHdrSdrRatio); in updateCompositionState()
327 ? outputState.dataspace in updateCompositionState()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/
DAlarmTileMapperTest.kt67 val outputState = mapper.map(alarmTileConfig, inputModel) in notAlarmSet() constant
74 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in notAlarmSet()
83 val outputState = mapper.map(alarmTileConfig, inputModel) in nextAlarmSet24HourFormat() constant
93 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in nextAlarmSet24HourFormat()
102 val outputState = mapper.map(alarmTileConfig, inputModel) in nextAlarmSet12HourFormat() constant
112 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in nextAlarmSet12HourFormat()
122 val outputState = mapper.map(alarmTileConfig, inputModel) in nextAlarmSetMoreThanAWeekLater_mapsSecondaryLabelToDisplayDateOnly() constant
132 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in nextAlarmSetMoreThanAWeekLater_mapsSecondaryLabelToDisplayDateOnly()
142 val outputState = mapper.map(alarmTileConfig, inputModel) in nextAlarmSetOneMinuteLessThanAWeekLater_mapsSecondaryLabelToDisplayTime() constant
152 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in nextAlarmSetOneMinuteLessThanAWeekLater_mapsSecondaryLabelToDisplayTime()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/rotation/ui/mapper/
DRotationLockTileMapperTest.kt75 val outputState = mapper.map(rotationLockTileConfig, inputModel) in rotationNotLocked_cameraRotationDisabled() constant
83 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in rotationNotLocked_cameraRotationDisabled()
90 val outputState = mapper.map(rotationLockTileConfig, inputModel) in rotationNotLocked_cameraRotationEnabled() constant
98 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in rotationNotLocked_cameraRotationEnabled()
105 val outputState = mapper.map(rotationLockTileConfig, inputModel) in rotationLocked_cameraRotationNotEnabled() constant
113 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in rotationLocked_cameraRotationNotEnabled()
121 val outputState = mapper.map(rotationLockTileConfig, inputModel) in deviceFoldableAndClosed_secondaryLabelIsFoldableSpecific() constant
131 val actualSecondaryLabel = outputState.secondaryLabel in deviceFoldableAndClosed_secondaryLabelIsFoldableSpecific()
143 val outputState = mapper.map(rotationLockTileConfig, inputModel) in deviceFoldableAndNotClosed_secondaryLabelIsFoldableSpecific() constant
153 val actualSecondaryLabel = outputState.secondaryLabel in deviceFoldableAndNotClosed_secondaryLabelIsFoldableSpecific()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/sensorprivacy/ui/
DSensorPrivacyToggleTileMapperTest.kt51 val outputState = mapper.map(cameraConfig, inputModel) in mapCamera_notBlocked() constant
61 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in mapCamera_notBlocked()
69 val outputState = mapper.map(cameraConfig, inputModel) in mapCamera_blocked() constant
79 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in mapCamera_blocked()
87 val outputState = mapper.map(micConfig, inputModel) in mapMic_notBlocked() constant
97 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in mapMic_notBlocked()
105 val outputState = mapper.map(micConfig, inputModel) in mapMic_blocked() constant
115 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in mapMic_blocked()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/screenrecord/ui/
DScreenRecordTileMapperTest.kt63 val outputState = mapper.map(config, inputModel) in activeStateMatchesRecordingDataModel() constant
71 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in activeStateMatchesRecordingDataModel()
79 val outputState = mapper.map(config, inputModel) in activeStateMatchesStartingDataModel() constant
87 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in activeStateMatchesStartingDataModel()
94 val outputState = mapper.map(config, inputModel) in inactiveStateMatchesDisabledDataModel() constant
102 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in inactiveStateMatchesDisabledDataModel()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DCachedSet.cpp161 const OutputCompositionState& outputState, in render() argument
164 if (outputState.powerCallback) { in render()
165 outputState.powerCallback->notifyCpuLoadUp(); in render()
167 const Rect& viewport = outputState.layerStackSpace.getContent(); in render()
168 const ui::Dataspace& outputDataspace = outputState.dataspace; in render()
170 ui::Transform::toRotationFlags(outputState.framebufferSpace.getOrientation()); in render()
173 .physicalDisplay = outputState.framebufferSpace.getContent(), in render()
176 .colorTransform = outputState.colorTransformMatrix, in render()
179 .targetLuminanceNits = outputState.displayBrightnessNits, in render()
185 .isSecure = outputState.isSecure, in render()
[all …]
DPlanner.cpp204 void Planner::renderCachedSets(const OutputCompositionState& outputState, in renderCachedSets() argument
208 mFlattener.renderCachedSets(outputState, renderDeadline, deviceHandlesColorTransform); in renderCachedSets()
DFlattener.cpp113 const OutputCompositionState& outputState, in renderCachedSets() argument
152 mNewCachedSet->render(mRenderEngine, mTexturePool, outputState, deviceHandlesColorTransform); in renderCachedSets()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/colorcorrection/domain/
DColorCorrectionTileMapperTest.kt56 val outputState = mapper.map(colorCorrectionTileConfig, inputModel) in disabledModel() constant
60 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in disabledModel()
67 val outputState = mapper.map(colorCorrectionTileConfig, inputModel) in enabledModel() constant
71 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in enabledModel()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/qr/ui/
DQRCodeScannerTileMapperTest.kt65 val outputState = mapper.map(config, inputModel) in availableModel() constant
72 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in availableModel()
79 val outputState = mapper.map(config, inputModel) in temporarilyUnavailableModel() constant
88 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in temporarilyUnavailableModel()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/reducebrightness/ui/
DReduceBrightColorsTileMapperTest.kt62 val outputState = mapper.map(config, inputModel) in disabledModel() constant
68 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in disabledModel()
75 val outputState = mapper.map(config, inputModel) in enabledModel() constant
78 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in enabledModel()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/inversion/domain/
DColorInversionTileMapperTest.kt60 val outputState = mapper.map(colorInversionTileConfig, inputModel) in disabledModel() constant
68 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in disabledModel()
75 val outputState = mapper.map(colorInversionTileConfig, inputModel) in enabledModel() constant
83 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in enabledModel()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/onehanded/ui/
DOneHandedModeTileMapperTest.kt66 val outputState = mapper.map(config, inputModel) in disabledModel() constant
74 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in disabledModel()
81 val outputState = mapper.map(config, inputModel) in enabledModel() constant
89 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in enabledModel()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/saver/domain/
DDataSaverTileMapperTest.kt57 val outputState = mapper.map(dataSaverTileConfig, inputModel) in activeStateMatchesEnabledModel() constant
64 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in activeStateMatchesEnabledModel()
71 val outputState = mapper.map(dataSaverTileConfig, inputModel) in inactiveStateMatchesDisabledModel() constant
78 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in inactiveStateMatchesDisabledModel()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/
DInternetTileMapperTest.kt66 val outputState = mapper.map(internetTileConfig, inputModel) in withActiveModel_mappedStateMatchesDataModel() constant
76 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in withActiveModel_mappedStateMatchesDataModel()
90 val outputState = mapper.map(internetTileConfig, inputModel) in withInactiveModel_mappedStateMatchesDataModel() constant
103 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in withInactiveModel_mappedStateMatchesDataModel()
/frameworks/native/services/surfaceflinger/
DScreenCaptureOutput.cpp75 auto& outputState = editState(); in updateColorProfile() local
76 outputState.dataspace = mColorProfile.dataspace; in updateColorProfile()
77 outputState.renderIntent = mColorProfile.renderIntent; in updateColorProfile()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/
DFontScalingTileMapperTest.kt53 val outputState = mapper.map(fontScalingTileConfig, inputModel) in activeStateMatchesEnabledModel() constant
56 QSTileStateSubject.assertThat(outputState).isEqualTo(expectedState) in activeStateMatchesEnabledModel()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DPlanner.h67 void renderCachedSets(const OutputCompositionState& outputState,
DCachedSet.h118 const OutputCompositionState& outputState, bool deviceHandlesColorTransform);
DFlattener.h108 void renderCachedSets(const OutputCompositionState& outputState,