Home
last modified time | relevance | path

Searched refs:GetLcdDensityForDeviceScaleFactor (Results 1 – 8 of 8) sorted by relevance

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/arc/
H A Darc_util_unittest.cc253 EXPECT_EQ(160, GetLcdDensityForDeviceScaleFactor(1.0f)); in TEST_F()
254 EXPECT_EQ(160, GetLcdDensityForDeviceScaleFactor(1.25f)); in TEST_F()
255 EXPECT_EQ(213, GetLcdDensityForDeviceScaleFactor(1.6f)); in TEST_F()
257 EXPECT_EQ(240, GetLcdDensityForDeviceScaleFactor(2.0f)); in TEST_F()
262 EXPECT_EQ(160, GetLcdDensityForDeviceScaleFactor(0.5f)); in TEST_F()
263 EXPECT_EQ(160, GetLcdDensityForDeviceScaleFactor(-0.1f)); in TEST_F()
264 EXPECT_EQ(180, GetLcdDensityForDeviceScaleFactor(1.5f)); in TEST_F()
265 EXPECT_EQ(1200, GetLcdDensityForDeviceScaleFactor(10.f)); in TEST_F()
269 EXPECT_EQ(280, GetLcdDensityForDeviceScaleFactor(1.234f)); in TEST_F()
272 EXPECT_EQ(120, GetLcdDensityForDeviceScaleFactor(1.234f)); in TEST_F()
[all …]
H A Darc_util.h150 int32_t GetLcdDensityForDeviceScaleFactor(float device_scale_factor);
H A Darc_util.cc307 int32_t GetLcdDensityForDeviceScaleFactor(float device_scale_factor) { in GetLcdDensityForDeviceScaleFactor() function
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/arc/
H A Darc_util_unittest.cc263 EXPECT_EQ(160, GetLcdDensityForDeviceScaleFactor(1.0f)); in TEST_F()
264 EXPECT_EQ(160, GetLcdDensityForDeviceScaleFactor(1.25f)); in TEST_F()
265 EXPECT_EQ(213, GetLcdDensityForDeviceScaleFactor(1.6f)); in TEST_F()
267 EXPECT_EQ(240, GetLcdDensityForDeviceScaleFactor(2.0f)); in TEST_F()
269 EXPECT_EQ(280, GetLcdDensityForDeviceScaleFactor(2.4f)); in TEST_F()
273 EXPECT_EQ(160, GetLcdDensityForDeviceScaleFactor(0.5f)); in TEST_F()
274 EXPECT_EQ(160, GetLcdDensityForDeviceScaleFactor(-0.1f)); in TEST_F()
275 EXPECT_EQ(180, GetLcdDensityForDeviceScaleFactor(1.5f)); in TEST_F()
276 EXPECT_EQ(1200, GetLcdDensityForDeviceScaleFactor(10.f)); in TEST_F()
280 EXPECT_EQ(280, GetLcdDensityForDeviceScaleFactor(1.234f)); in TEST_F()
[all …]
H A Darc_util.h155 int32_t GetLcdDensityForDeviceScaleFactor(float device_scale_factor);
H A Darc_util.cc297 int32_t GetLcdDensityForDeviceScaleFactor(float device_scale_factor) { in GetLcdDensityForDeviceScaleFactor() function
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/arc/session/
H A Darc_session_impl.cc180 GetLcdDensityForDeviceScaleFactor(default_scale_factor)); in GetLcdDensity()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/arc/session/
H A Darc_session_impl.cc180 GetLcdDensityForDeviceScaleFactor(default_scale_factor)); in GetLcdDensity()