Lines Matching refs:ui
147 ASSERT_EQ(ui::ColorMode::NATIVE, mDisplay.getState().colorMode); in TEST_F()
148 ASSERT_EQ(ui::Dataspace::UNKNOWN, mDisplay.getState().dataspace); in TEST_F()
149 ASSERT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay.getState().renderIntent); in TEST_F()
152 mDisplay.setColorMode(ui::ColorMode::NATIVE, ui::Dataspace::UNKNOWN, in TEST_F()
153 ui::RenderIntent::COLORIMETRIC); in TEST_F()
155 EXPECT_EQ(ui::ColorMode::NATIVE, mDisplay.getState().colorMode); in TEST_F()
156 EXPECT_EQ(ui::Dataspace::UNKNOWN, mDisplay.getState().dataspace); in TEST_F()
157 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay.getState().renderIntent); in TEST_F()
160 EXPECT_CALL(*renderSurface, setBufferDataspace(ui::Dataspace::DISPLAY_P3)).Times(1); in TEST_F()
162 setActiveColorMode(DEFAULT_DISPLAY_ID, ui::ColorMode::DISPLAY_P3, in TEST_F()
163 ui::RenderIntent::TONE_MAP_COLORIMETRIC)) in TEST_F()
166 mDisplay.setColorMode(ui::ColorMode::DISPLAY_P3, ui::Dataspace::DISPLAY_P3, in TEST_F()
167 ui::RenderIntent::TONE_MAP_COLORIMETRIC); in TEST_F()
169 EXPECT_EQ(ui::ColorMode::DISPLAY_P3, mDisplay.getState().colorMode); in TEST_F()
170 EXPECT_EQ(ui::Dataspace::DISPLAY_P3, mDisplay.getState().dataspace); in TEST_F()
171 EXPECT_EQ(ui::RenderIntent::TONE_MAP_COLORIMETRIC, mDisplay.getState().renderIntent); in TEST_F()
178 virtualDisplay.setColorMode(ui::ColorMode::DISPLAY_P3, ui::Dataspace::DISPLAY_P3, in TEST_F()
179 ui::RenderIntent::TONE_MAP_COLORIMETRIC); in TEST_F()
181 EXPECT_EQ(ui::ColorMode::NATIVE, virtualDisplay.getState().colorMode); in TEST_F()
182 EXPECT_EQ(ui::Dataspace::UNKNOWN, virtualDisplay.getState().dataspace); in TEST_F()
183 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, virtualDisplay.getState().renderIntent); in TEST_F()